Qt Reference Documentation

# simple.pro Example File

activeqt/simple/simple.pro

     TEMPLATE = app
     TARGET   = simpleax

     CONFIG  += qt warn_off qaxserver

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

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