Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- platforms/mythpowerdbus.cpp: In member function ‘virtual bool MythPowerDBus::ScheduleFeature(MythPower::Feature, uint)’:
- platforms/mythpowerdbus.cpp:302:27: error: no matching function for call to ‘QLatin1String::QLatin1String()’
- QLatin1String type;
- ^
- In file included from /usr/include/qt/QtCore/QString:1:0,
- from ./mythlogging.h:5,
- from platforms/mythpowerdbus.cpp:2:
- /usr/include/qt/QtCore/qstring.h:87:21: note: candidate: QLatin1String::QLatin1String(const QByteArray&)
- inline explicit QLatin1String(const QByteArray &s) : m_size(int(qstrnlen(s.constData(), s.size()))), m_data(s.constData()) {}
- ^
- /usr/include/qt/QtCore/qstring.h:87:21: note: candidate expects 1 argument, 0 provided
- /usr/include/qt/QtCore/qstring.h:86:31: note: candidate: constexpr QLatin1String::QLatin1String(const char*, int)
- Q_DECL_CONSTEXPR inline explicit QLatin1String(const char *s, int sz) : m_size(sz), m_data(s) {}
- ^
- /usr/include/qt/QtCore/qstring.h:86:31: note: candidate expects 2 arguments, 0 provided
- /usr/include/qt/QtCore/qstring.h:85:31: note: candidate: constexpr QLatin1String::QLatin1String(const char*)
- Q_DECL_CONSTEXPR inline explicit QLatin1String(const char *s) : m_size(s ? int(strlen(s)) : 0), m_data(s) {}
- ^
- /usr/include/qt/QtCore/qstring.h:85:31: note: candidate expects 1 argument, 0 provided
- /usr/include/qt/QtCore/qstring.h:82:7: note: candidate: constexpr QLatin1String::QLatin1String(const QLatin1String&)
- class QLatin1String
- ^
- /usr/include/qt/QtCore/qstring.h:82:7: note: candidate expects 1 argument, 0 provided
- /usr/include/qt/QtCore/qstring.h:82:7: note: candidate: constexpr QLatin1String::QLatin1String(QLatin1String&&)
- /usr/include/qt/QtCore/qstring.h:82:7: note: candidate expects 1 argument, 0 provided
- Makefile:1717: recipe for target 'obj/mythpowerdbus.o' failed
- make[2]: *** [obj/mythpowerdbus.o] Error 1
- make[2]: *** Waiting for unfinished jobs....
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement