don't link qtmain.lib when using idcidl.prf

QAxServer projects must not link qtmain.lib.
This awful hack was adapted from the old qaxserver.prf

Change-Id: I78b4cbf6714bfbd88341449b9230f1989cff8a6f
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
This commit is contained in:
Joerg Bornemann 2012-11-29 13:14:31 +01:00 committed by The Qt Project
parent 09a1810319
commit 9d650a4b36

View File

@ -3,6 +3,9 @@ build_pass:console: {
warning("Remove 'console' from your CONFIG.") warning("Remove 'console' from your CONFIG.")
} }
# Do not link qtmain.lib
QMAKE_LIBS_QT_ENTRY =
ACTIVEQT_VERSION = $$VERSION ACTIVEQT_VERSION = $$VERSION
isEmpty(ACTIVEQT_VERSION):ACTIVEQT_VERSION = 1.0 isEmpty(ACTIVEQT_VERSION):ACTIVEQT_VERSION = 1.0