0
|
1 |
#! [0] #! [1]
|
|
2 |
TEMPLATE = app
|
|
3 |
TARGET = qutlook
|
|
4 |
CONFIG += qaxcontainer
|
|
5 |
|
|
6 |
TYPELIBS = $$system(dumpcpp -getfile {00062FFF-0000-0000-C000-000000000046})
|
|
7 |
#! [0]
|
|
8 |
|
|
9 |
isEmpty(TYPELIBS) {
|
|
10 |
message("Microsoft Outlook type library not found!")
|
|
11 |
REQUIRES += Outlook
|
|
12 |
} else {
|
|
13 |
#! [1] #! [2]
|
|
14 |
HEADERS = addressview.h
|
|
15 |
SOURCES = addressview.cpp main.cpp
|
|
16 |
}
|
|
17 |
#! [2]
|
|
18 |
|
|
19 |
# install
|
|
20 |
target.path = $$[QT_INSTALL_EXAMPLES]/activeqt/qutlook
|
|
21 |
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS qutlook.pro
|
|
22 |
sources.path = $$[QT_INSTALL_EXAMPLES]/activeqt/qutlook
|
|
23 |
INSTALLS += target sources
|