Advertisement
Guest User

Untitled

a guest
Jul 27th, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. /usr/include/qt5/QtCore/qjsonvalue.h:163:19: note: candidate expects 0 arguments, 1 provided
  2. project/Project_loading.cpp:1224:81: error: no matching function for call to ‘QJsonValueRef::toDouble(double)’
  3. std::get<2>(i.layering_normal)=layering_normal_array[2].toDouble(1.0);
  4. ^
  5. project/Project_loading.cpp:1224:81: note: candidate is:
  6. In file included from /usr/include/qt5/QtCore/qjsondocument.h:45:0,
  7. from /usr/include/qt5/QtCore/QJsonDocument:1,
  8. from project/Project.h:10,
  9. from project/Project_loading.cpp:1:
  10. /usr/include/qt5/QtCore/qjsonvalue.h:163:19: note: double QJsonValueRef::toDouble() const
  11. inline double toDouble() const { return toValue().toDouble(); }
  12. ^
  13. /usr/include/qt5/QtCore/qjsonvalue.h:163:19: note: candidate expects 0 arguments, 1 provided
  14. make: *** [Project_loading.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement