Qt 4.8: customcompleter.pro Example File (tools/customcompleter/customcompleter.pro)

Qt Reference Documentation

# customcompleter.pro Example File

tools/customcompleter/customcompleter.pro

     HEADERS   = mainwindow.h \
                 textedit.h
     SOURCES   = main.cpp \
                 mainwindow.cpp \
                 textedit.cpp
     RESOURCES = customcompleter.qrc

     # install
     target.path = $$[QT_INSTALL_EXAMPLES]/tools/customcompleter
     sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS customcompleter.pro resources
     sources.path = $$[QT_INSTALL_EXAMPLES]/tools/customcompleter
     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)