[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: problem building kdesupport/soprano against Qt4.5
From: Thiago Macieira <thiago () kde ! org>
Date: 2008-08-22 6:44:23
Message-ID: 200808220844.23985.thiago () kde ! org
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
Brad Hards wrote:
>Any ideas?
Yes. We've seen that problem. It happens because:
* Soprano uses a namespace
* Soprano defined qHash(Soprano::Node) before qhash.h was defined
* qvariant.h has changed in 4.5, including qhash.h now
That means the definition for QHash jumped above the definition of the
qHash function. You have to put the function inside the Soprano namespace
for this to work.
According to our expert, this is the way the C++ name lookup rules say it
should be.
--
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