Qt Reference Documentation

# qutlook.pro Example File

activeqt/qutlook/qutlook.pro

     TEMPLATE = app
     TARGET   = qutlook
     CONFIG  += qaxcontainer

     TYPELIBS = $$system(dumpcpp -getfile {00062FFF-0000-0000-C000-000000000046})

     isEmpty(TYPELIBS) {
         message("Microsoft Outlook type library not found!")
         REQUIRES += Outlook
     } else {
         HEADERS  = addressview.h
         SOURCES  = addressview.cpp main.cpp
     }

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