qt plugins and release builds
Shane King
kde at dontletsstart.com
Wed Dec 12 01:19:18 CET 2007
Christian Ehrlicher wrote:
> As I on kde-commits this code does not work with msvc ide. I've also
> asked at cmake mailing list and they told me that some days ago they
> fixed it 'the right way' in their FindQt4.cmake
> It works fine for me and it's on a much better place now. Please test.
I still have the same issue I was having with my first attempted fix
(not surprising since they both use the cache force method) of the
variables getting set in CMakeCache.txt but flags.make not reflecting
them, eg:
# CMAKE generated file: DO NOT EDIT!
# Generated by "MinGW Makefiles" Generator, CMake Version 2.4
CXX_FLAGS = -DMAKE_KDE_LIB -Woverloaded-virtual -O2 -g
-IC:\unix\mingw\tmp\kdelibs-3.97.20071210\work\mingw-RelWithDebInfo\phonon\platform_kde
-IC:\unix\kdesvn\trunk\KDE\kdelibs\phonon\platform_kde
-IC:\unix\kdesvn\trunk\KDE\kdelibs
-IC:\unix\mingw\tmp\kdelibs-3.97.20071210\work\mingw-RelWithDebInfo
-IC:\unix\kdesvn\trunk\KDE\kdelibs\interfaces
-IC:\unix\kdesvn\trunk\KDE\kdelibs\kjs
-IC:\unix\mingw\tmp\kdelibs-3.97.20071210\work\mingw-RelWithDebInfo\kjs
-IC:\unix\kdesvn\trunk\KDE\kdelibs\kdecore
-IC:\unix\mingw\tmp\kdelibs-3.97.20071210\work\mingw-RelWithDebInfo\kdecore
-IC:\unix\kdesvn\trunk\KDE\kdelibs\kdecore\compression
-IC:\unix\kdesvn\trunk\KDE\kdelibs\kdecore\config
-IC:\unix\kdesvn\trunk\KDE\kdelibs\kdecore\date
-IC:\unix\kdesvn\trunk\KDE\kdelibs\kdecore\io
-IC:\unix\kdesvn\trunk\KDE\kdelibs\kdecore\jobs
-IC:\unix\kdesvn\trunk\KDE\kdelibs\kdecore\kernel
-IC:\unix\kdesvn\trunk\KDE\kdelibs\kdecore\network
-IC:\unix\kdesvn\trunk\KDE\kdelibs\kdecore\services
-IC:\unix\kdesvn\trunk\KDE\kdelibs\kdecore\localization
-IC:\unix\kdesvn\trunk\KDE\kdelibs\kdecore\sycoca
-IC:\unix\kdesvn\trunk\KDE\kdelibs\kdecore\text
-IC:\unix\kdesvn\trunk\KDE\kdelibs\kdecore\util
-IC:\unix\kdesvn\trunk\KDE\kdelibs\kdecore\sonnet
-IC:\unix\mingw\tmp\kdelibs-3.97.20071210\work\mingw-RelWithDebInfo\solid
-IC:\unix\kdesvn\trunk\KDE\kdelibs\kio
-IC:\unix\kdesvn\trunk\KDE\kdelibs\kio\bookmarks
-IC:\unix\kdesvn\trunk\KDE\kdelibs\kio\kio
-IC:\unix\kdesvn\trunk\KDE\kdelibs\kio\kfile
-IC:\unix\kdesvn\trunk\KDE\kdelibs\kdeui
-IC:\unix\kdesvn\trunk\KDE\kdelibs\kdeui\actions
-IC:\unix\kdesvn\trunk\KDE\kdelibs\kdeui\colors
-IC:\unix\kdesvn\trunk\KDE\kdelibs\kdeui\config
-IC:\unix\kdesvn\trunk\KDE\kdelibs\kdeui\dialogs
-IC:\unix\kdesvn\trunk\KDE\kdelibs\kdeui\findreplace
-IC:\unix\kdesvn\trunk\KDE\kdelibs\kdeui\fonts
-IC:\unix\kdesvn\trunk\KDE\kdelibs\kdeui\icons
-IC:\unix\kdesvn\trunk\KDE\kdelibs\kdeui\itemviews
-IC:\unix\kdesvn\trunk\KDE\kdelibs\kdeui\jobs
-IC:\unix\kdesvn\trunk\KDE\kdelibs\kdeui\kernel
-IC:\unix\kdesvn\trunk\KDE\kdelibs\kdeui\paged
-IC:\unix\kdesvn\trunk\KDE\kdelibs\kdeui\plotting
-IC:\unix\kdesvn\trunk\KDE\kdelibs\kdeui\shortcuts
-IC:\unix\kdesvn\trunk\KDE\kdelibs\kdeui\sonnet
-IC:\unix\kdesvn\trunk\KDE\kdelibs\kdeui\util
-IC:\unix\kdesvn\trunk\KDE\kdelibs\kdeui\widgets
-IC:\unix\kdesvn\trunk\KDE\kdelibs\kdeui\windowmanagement
-IC:\unix\kdesvn\trunk\KDE\kdelibs\kdeui\xmlgui
-IC:\unix\mingw\bin\..\include -IC:\unix\mingw\bin\..\include\Qt
-IC:\unix\mingw\bin\..\mkspecs\default
-IC:\unix\mingw\bin\..\include\QtCore
-IC:\unix\mingw\bin\..\include\QtGui
-IC:\unix\mingw\bin\..\include\Qt3Support
-IC:\unix\mingw\bin\..\include\QtAssistant
-IC:\unix\mingw\bin\..\include\QtDesigner
-IC:\unix\mingw\bin\..\include\QtNetwork
-IC:\unix\mingw\bin\..\include\QtOpenGL
-IC:\unix\mingw\bin\..\include\QtSql
-IC:\unix\mingw\bin\..\include\QtXml
-IC:\unix\mingw\bin\..\include\QtSvg
-IC:\unix\mingw\bin\..\include\QtScript
-IC:\unix\mingw\bin\..\include\QtUiTools
-IC:\unix\mingw\bin\..\include\QtTest
-IC:\unix\mingw\bin\..\include\QtDBus -Ic:\unix\mingw\include
-Ic:\unix\mingw\include\mingw -DQT_DLL -DQT_NO_STL
-DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
Notice no -DQT_NO_DEBUG, despite this line in CMakeCache.txt
//Flags used by the compiler during Release with Debug Info builds.
//
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DQT_NO_DEBUG
Shane.
More information about the Kde-windows
mailing list