Re: kdemultimedia/juk fails to compile with QT_NO_STL
- Date: Sat, 2 Feb 2008 09:03:48 +0100
- From: "Michael Biebl" <mbiebl@xxxxxxxxx>
- Subject: Re: kdemultimedia/juk fails to compile with QT_NO_STL
2008/2/2, Michael Biebl <mbiebl@xxxxxxxxx>:
> 2008/2/2, Stephan Kulow <coolo@xxxxxxx>:
> > Am Samstag, 2. Februar 2008 schrieb Michael Biebl:
> > >
> > > juk should either not use fromStdWString or add a cmake check, so juk
> > > is disabled from compilation when Qt was compiled without STL
> > > compatibility support.
> >
> > -stl is the default of qt and of qt-copy - so if you want to break your
> > Qt, then please also add the cmake check.
Looking further into it, it actually seems, as if my copy of Qt4
(version 4.3.3 from Debian unstable) is built with STL support.
The relevant part of qstring.h is
#ifndef QT_NO_STL
static inline QString fromStdString(const std::string &s);
inline std::string toStdString() const;
# ifdef qdoc
static inline QString fromStdWString(const std::wstring &s);
inline std::wstring toStdWString() const;
# else
# ifndef QT_NO_STL_WCHAR
static inline QString fromStdWString(const QStdWString &s);
inline QStdWString toStdWString() const;
# endif // QT_NO_STL_WCHAR
# endif // qdoc
#endif
So it still could be a missing qdoc define or QT_NO_STL_WCHAR.
Where can I find the values of these defines? Has anyone a clue what's
going wrong here?
Michael
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<