diff options
author | Shane King <kde@dontletsstart.com> | 2007-12-12 07:01:57 +0000 |
---|---|---|
committer | Shane King <kde@dontletsstart.com> | 2007-12-12 07:01:57 +0000 |
commit | 3c5c07c31efac7aa27e352084cf0655b36f78f8e (patch) | |
tree | e9c76105ac3284ae5bed29eac99dab83209809f6 | |
parent | f9d680d7bc782dd01b12a3750478e93d77b51df7 (diff) | |
download | extra-cmake-modules-3c5c07c31efac7aa27e352084cf0655b36f78f8e.tar.gz extra-cmake-modules-3c5c07c31efac7aa27e352084cf0655b36f78f8e.tar.bz2 |
Update comment to more accurately reflect what's going on with qt linking and mingw
svn path=/trunk/KDE/kdelibs/; revision=747507
-rw-r--r-- | modules/FindKDE4Internal.cmake | 7 |
1 files changed, 4 insertions, 3 deletions
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) |