Qt 4.8: wrapper.pro Example File (activeqt/wrapper/wrapper.pro)

Qt Reference Documentation

- Qt 4.8
- ALL VERSIONS

- A
- A
- A
- Print

# 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