7aaf54f572
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>
20 lines
419 B
Prolog
20 lines
419 B
Prolog
QT += widgets
|
|
requires(qtConfig(filedialog))
|
|
|
|
HEADERS += mainwindow.h \
|
|
previewform.h \
|
|
encodingdialog.h
|
|
|
|
SOURCES += main.cpp \
|
|
mainwindow.cpp \
|
|
previewform.cpp \
|
|
encodingdialog.cpp
|
|
|
|
RESOURCES += codecs.qrc
|
|
|
|
EXAMPLE_FILES = encodedfiles
|
|
|
|
# install
|
|
target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tools/codecs
|
|
INSTALLS += target
|