Description
GammaRay 5.13 branch fails to build on Qt 5.13
Commit: 1600d7510e4059f42000c8e9adf04d61f0b9738f
Build Env: MacOS MacOS_10_13 (clang-x86_64)
agent:2019/05/13 10:51:04 build.go:197: [ 64%] Building CXX object tests/CMakeFiles/qmlsupporttest.dir/__/plugins/qmlsupport/qmlattachedpropertyadaptor.cpp.o
agent:2019/05/13 10:51:04 build.go:197: /Users/qt/work/KDAB/GammaRay/tests/problemreportertest.cpp:362:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant]
agent:2019/05/13 10:51:04 build.go:197: disconnect(o1.get(), 0, o2.get(), 0);
agent:2019/05/13 10:51:04 build.go:197: ^
agent:2019/05/13 10:51:04 build.go:197: nullptr
agent:2019/05/13 10:51:04 build.go:197: /Users/qt/work/KDAB/GammaRay/tests/problemreportertest.cpp:362:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant]
agent:2019/05/13 10:51:04 build.go:197: disconnect(o1.get(), 0, o2.get(), 0);
agent:2019/05/13 10:51:04 build.go:197: ^
agent:2019/05/13 10:51:04 build.go:197: nullptr
agent:2019/05/13 10:51:05 build.go:197: [ 64%] Linking CXX executable ../bin/quickinspectortest2
agent:2019/05/13 10:51:05 build.go:197: [ 64%] Built target quickinspectortest2
agent:2019/05/13 10:51:05 build.go:197: Scanning dependencies of target benchsuite
agent:2019/05/13 10:51:05 build.go:197: /Users/qt/work/KDAB/GammaRay/plugins/qmlsupport/qmlattachedpropertyadaptor.cpp:57:25: error: no matching member function for call to 'push_back'
agent:2019/05/13 10:51:05 build.go:197: m_attachedTypes.push_back(it.key());
agent:2019/05/13 10:51:05 build.go:197: ~~~~~~~~~~~~~~~^~~~~~~~
agent:2019/05/13 10:51:05 build.go:197: /Users/qt/work/install/lib/QtCore.framework/Headers/qvector.h:265:17: note: candidate function not viable: no known conversion from 'QObject *(*const)(QObject *)' to 'const int' for 1st argument
agent:2019/05/13 10:51:05 build.go:197: inline void push_back(const T &t)
agent:2019/05/13 10:51:05 build.go:197: ^
agent:2019/05/13 10:51:05 build.go:197: /Users/qt/work/install/lib/QtCore.framework/Headers/qvector.h:267:10: note: candidate function not viable: no known conversion from 'QObject *(*const)(QObject *)' to 'int' for 1st argument
agent:2019/05/13 10:51:05 build.go:197: void push_back(T &&t)
agent:2019/05/13 10:51:05 build.go:197: ^
agent:2019/05/13 10:51:05 build.go:197: /Users/qt/work/KDAB/GammaRay/plugins/qmlsupport/qmlattachedpropertyadaptor.cpp:78:53: error: reference to type 'QObject *(*const)(QObject *)' could not bind to an lvalue of type 'const int'
agent:2019/05/13 10:51:05 build.go:197: auto it = data->attachedProperties()->constFind(m_attachedTypes.at(index));
agent:2019/05/13 10:51:05 build.go:197: ^~~~~~~~~~~~~~~~~~~~~~~~~
agent:2019/05/13 10:51:05 build.go:197: /Users/qt/work/install/lib/QtCore.framework/Headers/qhash.h:486:41: note: passing argument to parameter 'key' here
agent:2019/05/13 10:51:05 build.go:197: const_iterator constFind(const Key &key) const;
agent:2019/05/13 10:51:05 build.go:197: ^
agent:2019/05/13 10:51:05 build.go:197: [ 65%] Building CXX object tests/CMakeFiles/qmlsupporttest.dir/__/plugins/qmlsupport/qjsvaluepropertyadaptor.cpp.o
agent:2019/05/13 10:51:05 build.go:197: [ 66%] Building CXX object tests/CMakeFiles/benchsuite.dir/benchsuite.cpp.o
agent:2019/05/13 10:51:05 build.go:197: 2 errors generated.
agent:2019/05/13 10:51:05 build.go:197: make[4]: *** [tests/CMakeFiles/qmlsupporttest.dir/__/plugins/qmlsupport/qmlattachedpropertyadaptor.cpp.o] Error 1