Qt Reference Documentation

semaphores.pro Example File

threads/semaphores/semaphores.pro
 SOURCES += semaphores.cpp
 QT = core gui

 CONFIG -= app_bundle
 CONFIG += console

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

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

 simulator: warning(This example might not fully work on Simulator platform)