Qt Reference Documentation

# trollprint.pro Example File

linguist/trollprint/trollprint.pro

     HEADERS       = mainwindow.h \
                     printpanel.h
     SOURCES       = main.cpp \
                     mainwindow.cpp \
                     printpanel.cpp
     TRANSLATIONS  = trollprint_pt.ts

     # install
     target.path = $$[QT_INSTALL_EXAMPLES]/linguist/trollprint
     sources.files = $$SOURCES $$HEADERS $$TRANSLATIONS *.pro
     sources.path = $$[QT_INSTALL_EXAMPLES]/linguist/trollprint
     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)