[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [trojita] [Bug 321802] Linking fails with qt 4.8 on windows
From:       Thomas Lübking <thomas.luebking () gmail ! com>
Date:       2013-06-30 21:30:38
Message-ID: bug-321802-17878-5AR6sziFDF () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=321802

--- Comment #2 from Thomas Lübking <thomas.luebking@gmail.com> ---
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7971af0..4ac8397 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -631,7 +631,7 @@ if(BUILD_DESKTOP_GUI)
     target_link_libraries(trojita AppVersion Imap MSA Streams qwwsmtpclient
Common Composer AbookAddressbook DesktopGui
         ${QT_QTSQL_LIBRARY} ${QT_QTNETWORK_LIBRARY} ${QT_QTWEBKIT_LIBRARY})
     if(NOT WITH_QT5)
-        target_link_libraries(trojita MimetypesQt4)
+        target_link_libraries(trojita MimetypesQt4 ${QT_QTGUI_LIBRARY}
${QT_QTNETWORK_LIBRARY} ${QT_QTCORE_LIBRARY})

Try moving ${QT_QTCORE_LIBRARY} into the upper list instead and leave the NOT
WITH_QT5 one untouched.
Explicitly adding ${QT_QTCORE_LIBRARY} to the linker list is reasonable but i'm
not sure whether Jan is already on vacation ;-)

-- 
You are receiving this mail because:
You are watching all bug changes.=
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic