summaryrefslogtreecommitdiffstats
path: root/examples/activeqt/qutlook/qutlook.pro
blob: 4e0e0279a179c9ea060704a7db35476def3c297a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#! [0] #! [1]
TEMPLATE = app
TARGET	 = qutlook
CONFIG	+= qaxcontainer
QT += widgets

TYPELIBS = $$system(dumpcpp -getfile {00062FFF-0000-0000-C000-000000000046})
#! [0]

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

# 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