adjust to modularization changes in ActiveQt

Task-number: QTBUG-27776
Change-Id: I1c30270867d20f028bad09fdc5408a414b122f5b
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
bb10
Joerg Bornemann 2012-11-26 16:58:54 +01:00 committed by The Qt Project
parent 729ca17b39
commit a7ac893534
3 changed files with 8 additions and 27 deletions

View File

@ -89,6 +89,14 @@ uitools {
warning("CONFIG+=uitools is deprecated. Use QT+=uitools instead.")
QT += uitools
}
qaxcontainer {
warning("CONFIG+=qaxcontainer is deprecated. Use QT+=axcontainer instead.")
QT += axcontainer
}
qaxserver {
warning("CONFIG+=qaxserver is deprecated. Use QT+=axserver instead.")
QT += axserver
}
unset(using_privates)
qtAddModules(QT, LIBS)

View File

@ -1,17 +1,3 @@
!debug_and_release|build_pass {
CONFIG(debug, debug|release) {
LIBS += -lQAxContainerd
} else {
LIBS += -lQAxContainer
}
} else {
LIBS += -lQAxContainer
}
QMAKE_LIBDIR += $$QT.activeqt.libs
INCLUDEPATH += $$QT.activeqt.includes
QMAKE_LIBS += $$QMAKE_LIBS_GUI
qtPrepareTool(QMAKE_DUMPCPP, dumpcpp)
dumpcpp_decl.commands = $$QMAKE_DUMPCPP ${QMAKE_FILE_IN} -o ${QMAKE_FILE_BASE}

View File

@ -6,9 +6,6 @@ build_pass:console: {
ACTIVEQT_VERSION = $$VERSION
isEmpty(ACTIVEQT_VERSION):ACTIVEQT_VERSION = 1.0
DEFINES += QAXSERVER
INCLUDEPATH += $$QT.activeqt.includes
qtPrepareTool(QMAKE_IDC, idc)
contains(TEMPLATE, "vc.*") {
ACTIVEQT_IDC = $${QMAKE_IDC}
@ -50,13 +47,3 @@ contains(TEMPLATE, "vc.*") {
QMAKE_CLEAN += $${ACTIVEQT_OUTPUT}.idl $${ACTIVEQT_OUTPUT}.tlb
}
qt:!target_qt {
CONFIG(debug, debug|release) {
QMAKE_LIBS_QT_ENTRY = -lQAxServerd
} else {
QMAKE_LIBS_QT_ENTRY = -lQAxServer
}
dll:QMAKE_LIBS += $$QMAKE_LIBS_QT_ENTRY
QMAKE_LIBDIR += $$QT.activeqt.libs
QMAKE_LIBS += $$QMAKE_LIBS_GUI
}