Qt Reference Documentation

# codecs.pro Example File

tools/codecs/codecs.pro

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

     # install
     target.path = $$[QT_INSTALL_EXAMPLES]/tools/codecs
     sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS encodedfiles codecs.pro
     sources.path = $$[QT_INSTALL_EXAMPLES]/tools/codecs
     INSTALLS += target sources

     symbian: include($$QT_SOURCE_TREE/examples/symbianpkgrules.pri)
     maemo5: include($$QT_SOURCE_TREE/examples/maemo5pkgrules.pri)

     symbian: warning(This example might not fully work on Symbian platform)
     maemo5: warning(This example might not fully work on Maemo platform)
     simulator: warning(This example might not fully work on Simulator platform)