Qt Reference Documentation

- Qt 4.8
- ALL VERSIONS

- A
- A
- A
- Print

# basicdrawing.pro Example File

painting/basicdrawing/basicdrawing.pro

     HEADERS       = renderarea.h \
                     window.h
     SOURCES       = main.cpp \
                     renderarea.cpp \
                     window.cpp
     RESOURCES     = basicdrawing.qrc

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

     symbian {
         TARGET.UID3 = 0xA000A649
         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)