(You can also find there a grep -n filter for error and warning, to move in the 2517 lines.)
The failure(s) depend on namespaces or undeclared variables, but I don't understand how to investigate.
The first error is at line 2375 (and following). The line is huge and the error itself is too much to be reported here. Here's the initial part:
Code: Select all
In file included from /usr/include/qt5/QtCore/qobject.h:54:0,
from /usr/include/qt5/QtCore/qiodevice.h:45,
from /usr/include/qt5/QtCore/qtextstream.h:43,
from /usr/include/qt5/QtCore/qdebug.h:49,
from /usr/include/qt5/QtCore/qloggingcategory.h:44,
from /usr/include/qt5/QtCore/QLoggingCategory:1,
from /var/tmp/portage/kde-apps/umbrello-18.08.3/work/umbrello-18.08.3/umbrello/debug/debug_utils.h:32,
from /var/tmp/portage/kde-apps/umbrello-18.08.3/work/umbrello-18.08.3/umbrello/main.cpp:12:
/usr/include/KF5/KCoreAddons/kaboutdata.h:1173:1: error: specialization of ‘template<class T> struct QMetaTypeId’ in different namespace [-
fpermissive]
Q_DECLARE_METATYPE(KAboutData)
^
/usr/include/qt5/QtCore/qmetatype.h:1626:8: note: from definition of ‘template<class T> struct QMetaTypeId’
struct QMetaTypeId : public QMetaTypeIdQObject<T>
^~~~~~~~~~~
/usr/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]
Q_DECLARE_METATYPE(KAboutData)
^
/usr/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]
Q_DECLARE_METATYPE(KAboutData)
^
/usr/include/KF5/KCoreAddons/kaboutdata.h: In static member function ‘static int QMetaTypeId<dummy::KAboutData>::qt_metatype_id()’:
/usr/include/KF5/KCoreAddons/kaboutdata.h:1173:1: error: ‘KAboutData’ was not declared in this scope
Q_DECLARE_METATYPE(KAboutData)
^
/usr/include/KF5/KCoreAddons/kaboutdata.h:1173:1: note: suggested alternative:
In file included from /var/tmp/portage/kde-apps/umbrello-18.08.3/work/umbrello-18.08.3/umbrello/main.cpp:23:0:
/usr/include/KF5/KCoreAddons/kaboutdata.h:408:26: note: ‘dummy::KAboutData’
class KCOREADDONS_EXPORT KAboutData
^~~~~~~~~~Code: Select all
/var/tmp/portage/kde-apps/umbrello-18.08.3/work/umbrello-18.08.3/umbrello/codegenerators/codegenerator.cpp: In member function ‘QString CodeGenerator::findFileName(CodeDocument*)’:
/var/tmp/portage/kde-apps/umbrello-18.08.3/work/umbrello-18.08.3/umbrello/codegenerators/codegenerator.cpp:607:22: warning: ignoring return value of ‘QString QString::simplified() const &’, declared with attribute nodiscard [-Wunused-result]
name.simplified();
^
In file included from /usr/include/qt5/QtGui/qfont.h:45:0,
from /usr/include/qt5/QtGui/QFont:1,
from /var/tmp/portage/kde-apps/umbrello-18.08.3/work/umbrello-18.08.3/umbrello/basictypes.h:24,
from /var/tmp/portage/kde-apps/umbrello-18.08.3/work/umbrello-18.08.3/umbrello/codegenerators/codegenerator.h:15,
from /var/tmp/portage/kde-apps/umbrello-18.08.3/work/umbrello-18.08.3/umbrello/codegenerators/codegenerator.cpp:13:
/usr/include/qt5/QtCore/qstring.h:439:31: note: declared here
Q_REQUIRED_RESULT QString simplified() const &
^~~~~~~~~~Thanks to everybody,
HUjuice

