MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

factorial.pro Example File

statemachine/factorial/factorial.pro
 QT = core
 win32: CONFIG += console
 mac:CONFIG -= app_bundle

 SOURCES += main.cpp

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