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

List:       kde-devel
Subject:    Buildfailure in kdemultimedia/juk/
From:       Naga <nagatoro () gmail ! com>
Date:       2008-02-25 17:36:27
Message-ID: 200802251836.27846.nagatoro () gmail ! com
[Download RAW message or body]

Hi,

when building kdemultimedia from trunk I get the following:
----
/var/tmp/portage/kde-base/kdemultimedia-9999.4/work/kdemultimedia-
9999.4/juk/playlist.cpp:2199: error: ‘fromStdWString' is not a member of 
‘QString'
make[2]: *** [juk/CMakeFiles/juk.dir/playlist.o] Error 1
make[2]: *** Waiting for unfinished jobs....
----
This because juk/CMakeLists.txt tries to enable QT_STL  using -
DQT_STL but QT uses the negative approach of #ifdef QT_NO_STL. 
This leades to the compiler getting called with -DQT_NO_STL ... -
DQT_STL => No qt stl.

Below is a patch that changes this to -DQT_NO_STL ... -UQT_STL 
since I don't know if the first define should be there or not (it's 
inherited from some other directory).

/BR
Naga


["juk-QT_NO_STL.patch" (text/x-patch)]

Index: juk/CMakeLists.txt
===================================================================
--- juk/CMakeLists.txt	(revision 779221)
+++ juk/CMakeLists.txt	(working copy)
@@ -25,7 +25,7 @@
 # hack, should taglib maybe give the .. directory as well in it's config file?
 add_definitions(${TAGLIB_CFLAGS} "${TAGLIB_CFLAGS}/..")
 add_definitions(-DKDE_DEFAULT_DEBUG_AREA=65432)
-add_definitions(-DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS -DQT_STL)
+add_definitions(-DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS -UQT_NO_STL)
 
 set(tunepimp_SRCS)
 if(TUNEPIMP_FOUND)


>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


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

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