Qt Reference Documentation

simpledecoration.pro Example File

qws/simpledecoration/simpledecoration.pro
 TEMPLATE  = app
 HEADERS   = analogclock.h \
             mydecoration.h
 SOURCES   = analogclock.cpp \
             main.cpp \
             mydecoration.cpp

 # install
 target.path = $$[QT_INSTALL_EXAMPLES]/qws/simpledecoration
 sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS *.pro
 sources.path = $$[QT_INSTALL_EXAMPLES]/qws/simpledecoration
 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 might not fully work on Maemo platform)
 simulator: warning(This example does not work on Simulator platform)