Umbrello stable-kf5-qt5 fails on CI
Christoph Feck
cfeck at kde.org
Wed Dec 5 21:50:37 GMT 2018
Hello,
Umbrello stable-kf5-qt5 fails on CI, maybe caused by the commit that
changed inclusion of KAboutData.
Thanks,
Christoph
Commit:
https://cgit.kde.org/umbrello.git/commit/umbrello/main.cpp?h=Applications/18.12&id=967358b9c128a7085af7e3e2d4687c242f9d8fb7
Full log:
https://build.kde.org/job/Applications/view/Everything%20-%20stable-kf5-qt5/job/umbrello/job/stable-kf5-qt5%20SUSEQt5.10/1/consoleFull
Relevant part of the log:
17:31:00 Scanning dependencies of target testumlobject
17:31:00 In file included from /usr/include/qt5/QtCore/qobject.h:54,
17:31:00 from /usr/include/qt5/QtCore/qiodevice.h:45,
17:31:00 from /usr/include/qt5/QtCore/qtextstream.h:43,
17:31:00 from /usr/include/qt5/QtCore/qdebug.h:49,
17:31:00 from
/usr/include/qt5/QtCore/qloggingcategory.h:44,
17:31:00 from /usr/include/qt5/QtCore/QLoggingCategory:1,
17:31:00 from
/home/jenkins/workspace/Applications/umbrello/stable-kf5-qt5
SUSEQt5.10/umbrello/debug/debug_utils.h:32,
17:31:00 from
/home/jenkins/workspace/Applications/umbrello/stable-kf5-qt5
SUSEQt5.10/umbrello/main.cpp:12:
17:31:00
/home/jenkins/install-prefix/include/KF5/KCoreAddons/kaboutdata.h:1173:1:
error: specialization of ���template<class T> struct QMetaTypeId��� in
different namespace [-fpermissive]
17:31:00 Q_DECLARE_METATYPE(KAboutData)
17:31:00 ^~~~~~~~~~~~~~~~~~
17:31:00 /usr/include/qt5/QtCore/qmetatype.h:1610:8: note: from
definition of ���template<class T> struct QMetaTypeId���
17:31:00 struct QMetaTypeId : public QMetaTypeIdQObject<T>
17:31:00 ^~~~~~~~~~~
17:31:00
/home/jenkins/install-prefix/include/KF5/KCoreAddons/kaboutdata.h:1173:1:
error: explicit specialization of ���template<class T> struct
QMetaTypeId��� outside its namespace must use a nested-name-specifier
[-fpermissive]
17:31:00 Q_DECLARE_METATYPE(KAboutData)
17:31:00 ^~~~~~~~~~~~~~~~~~
17:31:00
/home/jenkins/install-prefix/include/KF5/KCoreAddons/kaboutdata.h:1173:1:
error: definition of ���static int
QMetaTypeId<dummy::KAboutData>::qt_metatype_id()��� is not in namespace
enclosing ���QMetaTypeId<dummy::KAboutData>��� [-fpermissive]
17:31:00 Q_DECLARE_METATYPE(KAboutData)
17:31:00 ^~~~~~~~~~~~~~~~~~
17:31:00
/home/jenkins/install-prefix/include/KF5/KCoreAddons/kaboutdata.h: In
static member function ���static int
QMetaTypeId<dummy::KAboutData>::qt_metatype_id()���:
17:31:00
/home/jenkins/install-prefix/include/KF5/KCoreAddons/kaboutdata.h:1173:1:
error: ���KAboutData��� was not declared in this scope
17:31:00 Q_DECLARE_METATYPE(KAboutData)
17:31:00 ^~~~~~~~~~~~~~~~~~
17:31:00
/home/jenkins/install-prefix/include/KF5/KCoreAddons/kaboutdata.h:1173:1:
note: suggested alternative:
17:31:00 In file included from
/home/jenkins/workspace/Applications/umbrello/stable-kf5-qt5
SUSEQt5.10/umbrello/main.cpp:23:
17:31:00
/home/jenkins/install-prefix/include/KF5/KCoreAddons/kaboutdata.h:408:26:
note: ���dummy::KAboutData���
17:31:00 class KCOREADDONS_EXPORT KAboutData
17:31:00 ^~~~~~~~~~
--
Christoph Feck
KDE Release Team
More information about the umbrello-devel
mailing list