Qt Reference Documentation

# calculatorform.pro Example File

designer/calculatorform/calculatorform.pro

     HEADERS     = calculatorform.h
     FORMS       = calculatorform.ui
     SOURCES     = calculatorform.cpp \
                   main.cpp

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

     symbian: include($$QT_SOURCE_TREE/examples/symbianpkgrules.pri)
     maemo5: include($$QT_SOURCE_TREE/examples/maemo5pkgrules.pri)

     symbian: warning(This example does not work on Symbian platform)
     maemo5: warning(This example does not work on Maemo platform)
     simulator: warning(This example does not work on Simulator platform)