Qt 4.7: calculator.pro Example File (widgets/calculator/calculator.pro)

Qt Reference Documentation

# calculator.pro Example File

widgets/calculator/calculator.pro

     HEADERS       = button.h \
                     calculator.h
     SOURCES       = button.cpp \
                     calculator.cpp \
                     main.cpp

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

     symbian {
         TARGET.UID3 = 0xA000C602
         include($$QT_SOURCE_TREE/examples/symbianpkgrules.pri)
     }