I'm trying to build a sample project using Qt 5.7 over Linux. Previously, the same project have been built with Qt 5.4.2 without issues. When I try with Qt 5.7, I get the followings errors:

Qt Code:
  1. undefined reference to `QJsonValue::toString() const'
To copy to clipboard, switch view to plain text mode 

I have tried installing Qt5.7 with Qt Maintenance Tool and also download from Qt official site and install it using .run file. When I run a locate to qjsonvalue I get the followings results:

Qt Code:
  1. $ locate qjsonvalue
  2. /opt/Qt/5.4/Src/qtbase/include/QtCore/qjsonvalue.h
  3. /opt/Qt/5.4/Src/qtbase/src/corelib/json/qjsonvalue.cpp
  4. /opt/Qt/5.4/Src/qtbase/src/corelib/json/qjsonvalue.h
  5. /opt/Qt/5.4/android_armv7/include/QtCore/qjsonvalue.h
  6. /opt/Qt/5.4/android_x86/include/QtCore/qjsonvalue.h
  7. /opt/Qt/5.4/gcc_64/include/QtCore/qjsonvalue.h
  8. /usr/include/qt5/QtCore/qjsonvalue.h
  9. /usr/share/doc/qt5/qtcore/qjsonvalue-members.html
  10. /usr/share/doc/qt5/qtcore/qjsonvalue.html
To copy to clipboard, switch view to plain text mode 

According with the previous results, seems that I need to install something becuase qjsonvalue.h/cpp is not in my Qt5.7 core. Any ideas about how to solve it? Need to install anything else? As note, when I start Qt Maintenance Tool I get an alert message that says the following:

Qt Code:
  1. Your installation seems to be corrupted. Please consider re-installing from scratch.
To copy to clipboard, switch view to plain text mode