Closed demmm closed 7 years ago
I wasn't using qjson-qt5/parser.h> and I just deleted it from source, so I don't think this is necessary. Correct me.if I'm wrong. Right now babe only uses the default build in qt json
Not clear why you would insist on using Qt4 depends for an application that is complete Qt5 based, just for one depend that also for years now is Qt5 ready. QJson builds the Qt5 version by default, only if Qt5 is not found or you set the cmake to force Qt4 will it build that way.
@demmm I don't follow what you say. Exactly what qt4 libraries am i still using? QJson*? I'm sorry but English is not my first language and I'm still learning qt.
i double checked and according to the official documentation i'm not using none library outside qt5 version: this is an example of qjson in qt5 http://doc.qt.io/qt-5/qtcore-json-savegame-example.html
Since this application uses all Qt 5 I presume, you will be using QJson Qt5 too, for that you need to use the qjson-qt5 setup, see: https://github.com/flavio/qjson/blob/master/CMakeLists.txt#L54
To make current git status of babe-qt build with QJson Qt5 based, this sed line makes the build work: