diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2018-11-12 15:18:12 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2018-11-30 10:00:04 +0000 |
commit | 7aaf54f5725c65bf830088a9cfd104ef4817f256 (patch) | |
tree | 34581b8df8e0415bc5ee47850c30dcd1900ae923 /examples/widgets/tools/codecs/codecs.pro | |
parent | c3a963da1f9e7b1d37e63eedded61da4fbdaaf9a (diff) |
Codecs example: Add a dialog for showing common C++ encodings
Add a dialog where the user can enter a line of text, which is then
displayed in several encodings with special characters converted
suitable for C++/Python string literals.
Task-number: QTBUG-60635
Change-Id: Ibd436f9f76e128c93cbb581235c730d636641d8a
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
Diffstat (limited to 'examples/widgets/tools/codecs/codecs.pro')
-rw-r--r-- | examples/widgets/tools/codecs/codecs.pro | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/examples/widgets/tools/codecs/codecs.pro b/examples/widgets/tools/codecs/codecs.pro index 13daa79237..6f4b0742a9 100644 --- a/examples/widgets/tools/codecs/codecs.pro +++ b/examples/widgets/tools/codecs/codecs.pro @@ -2,10 +2,15 @@ QT += widgets requires(qtConfig(filedialog)) HEADERS += mainwindow.h \ - previewform.h + previewform.h \ + encodingdialog.h + SOURCES += main.cpp \ mainwindow.cpp \ - previewform.cpp + previewform.cpp \ + encodingdialog.cpp + +RESOURCES += codecs.qrc EXAMPLE_FILES = encodedfiles |