From 9d650a4b3623271fcdcafaa15fb71095fd0ba265 Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Thu, 29 Nov 2012 13:14:31 +0100 Subject: [PATCH] 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 --- mkspecs/features/win32/idcidl.prf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mkspecs/features/win32/idcidl.prf b/mkspecs/features/win32/idcidl.prf index 4fb1a08bde..85e4cb9c5f 100644 --- a/mkspecs/features/win32/idcidl.prf +++ b/mkspecs/features/win32/idcidl.prf @@ -3,6 +3,9 @@ build_pass:console: { warning("Remove 'console' from your CONFIG.") } +# Do not link qtmain.lib +QMAKE_LIBS_QT_ENTRY = + ACTIVEQT_VERSION = $$VERSION isEmpty(ACTIVEQT_VERSION):ACTIVEQT_VERSION = 1.0