qjson - Qt - undefined reference to QJsonValue::toString -
i'm trying build sample project using qt 5.7 on linux. previously, same project have been built qt 5.4.2 without issues. when try qt 5.7, followings errors:
undefined reference `qjsonvalue::tostring() const'
i have tried installing qt5.7 qt maintenance tool , download qt official site , install using .run file. when run locate qjsonvalue followings results:
$ locate qjsonvalue /opt/qt/5.4/src/qtbase/include/qtcore/qjsonvalue.h /opt/qt/5.4/src/qtbase/src/corelib/json/qjsonvalue.cpp /opt/qt/5.4/src/qtbase/src/corelib/json/qjsonvalue.h /opt/qt/5.4/android_armv7/include/qtcore/qjsonvalue.h /opt/qt/5.4/android_x86/include/qtcore/qjsonvalue.h /opt/qt/5.4/gcc_64/include/qtcore/qjsonvalue.h /usr/include/qt5/qtcore/qjsonvalue.h /usr/share/doc/qt5/qtcore/qjsonvalue-members.html /usr/share/doc/qt5/qtcore/qjsonvalue.html
according previous results, seems need install becuase qjsonvalue.h/cpp not in qt5.7 core. ideas how solve it? need install else? note, when start qt maintenance tool alert message says following:
your installation seems corrupted. please consider re-installing scratch.
Comments
Post a Comment