Qt Reference Documentation

stylewindow.pro Example File

tools/styleplugin/stylewindow/stylewindow.pro
 HEADERS    = stylewindow.h
 SOURCES    = stylewindow.cpp \
              main.cpp

 TARGET     = styleplugin
 win32 {
     debug:DESTDIR = ../debug/
     release:DESTDIR = ../release/
 } else {
     DESTDIR    = ../
 }

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

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