Qt Reference Documentation

# menus.pro Example File

mainwindows/menus/menus.pro

     HEADERS       = mainwindow.h
     SOURCES       = mainwindow.cpp \
                     main.cpp

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

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