Qt 4.8: composition.pro Example File (demos/composition/composition.pro)

Qt Reference Documentation

- Qt 4.8
- ALL VERSIONS

- A
- A
- A
- Print

# composition.pro Example File

demos/composition/composition.pro

     SOURCES += main.cpp composition.cpp
     HEADERS += composition.h

     SHARED_FOLDER = ../shared

     include($$SHARED_FOLDER/shared.pri)

     RESOURCES += composition.qrc
     contains(QT_CONFIG, opengl) {
             DEFINES += QT_OPENGL_SUPPORT
             QT += opengl
     }

     # install
     target.path = $$[QT_INSTALL_DEMOS]/composition
     sources.files = $$SOURCES $$HEADERS $$RESOURCES *.png *.jpg *.pro *.html
     sources.path = $$[QT_INSTALL_DEMOS]/composition
     INSTALLS += target sources

     symbian: include($$QT_SOURCE_TREE/demos/symbianpkgrules.pri)

     win32-msvc* {
         QMAKE_CXXFLAGS += /Zm500
         QMAKE_CFLAGS += /Zm500
     }

     wince* {
         DEPLOYMENT_PLUGIN += qjpeg
     }