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

List:       kde-devel
Subject:    Re: Buildfailure in kdemultimedia/juk/
From:       Thiago Macieira <thiago () kde ! org>
Date:       2008-02-25 19:26:54
Message-ID: 200802252026.55089.thiago () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Naga wrote:
>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).

The patch doesn't work. -U only works to undef what was previously defined 
as -D. But the QT_NO_STL #define is done in qconfig.h.

And it reads:
#if defined(QT_NO_STL) && defined(QT_STL)
# undef QT_NO_STL
#elif !defined(QT_NO_STL) && !defined(QT_STL)
# define QT_NO_STL
#endif

That appears only for builds with -no-stl. If you enabled STL, then 
there's nothing there, since -DQT_STL will have no effect.

So, your patch has no effect and your Qt sources have a problem. Can you 
check your qconfig.h to see what it reads?

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

["signature.asc" (application/pgp-signature)]

>> 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