kwin compile broken with qt5.4
Treeve Jelbert
treeve at scarlet.be
Mon Aug 18 08:56:19 UTC 2014
FAILED: /var/lib/sorcery/build/c++ -DKCOREADDONS_LIB -
DKDE_DEFAULT_DEBUG_AREA=1212 -DQT_CONCURRENT_LIB -
DQT_CORE_LIB -DQT_DBUS_LIB -DQT_DISABLE_DEPRECATED_BEFORE=0 -DQT_GUI_LIB -
DQT_NETWORK_LIB -DQT_NO_DEBUG -D
QT_QML_LIB -DQT_QUICK_LIB -DQT_SCRIPT_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB
-DQT_XML_LIB -D_GNU_SOURCE -
D_LARGEFILE64_SOURCE -D_XOPEN_SOURCE=500 -Dkwin_EXPORTS -march=native -
mtune=native -m64 -pipe -ffast-math
-funroll-loops -std=c++0x -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-
subscripts -Wformat-security
-Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-
virtual -Werror=return-type -O3 -D
NDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -I. -
I/var/git/qt5/plasma-ws/kwin -I/var/git/qt5/plasma-ws/kwin/tabbox -
I/var/git/qt5/plasma-ws/kwin/effects -I/var/git/qt5/plasma-
ws/kwin/libkdecorations -I/var/git/qt5/plasma-ws/kwin/libkwineffects -
Ilibkwineffects -Ilibkdecorations -Ieffects -isystem /opt/qt5/include -isystem
/opt/qt5/include/QtWidgets -isystem /opt/qt5/include/QtGui -isystem
/opt/qt5/include/QtCore -isystem /opt/qt5/mkspecs/linux-g++ -isystem
/opt/qt5/include/KF5/KConfigCore -isystem /opt/qt5/include/KF5 -isystem
/opt/qt5/include/KF5/KService -isystem /opt/qt5/include/KF5/KCoreAddons -
isystem /opt/qt5/include/KF5/KWindowSystem -isystem /opt/qt5/include/QtDBus -
isystem /opt/qt5/include/QtX11Extras -isystem /opt/qt5/include/QtConcurrent -
isystem /opt/qt5/include/QtQuick -isystem /opt/qt5/include/QtQml -
I/opt/qt5/include/QtNetwork -isystem /opt/qt5/include/QtScript -isystem
/opt/qt5/include/KF5/KConfigWidgets -isystem /opt/qt5/include/KF5/KCodecs -
isystem /opt/qt5/include/KF5/KWidgetsAddons -isystem
/opt/qt5/include/KF5/KConfigGui -I/opt/qt5/include/QtXml -isystem
/opt/qt5/include/KF5/KAuth -isystem /opt/qt5/include/KF5/KCrash -isystem
/opt/qt5/include/KF5/KGlobalAccel -isystem /opt/qt5/include/KF5/KI18n -isystem
/opt/qt5/include/KF5/KNotifications -isystem /opt/qt5/include/KF5/Plasma -
isystem /opt/qt5/include/KF5/KActivities -MMD -MT
CMakeFiles/kwin.dir/scripting/scripting.cpp.o -MF
CMakeFiles/kwin.dir/scripting/scripting.cpp.o.d -o
CMakeFiles/kwin.dir/scripting/scripting.cpp.o -c /var/git/qt5/plasma-
ws/kwin/scripting/scripting.cpp
/var/git/qt5/plasma-ws/kwin/scripting/scripting.cpp: In member function
'LoadScriptList KWin::Scripting::queryScriptsToLoad()':
/var/git/qt5/plasma-ws/kwin/scripting/scripting.cpp:669:39: warning:
'KPluginInfo::KPluginInfo(KService::Ptr)' is deprecated (declared at
/opt/qt5/include/KF5/KService/kplugininfo.h:114) [-Wdeprecated-declarations]
KPluginInfo plugininfo(service);
^
In file included from /opt/qt5/include/QtQml/qqml.h:45:0,
from /opt/qt5/include/QtQuick/qquickitem.h:46,
from /opt/qt5/include/QtQuick/qquickpainteditem.h:45,
from /opt/qt5/include/QtQuick/QQuickPaintedItem:1,
from /var/git/qt5/plasma-
ws/kwin/scripting/../thumbnailitem.h:26,
from /var/git/qt5/plasma-ws/kwin/scripting/scripting.cpp:31:
/opt/qt5/include/QtQml/qqmlprivate.h: In instantiation of 'static QObject*
QQmlPrivate::AttachedPropertySelector<T, 1>::attachedProperties(QObject*)
[with T = QQuickWindow]':
/opt/qt5/include/QtQml/qqmlprivate.h:188:20: required from 'static QObject*
(* QQmlPrivate::AttachedPropertySelector<T, 1>::func())(QObject*) [with T =
QQuickWindow; QQmlAttachedPropertiesFunc = QObject* (*)(QObject*)]'
/opt/qt5/include/QtQml/qqmlprivate.h:198:130: required from 'QObject* (*
QQmlPrivate::attachedPropertiesFunc())(QObject*) [with T = QQuickWindow;
QQmlAttachedPropertiesFunc = QObject* (*)(QObject*)]'
/opt/qt5/include/QtQml/qqml.h:121:48: required from 'int qmlRegisterType()
[with T = QQuickWindow]'
/var/git/qt5/plasma-ws/kwin/scripting/scripting.cpp:623:35: required from
here
/opt/qt5/include/QtQml/qqmlprivate.h:180:48: error: cannot convert
'QQuickWindowAttached*' to 'QObject*' in return
return T::qmlAttachedProperties(obj);
^
/opt/qt5/include/QtQml/qqmlprivate.h: In instantiation of 'static const
QMetaObject* QQmlPrivate::AttachedPropertySelector<T,
1>::attachedPropertiesMetaObject(ReturnType* (*)(QObject*)) [with ReturnType =
QQuickWindowAttached; T = QQuickWindow]':
/opt/qt5/include/QtQml/qqmlprivate.h:191:74: required from 'static const
QMetaObject* QQmlPrivate::AttachedPropertySelector<T, 1>::metaObject() [with T
= QQuickWindow]'
/opt/qt5/include/QtQml/qqmlprivate.h:204:136: required from 'const
QMetaObject* QQmlPrivate::attachedPropertiesMetaObject() [with T =
QQuickWindow]'
/opt/qt5/include/QtQml/qqml.h:122:54: required from 'int qmlRegisterType()
[with T = QQuickWindow]'
/var/git/qt5/plasma-ws/kwin/scripting/scripting.cpp:623:35: required from
here
: return &ReturnType::staticMetaObject;
^
ninja: build stopped: subcommand failed.
E
More information about the Plasma-devel
mailing list