MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

hierarchy.pro Example File

activeqt/hierarchy/hierarchy.pro
 TEMPLATE = lib
 TARGET   = hierarchyax

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

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

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