From 3c5c07c31efac7aa27e352084cf0655b36f78f8e Mon Sep 17 00:00:00 2001 From: Shane King Date: Wed, 12 Dec 2007 07:01:57 +0000 Subject: Update comment to more accurately reflect what's going on with qt linking and mingw svn path=/trunk/KDE/kdelibs/; revision=747507 --- modules/FindKDE4Internal.cmake | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'modules') diff --git a/modules/FindKDE4Internal.cmake b/modules/FindKDE4Internal.cmake index 3eef2756..89c7c6fc 100644 --- a/modules/FindKDE4Internal.cmake +++ b/modules/FindKDE4Internal.cmake @@ -828,9 +828,10 @@ if (CMAKE_COMPILER_IS_GNUCXX) endif (CMAKE_SYSTEM_NAME MATCHES Linux) if (WIN32) - # qt is always compiled with QT_NO_DEBUG under mingw, - # so we need to compile stuff linked against it - # the same or otherwise QPluginLoader rejects plugins + # we always link against the release version of QT with mingw + # (even for debug builds). So we need to define QT_NO_DEBUG + # or else QPluginLoader rejects plugins because it thinks + # they're built against the wrong QT. add_definitions(-DQT_NO_DEBUG) endif (WIN32) -- cgit v1.2.1