summaryrefslogtreecommitdiffstats
path: root/src/activeqt/control/control.pro
blob: 65b0251706f1691fa0357305fc812d5189de92d0 (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
TEMPLATE = lib

TARGET   = ActiveQt
CONFIG += qt_install_headers
SYNCQT.HEADER_FILES = qaxaggregated.h qaxbindable.h qaxfactory.h
SYNCQT.HEADER_CLASSES = ../../../include/ActiveQt/QAxAggregated ../../../include/ActiveQt/QAxBindable ../../../include/ActiveQt/QAxFactory ../../../include/ActiveQt/QAxClass 
include(../../qt_install.pri)

TARGET   = QAxServer

!debug_and_release|build_pass {
   CONFIG(debug, debug|release) {
      TARGET = $$member(TARGET, 0)d
   }
}

CONFIG  += qt warn_off staticlib
QTDIR_build:DESTDIR  = $$QT_BUILD_TREE\lib

DEFINES	+= QAX_SERVER
win32-g++:DEFINES += QT_NEEDS_QMAIN
win32-borland:DEFINES += QT_NEEDS_QMAIN

LIBS    += -luser32 -lole32 -loleaut32 -lgdi32
win32-g++:LIBS += -luuid

contains(QT_EDITION, OpenSource|Console) {
    message( "You are not licensed to use ActiveQt." )
} else {
    HEADERS     = qaxaggregated.h \
                  qaxbindable.h \
		  qaxfactory.h \
		  ../shared/qaxtypes.h

    SOURCES     = qaxserver.cpp \
		  qaxserverbase.cpp \
		  qaxbindable.cpp \
		  qaxfactory.cpp \
		  qaxservermain.cpp \
		  qaxserverdll.cpp \
		  qaxmain.cpp \
		  ../shared/qaxtypes.cpp
}