[Marble-devel] jsonparser and Qt4.5

Andrew Manson g.real.ate at gmail.com
Mon Apr 27 17:34:32 CEST 2009


Hi guys, 

Just had a compile error there, 2 possible solutions but i need to find 
something out first. 

the error was that in the jsonparser.cpp, line 47 the call date.length() was 
not a member of QStringList, the problem being that QStringList::length() was 
only introduced in Qt4.5 and before that it was QStringList::size() that 
preformed the same function. 


Isn't Marble ( Qt Only version that i'm working with ) meant to be using Qt4.5 
right now? if so then how the bug is : "why isn't cmake forcing you to use the 
4.5 version". otherwise we just need to change that one line to date.size() to 
make it compatible with 4.4.

-Andrew


More information about the Marble-devel mailing list