MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

wrapper.pro Example File

activeqt/wrapper/wrapper.pro
 TEMPLATE = lib
 TARGET   = wrapperax

 CONFIG  += qt warn_off qaxserver dll
 contains(CONFIG, static):DEFINES += QT_NODLL

 SOURCES  = main.cpp
 RC_FILE  = wrapperax.rc
 DEF_FILE = $$QT_SOURCE_TREE/src/activeqt/control/qaxserver.def

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