- Qt 5.5
- Qt Widgets
- Text Codecs Example
- codecs.pro Example File
- Qt 5.5.1 Reference Documentation

# codecs.pro Example File

tools/codecs/codecs.pro

    QT += widgets

    HEADERS      += mainwindow.h \
                    previewform.h
    SOURCES      += main.cpp \
                    mainwindow.cpp \
                    previewform.cpp

    EXAMPLE_FILES = encodedfiles

    # install
    target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tools/codecs
    INSTALLS += target