Advertisement
Guest User

Untitled

a guest
Dec 2nd, 2019
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.05 KB | None | 0 0
  1. platforms/mythpowerdbus.cpp: In member function ‘virtual bool MythPowerDBus::ScheduleFeature(MythPower::Feature, uint)’:
  2. platforms/mythpowerdbus.cpp:302:27: error: no matching function for call to ‘QLatin1String::QLatin1String()’
  3. QLatin1String type;
  4. ^
  5. In file included from /usr/include/qt/QtCore/QString:1:0,
  6. from ./mythlogging.h:5,
  7. from platforms/mythpowerdbus.cpp:2:
  8. /usr/include/qt/QtCore/qstring.h:87:21: note: candidate: QLatin1String::QLatin1String(const QByteArray&)
  9. inline explicit QLatin1String(const QByteArray &s) : m_size(int(qstrnlen(s.constData(), s.size()))), m_data(s.constData()) {}
  10. ^
  11. /usr/include/qt/QtCore/qstring.h:87:21: note: candidate expects 1 argument, 0 provided
  12. /usr/include/qt/QtCore/qstring.h:86:31: note: candidate: constexpr QLatin1String::QLatin1String(const char*, int)
  13. Q_DECL_CONSTEXPR inline explicit QLatin1String(const char *s, int sz) : m_size(sz), m_data(s) {}
  14. ^
  15. /usr/include/qt/QtCore/qstring.h:86:31: note: candidate expects 2 arguments, 0 provided
  16. /usr/include/qt/QtCore/qstring.h:85:31: note: candidate: constexpr QLatin1String::QLatin1String(const char*)
  17. Q_DECL_CONSTEXPR inline explicit QLatin1String(const char *s) : m_size(s ? int(strlen(s)) : 0), m_data(s) {}
  18. ^
  19. /usr/include/qt/QtCore/qstring.h:85:31: note: candidate expects 1 argument, 0 provided
  20. /usr/include/qt/QtCore/qstring.h:82:7: note: candidate: constexpr QLatin1String::QLatin1String(const QLatin1String&)
  21. class QLatin1String
  22. ^
  23. /usr/include/qt/QtCore/qstring.h:82:7: note: candidate expects 1 argument, 0 provided
  24. /usr/include/qt/QtCore/qstring.h:82:7: note: candidate: constexpr QLatin1String::QLatin1String(QLatin1String&&)
  25. /usr/include/qt/QtCore/qstring.h:82:7: note: candidate expects 1 argument, 0 provided
  26. Makefile:1717: recipe for target 'obj/mythpowerdbus.o' failed
  27. make[2]: *** [obj/mythpowerdbus.o] Error 1
  28. make[2]: *** Waiting for unfinished jobs....
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement