Qt Reference Documentation

simpletextviewer.pro Example File

help/simpletextviewer/simpletextviewer.pro
 HEADERS       = mainwindow.h \
                 findfiledialog.h \
                 assistant.h \
                 textedit.h
 SOURCES       = main.cpp \
                 mainwindow.cpp \
                 findfiledialog.cpp \
                 assistant.cpp \
                 textedit.cpp

 # install
 target.path = $$[QT_INSTALL_EXAMPLES]/help/simpletextviewer
 sources.files = $$SOURCES $$HEADERS $$RESOURCES documentation *.pro
 sources.path = $$[QT_INSTALL_EXAMPLES]/help/simpletextviewer
 INSTALLS += target sources

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

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