Qt Reference Documentation

# collidingmice.pro Example File

graphicsview/collidingmice/collidingmice.pro

     HEADERS += \
             mouse.h
     SOURCES += \
             main.cpp \
             mouse.cpp

     RESOURCES += \
             mice.qrc

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

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