[PyQt] Build error in qpyqml_register_type.cpp

Oli Sturm oliver at oliversturm.com
Fri Jul 20 16:02:26 BST 2018


Hi,

I'm building against Qt 5.11.1, using source version 5.11.2 from
https://riverbankcomputing.com/software/pyqt/download5/ - I have also tried
the current snapshot of 5.11.3 though, with the same results.

The environment is Ubuntu Bionic and g++ shows version 7.3.0.

I receive errors when building qpyqml_register_type.cpp (below). I'm not
doing much C++ these days but I think I understand what "template argument
2 is invalid" means - though I have no clue how and why it applies here.
Any ideas what might cause this?

Thanks

Oli


g++ -c -pipe -O2 -fno-exceptions -Wall -W -D_REENTRANT -fPIC
-DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DPy_LIMITED_API=0x03040000
-DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_QML_LIB
-DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_NAMESPACE=qt5 -I. -I.
-I../../../qutebrowser/include/python3.6m -isystem /usr/include/python3.6m
-I../qpy/QtQml -I/usr/local/Qt-5.11.1/include
-I/usr/local/Qt-5.11.1/include/QtGui -I/usr/local/Qt-5.11.1/include/QtQml
-I/usr/local/Qt-5.11.1/include/QtNetwork
-I/usr/local/Qt-5.11.1/include/QtCore -I. -isystem /usr/include/libdrm
-I/usr/local/Qt-5.11.1/mkspecs/linux-g++ -o qpyqml_register_type.o
../qpy/QtQml/qpyqml_register_type.cpp
../qpy/QtQml/qpyqml_register_type.cpp: In function
‘qt5::QQmlPrivate::RegisterType* init_type(PyTypeObject*, bool, int,
PyTypeObject*)’:
../qpy/QtQml/qpyqml_register_type.cpp:136:112: error: template argument 2
is invalid
         rt->valueInterceptorCast =
QQmlPrivate::StaticCastSelector<QPyQmlObject##n,QQmlPropertyValueInterceptor>::cast();
\

                                    ^
../qpy/QtQml/qpyqml_register_type.cpp:301:9: note: in expansion of macro
‘QPYQML_TYPE_INIT’
         QPYQML_TYPE_INIT(0);
         ^~~~~~~~~~~~~~~~
../qpy/QtQml/qpyqml_register_type.cpp:136:112: error: template argument 2
is invalid
         rt->valueInterceptorCast =
QQmlPrivate::StaticCastSelector<QPyQmlObject##n,QQmlPropertyValueInterceptor>::cast();
\

                                    ^
../qpy/QtQml/qpyqml_register_type.cpp:302:9: note: in expansion of macro
‘QPYQML_TYPE_INIT’
         QPYQML_TYPE_INIT(1);
         ^~~~~~~~~~~~~~~~
../qpy/QtQml/qpyqml_register_type.cpp:136:112: error: template argument 2
is invalid
         rt->valueInterceptorCast =
QQmlPrivate::StaticCastSelector<QPyQmlObject##n,QQmlPropertyValueInterceptor>::cast();
\

                                    ^
../qpy/QtQml/qpyqml_register_type.cpp:303:9: note: in expansion of macro
‘QPYQML_TYPE_INIT’
         QPYQML_TYPE_INIT(2);
         ^~~~~~~~~~~~~~~~
../qpy/QtQml/qpyqml_register_type.cpp:136:112: error: template argument 2
is invalid
         rt->valueInterceptorCast =
QQmlPrivate::StaticCastSelector<QPyQmlObject##n,QQmlPropertyValueInterceptor>::cast();
\

                                    ^
../qpy/QtQml/qpyqml_register_type.cpp:304:9: note: in expansion of macro
‘QPYQML_TYPE_INIT’
         QPYQML_TYPE_INIT(3);
         ^~~~~~~~~~~~~~~~
../qpy/QtQml/qpyqml_register_type.cpp:136:112: error: template argument 2
is invalid
         rt->valueInterceptorCast =
QQmlPrivate::StaticCastSelector<QPyQmlObject##n,QQmlPropertyValueInterceptor>::cast();
\

                                    ^
../qpy/QtQml/qpyqml_register_type.cpp:305:9: note: in expansion of macro
‘QPYQML_TYPE_INIT’
         QPYQML_TYPE_INIT(4);
         ^~~~~~~~~~~~~~~~
../qpy/QtQml/qpyqml_register_type.cpp:136:112: error: template argument 2
is invalid
         rt->valueInterceptorCast =
QQmlPrivate::StaticCastSelector<QPyQmlObject##n,QQmlPropertyValueInterceptor>::cast();
\

                                    ^
../qpy/QtQml/qpyqml_register_type.cpp:306:9: note: in expansion of macro
‘QPYQML_TYPE_INIT’
         QPYQML_TYPE_INIT(5);
         ^~~~~~~~~~~~~~~~
../qpy/QtQml/qpyqml_register_type.cpp:136:112: error: template argument 2
is invalid
         rt->valueInterceptorCast =
QQmlPrivate::StaticCastSelector<QPyQmlObject##n,QQmlPropertyValueInterceptor>::cast();
\

                                    ^
../qpy/QtQml/qpyqml_register_type.cpp:307:9: note: in expansion of macro
‘QPYQML_TYPE_INIT’
         QPYQML_TYPE_INIT(6);
         ^~~~~~~~~~~~~~~~
../qpy/QtQml/qpyqml_register_type.cpp:136:112: error: template argument 2
is invalid
         rt->valueInterceptorCast =
QQmlPrivate::StaticCastSelector<QPyQmlObject##n,QQmlPropertyValueInterceptor>::cast();
\

                                    ^
../qpy/QtQml/qpyqml_register_type.cpp:308:9: note: in expansion of macro
‘QPYQML_TYPE_INIT’
         QPYQML_TYPE_INIT(7);
         ^~~~~~~~~~~~~~~~
../qpy/QtQml/qpyqml_register_type.cpp:136:112: error: template argument 2
is invalid
         rt->valueInterceptorCast =
QQmlPrivate::StaticCastSelector<QPyQmlObject##n,QQmlPropertyValueInterceptor>::cast();
\

                                    ^
../qpy/QtQml/qpyqml_register_type.cpp:309:9: note: in expansion of macro
‘QPYQML_TYPE_INIT’
         QPYQML_TYPE_INIT(8);
         ^~~~~~~~~~~~~~~~
../qpy/QtQml/qpyqml_register_type.cpp:136:112: error: template argument 2
is invalid
         rt->valueInterceptorCast =
QQmlPrivate::StaticCastSelector<QPyQmlObject##n,QQmlPropertyValueInterceptor>::cast();
\

                                    ^
../qpy/QtQml/qpyqml_register_type.cpp:310:9: note: in expansion of macro
‘QPYQML_TYPE_INIT’
         QPYQML_TYPE_INIT(9);
         ^~~~~~~~~~~~~~~~
../qpy/QtQml/qpyqml_register_type.cpp:136:112: error: template argument 2
is invalid
         rt->valueInterceptorCast =
QQmlPrivate::StaticCastSelector<QPyQmlObject##n,QQmlPropertyValueInterceptor>::cast();
\

                                    ^
../qpy/QtQml/qpyqml_register_type.cpp:311:9: note: in expansion of macro
‘QPYQML_TYPE_INIT’
         QPYQML_TYPE_INIT(10);
         ^~~~~~~~~~~~~~~~
../qpy/QtQml/qpyqml_register_type.cpp:136:112: error: template argument 2
is invalid
         rt->valueInterceptorCast =
QQmlPrivate::StaticCastSelector<QPyQmlObject##n,QQmlPropertyValueInterceptor>::cast();
\

                                    ^
../qpy/QtQml/qpyqml_register_type.cpp:312:9: note: in expansion of macro
‘QPYQML_TYPE_INIT’
         QPYQML_TYPE_INIT(11);
         ^~~~~~~~~~~~~~~~
../qpy/QtQml/qpyqml_register_type.cpp:136:112: error: template argument 2
is invalid
         rt->valueInterceptorCast =
QQmlPrivate::StaticCastSelector<QPyQmlObject##n,QQmlPropertyValueInterceptor>::cast();
\

                                    ^
../qpy/QtQml/qpyqml_register_type.cpp:313:9: note: in expansion of macro
‘QPYQML_TYPE_INIT’
         QPYQML_TYPE_INIT(12);
         ^~~~~~~~~~~~~~~~
../qpy/QtQml/qpyqml_register_type.cpp:136:112: error: template argument 2
is invalid
         rt->valueInterceptorCast =
QQmlPrivate::StaticCastSelector<QPyQmlObject##n,QQmlPropertyValueInterceptor>::cast();
\

                                    ^
../qpy/QtQml/qpyqml_register_type.cpp:314:9: note: in expansion of macro
‘QPYQML_TYPE_INIT’
         QPYQML_TYPE_INIT(13);
         ^~~~~~~~~~~~~~~~
../qpy/QtQml/qpyqml_register_type.cpp:136:112: error: template argument 2
is invalid
         rt->valueInterceptorCast =
QQmlPrivate::StaticCastSelector<QPyQmlObject##n,QQmlPropertyValueInterceptor>::cast();
\

                                    ^
../qpy/QtQml/qpyqml_register_type.cpp:315:9: note: in expansion of macro
‘QPYQML_TYPE_INIT’
         QPYQML_TYPE_INIT(14);
         ^~~~~~~~~~~~~~~~
../qpy/QtQml/qpyqml_register_type.cpp:136:112: error: template argument 2
is invalid
         rt->valueInterceptorCast =
QQmlPrivate::StaticCastSelector<QPyQmlObject##n,QQmlPropertyValueInterceptor>::cast();
\

                                    ^
../qpy/QtQml/qpyqml_register_type.cpp:316:9: note: in expansion of macro
‘QPYQML_TYPE_INIT’
         QPYQML_TYPE_INIT(15);
         ^~~~~~~~~~~~~~~~
../qpy/QtQml/qpyqml_register_type.cpp:136:112: error: template argument 2
is invalid
         rt->valueInterceptorCast =
QQmlPrivate::StaticCastSelector<QPyQmlObject##n,QQmlPropertyValueInterceptor>::cast();
\

                                    ^
../qpy/QtQml/qpyqml_register_type.cpp:317:9: note: in expansion of macro
‘QPYQML_TYPE_INIT’
         QPYQML_TYPE_INIT(16);
         ^~~~~~~~~~~~~~~~
../qpy/QtQml/qpyqml_register_type.cpp:136:112: error: template argument 2
is invalid
         rt->valueInterceptorCast =
QQmlPrivate::StaticCastSelector<QPyQmlObject##n,QQmlPropertyValueInterceptor>::cast();
\

                                    ^
../qpy/QtQml/qpyqml_register_type.cpp:318:9: note: in expansion of macro
‘QPYQML_TYPE_INIT’
         QPYQML_TYPE_INIT(17);
         ^~~~~~~~~~~~~~~~
../qpy/QtQml/qpyqml_register_type.cpp:136:112: error: template argument 2
is invalid
         rt->valueInterceptorCast =
QQmlPrivate::StaticCastSelector<QPyQmlObject##n,QQmlPropertyValueInterceptor>::cast();
\

                                    ^
../qpy/QtQml/qpyqml_register_type.cpp:319:9: note: in expansion of macro
‘QPYQML_TYPE_INIT’
         QPYQML_TYPE_INIT(18);
         ^~~~~~~~~~~~~~~~
../qpy/QtQml/qpyqml_register_type.cpp:136:112: error: template argument 2
is invalid
         rt->valueInterceptorCast =
QQmlPrivate::StaticCastSelector<QPyQmlObject##n,QQmlPropertyValueInterceptor>::cast();
\

                                    ^
../qpy/QtQml/qpyqml_register_type.cpp:320:9: note: in expansion of macro
‘QPYQML_TYPE_INIT’
         QPYQML_TYPE_INIT(19);
         ^~~~~~~~~~~~~~~~
../qpy/QtQml/qpyqml_register_type.cpp:136:112: error: template argument 2
is invalid
         rt->valueInterceptorCast =
QQmlPrivate::StaticCastSelector<QPyQmlObject##n,QQmlPropertyValueInterceptor>::cast();
\

                                    ^
../qpy/QtQml/qpyqml_register_type.cpp:321:9: note: in expansion of macro
‘QPYQML_TYPE_INIT’
         QPYQML_TYPE_INIT(20);
         ^~~~~~~~~~~~~~~~
../qpy/QtQml/qpyqml_register_type.cpp:136:112: error: template argument 2
is invalid
         rt->valueInterceptorCast =
QQmlPrivate::StaticCastSelector<QPyQmlObject##n,QQmlPropertyValueInterceptor>::cast();
\

                                    ^
../qpy/QtQml/qpyqml_register_type.cpp:322:9: note: in expansion of macro
‘QPYQML_TYPE_INIT’
         QPYQML_TYPE_INIT(21);
         ^~~~~~~~~~~~~~~~
../qpy/QtQml/qpyqml_register_type.cpp:136:112: error: template argument 2
is invalid
         rt->valueInterceptorCast =
QQmlPrivate::StaticCastSelector<QPyQmlObject##n,QQmlPropertyValueInterceptor>::cast();
\

                                    ^
../qpy/QtQml/qpyqml_register_type.cpp:323:9: note: in expansion of macro
‘QPYQML_TYPE_INIT’
         QPYQML_TYPE_INIT(22);
         ^~~~~~~~~~~~~~~~
../qpy/QtQml/qpyqml_register_type.cpp:136:112: error: template argument 2
is invalid
         rt->valueInterceptorCast =
QQmlPrivate::StaticCastSelector<QPyQmlObject##n,QQmlPropertyValueInterceptor>::cast();
\

                                    ^
../qpy/QtQml/qpyqml_register_type.cpp:324:9: note: in expansion of macro
‘QPYQML_TYPE_INIT’
         QPYQML_TYPE_INIT(23);
         ^~~~~~~~~~~~~~~~
../qpy/QtQml/qpyqml_register_type.cpp:136:112: error: template argument 2
is invalid
         rt->valueInterceptorCast =
QQmlPrivate::StaticCastSelector<QPyQmlObject##n,QQmlPropertyValueInterceptor>::cast();
\

                                    ^
../qpy/QtQml/qpyqml_register_type.cpp:325:9: note: in expansion of macro
‘QPYQML_TYPE_INIT’
         QPYQML_TYPE_INIT(24);
         ^~~~~~~~~~~~~~~~
../qpy/QtQml/qpyqml_register_type.cpp:136:112: error: template argument 2
is invalid
         rt->valueInterceptorCast =
QQmlPrivate::StaticCastSelector<QPyQmlObject##n,QQmlPropertyValueInterceptor>::cast();
\

                                    ^
../qpy/QtQml/qpyqml_register_type.cpp:326:9: note: in expansion of macro
‘QPYQML_TYPE_INIT’
         QPYQML_TYPE_INIT(25);
         ^~~~~~~~~~~~~~~~
../qpy/QtQml/qpyqml_register_type.cpp:136:112: error: template argument 2
is invalid
         rt->valueInterceptorCast =
QQmlPrivate::StaticCastSelector<QPyQmlObject##n,QQmlPropertyValueInterceptor>::cast();
\

                                    ^
../qpy/QtQml/qpyqml_register_type.cpp:327:9: note: in expansion of macro
‘QPYQML_TYPE_INIT’
         QPYQML_TYPE_INIT(26);
         ^~~~~~~~~~~~~~~~
../qpy/QtQml/qpyqml_register_type.cpp:136:112: error: template argument 2
is invalid
         rt->valueInterceptorCast =
QQmlPrivate::StaticCastSelector<QPyQmlObject##n,QQmlPropertyValueInterceptor>::cast();
\

                                    ^
../qpy/QtQml/qpyqml_register_type.cpp:328:9: note: in expansion of macro
‘QPYQML_TYPE_INIT’
         QPYQML_TYPE_INIT(27);
         ^~~~~~~~~~~~~~~~
../qpy/QtQml/qpyqml_register_type.cpp:136:112: error: template argument 2
is invalid
         rt->valueInterceptorCast =
QQmlPrivate::StaticCastSelector<QPyQmlObject##n,QQmlPropertyValueInterceptor>::cast();
\

                                    ^
../qpy/QtQml/qpyqml_register_type.cpp:329:9: note: in expansion of macro
‘QPYQML_TYPE_INIT’
         QPYQML_TYPE_INIT(28);
         ^~~~~~~~~~~~~~~~
../qpy/QtQml/qpyqml_register_type.cpp:136:112: error: template argument 2
is invalid
         rt->valueInterceptorCast =
QQmlPrivate::StaticCastSelector<QPyQmlObject##n,QQmlPropertyValueInterceptor>::cast();
\

                                    ^
../qpy/QtQml/qpyqml_register_type.cpp:330:9: note: in expansion of macro
‘QPYQML_TYPE_INIT’
         QPYQML_TYPE_INIT(29);
         ^~~~~~~~~~~~~~~~
../qpy/QtQml/qpyqml_register_type.cpp:136:112: error: template argument 2
is invalid
         rt->valueInterceptorCast =
QQmlPrivate::StaticCastSelector<QPyQmlObject##n,QQmlPropertyValueInterceptor>::cast();
\

                                    ^
../qpy/QtQml/qpyqml_register_type.cpp:331:9: note: in expansion of macro
‘QPYQML_TYPE_INIT’
         QPYQML_TYPE_INIT(30);
         ^~~~~~~~~~~~~~~~
../qpy/QtQml/qpyqml_register_type.cpp:136:112: error: template argument 2
is invalid
         rt->valueInterceptorCast =
QQmlPrivate::StaticCastSelector<QPyQmlObject##n,QQmlPropertyValueInterceptor>::cast();
\

                                    ^
../qpy/QtQml/qpyqml_register_type.cpp:332:9: note: in expansion of macro
‘QPYQML_TYPE_INIT’
         QPYQML_TYPE_INIT(31);
         ^~~~~~~~~~~~~~~~
../qpy/QtQml/qpyqml_register_type.cpp:136:112: error: template argument 2
is invalid
         rt->valueInterceptorCast =
QQmlPrivate::StaticCastSelector<QPyQmlObject##n,QQmlPropertyValueInterceptor>::cast();
\

                                    ^
../qpy/QtQml/qpyqml_register_type.cpp:333:9: note: in expansion of macro
‘QPYQML_TYPE_INIT’
         QPYQML_TYPE_INIT(32);
         ^~~~~~~~~~~~~~~~
../qpy/QtQml/qpyqml_register_type.cpp:136:112: error: template argument 2
is invalid
         rt->valueInterceptorCast =
QQmlPrivate::StaticCastSelector<QPyQmlObject##n,QQmlPropertyValueInterceptor>::cast();
\

                                    ^
../qpy/QtQml/qpyqml_register_type.cpp:334:9: note: in expansion of macro
‘QPYQML_TYPE_INIT’
         QPYQML_TYPE_INIT(33);
         ^~~~~~~~~~~~~~~~
../qpy/QtQml/qpyqml_register_type.cpp:136:112: error: template argument 2
is invalid
         rt->valueInterceptorCast =
QQmlPrivate::StaticCastSelector<QPyQmlObject##n,QQmlPropertyValueInterceptor>::cast();
\

                                    ^
../qpy/QtQml/qpyqml_register_type.cpp:335:9: note: in expansion of macro
‘QPYQML_TYPE_INIT’
         QPYQML_TYPE_INIT(34);
         ^~~~~~~~~~~~~~~~
../qpy/QtQml/qpyqml_register_type.cpp:136:112: error: template argument 2
is invalid
         rt->valueInterceptorCast =
QQmlPrivate::StaticCastSelector<QPyQmlObject##n,QQmlPropertyValueInterceptor>::cast();
\

                                    ^
../qpy/QtQml/qpyqml_register_type.cpp:336:9: note: in expansion of macro
‘QPYQML_TYPE_INIT’
         QPYQML_TYPE_INIT(35);
         ^~~~~~~~~~~~~~~~
../qpy/QtQml/qpyqml_register_type.cpp:136:112: error: template argument 2
is invalid
         rt->valueInterceptorCast =
QQmlPrivate::StaticCastSelector<QPyQmlObject##n,QQmlPropertyValueInterceptor>::cast();
\

                                    ^
../qpy/QtQml/qpyqml_register_type.cpp:337:9: note: in expansion of macro
‘QPYQML_TYPE_INIT’
         QPYQML_TYPE_INIT(36);
         ^~~~~~~~~~~~~~~~
../qpy/QtQml/qpyqml_register_type.cpp:136:112: error: template argument 2
is invalid
         rt->valueInterceptorCast =
QQmlPrivate::StaticCastSelector<QPyQmlObject##n,QQmlPropertyValueInterceptor>::cast();
\

                                    ^
../qpy/QtQml/qpyqml_register_type.cpp:338:9: note: in expansion of macro
‘QPYQML_TYPE_INIT’
         QPYQML_TYPE_INIT(37);
         ^~~~~~~~~~~~~~~~
../qpy/QtQml/qpyqml_register_type.cpp:136:112: error: template argument 2
is invalid
         rt->valueInterceptorCast =
QQmlPrivate::StaticCastSelector<QPyQmlObject##n,QQmlPropertyValueInterceptor>::cast();
\

                                    ^
../qpy/QtQml/qpyqml_register_type.cpp:339:9: note: in expansion of macro
‘QPYQML_TYPE_INIT’
         QPYQML_TYPE_INIT(38);
         ^~~~~~~~~~~~~~~~
../qpy/QtQml/qpyqml_register_type.cpp:136:112: error: template argument 2
is invalid
         rt->valueInterceptorCast =
QQmlPrivate::StaticCastSelector<QPyQmlObject##n,QQmlPropertyValueInterceptor>::cast();
\

                                    ^
../qpy/QtQml/qpyqml_register_type.cpp:340:9: note: in expansion of macro
‘QPYQML_TYPE_INIT’
         QPYQML_TYPE_INIT(39);
         ^~~~~~~~~~~~~~~~
../qpy/QtQml/qpyqml_register_type.cpp:136:112: error: template argument 2
is invalid
         rt->valueInterceptorCast =
QQmlPrivate::StaticCastSelector<QPyQmlObject##n,QQmlPropertyValueInterceptor>::cast();
\

                                    ^
../qpy/QtQml/qpyqml_register_type.cpp:341:9: note: in expansion of macro
‘QPYQML_TYPE_INIT’
         QPYQML_TYPE_INIT(40);
         ^~~~~~~~~~~~~~~~
../qpy/QtQml/qpyqml_register_type.cpp:136:112: error: template argument 2
is invalid
         rt->valueInterceptorCast =
QQmlPrivate::StaticCastSelector<QPyQmlObject##n,QQmlPropertyValueInterceptor>::cast();
\

                                    ^
../qpy/QtQml/qpyqml_register_type.cpp:342:9: note: in expansion of macro
‘QPYQML_TYPE_INIT’
         QPYQML_TYPE_INIT(41);
         ^~~~~~~~~~~~~~~~
../qpy/QtQml/qpyqml_register_type.cpp:136:112: error: template argument 2
is invalid
         rt->valueInterceptorCast =
QQmlPrivate::StaticCastSelector<QPyQmlObject##n,QQmlPropertyValueInterceptor>::cast();
\

                                    ^
../qpy/QtQml/qpyqml_register_type.cpp:343:9: note: in expansion of macro
‘QPYQML_TYPE_INIT’
         QPYQML_TYPE_INIT(42);
         ^~~~~~~~~~~~~~~~
../qpy/QtQml/qpyqml_register_type.cpp:136:112: error: template argument 2
is invalid
         rt->valueInterceptorCast =
QQmlPrivate::StaticCastSelector<QPyQmlObject##n,QQmlPropertyValueInterceptor>::cast();
\

                                    ^
../qpy/QtQml/qpyqml_register_type.cpp:344:9: note: in expansion of macro
‘QPYQML_TYPE_INIT’
         QPYQML_TYPE_INIT(43);
         ^~~~~~~~~~~~~~~~
../qpy/QtQml/qpyqml_register_type.cpp:136:112: error: template argument 2
is invalid
         rt->valueInterceptorCast =
QQmlPrivate::StaticCastSelector<QPyQmlObject##n,QQmlPropertyValueInterceptor>::cast();
\

                                    ^
../qpy/QtQml/qpyqml_register_type.cpp:345:9: note: in expansion of macro
‘QPYQML_TYPE_INIT’
         QPYQML_TYPE_INIT(44);
         ^~~~~~~~~~~~~~~~
../qpy/QtQml/qpyqml_register_type.cpp:136:112: error: template argument 2
is invalid
         rt->valueInterceptorCast =
QQmlPrivate::StaticCastSelector<QPyQmlObject##n,QQmlPropertyValueInterceptor>::cast();
\

                                    ^
../qpy/QtQml/qpyqml_register_type.cpp:346:9: note: in expansion of macro
‘QPYQML_TYPE_INIT’
         QPYQML_TYPE_INIT(45);
         ^~~~~~~~~~~~~~~~
../qpy/QtQml/qpyqml_register_type.cpp:136:112: error: template argument 2
is invalid
         rt->valueInterceptorCast =
QQmlPrivate::StaticCastSelector<QPyQmlObject##n,QQmlPropertyValueInterceptor>::cast();
\

                                    ^
../qpy/QtQml/qpyqml_register_type.cpp:347:9: note: in expansion of macro
‘QPYQML_TYPE_INIT’
         QPYQML_TYPE_INIT(46);
         ^~~~~~~~~~~~~~~~
../qpy/QtQml/qpyqml_register_type.cpp:136:112: error: template argument 2
is invalid
         rt->valueInterceptorCast =
QQmlPrivate::StaticCastSelector<QPyQmlObject##n,QQmlPropertyValueInterceptor>::cast();
\

                                    ^
../qpy/QtQml/qpyqml_register_type.cpp:348:9: note: in expansion of macro
‘QPYQML_TYPE_INIT’
         QPYQML_TYPE_INIT(47);
         ^~~~~~~~~~~~~~~~
../qpy/QtQml/qpyqml_register_type.cpp:136:112: error: template argument 2
is invalid
         rt->valueInterceptorCast =
QQmlPrivate::StaticCastSelector<QPyQmlObject##n,QQmlPropertyValueInterceptor>::cast();
\

                                    ^
../qpy/QtQml/qpyqml_register_type.cpp:349:9: note: in expansion of macro
‘QPYQML_TYPE_INIT’
         QPYQML_TYPE_INIT(48);
         ^~~~~~~~~~~~~~~~
../qpy/QtQml/qpyqml_register_type.cpp:136:112: error: template argument 2
is invalid
         rt->valueInterceptorCast =
QQmlPrivate::StaticCastSelector<QPyQmlObject##n,QQmlPropertyValueInterceptor>::cast();
\

                                    ^
../qpy/QtQml/qpyqml_register_type.cpp:350:9: note: in expansion of macro
‘QPYQML_TYPE_INIT’
         QPYQML_TYPE_INIT(49);
         ^~~~~~~~~~~~~~~~
../qpy/QtQml/qpyqml_register_type.cpp:136:112: error: template argument 2
is invalid
         rt->valueInterceptorCast =
QQmlPrivate::StaticCastSelector<QPyQmlObject##n,QQmlPropertyValueInterceptor>::cast();
\

                                    ^
../qpy/QtQml/qpyqml_register_type.cpp:351:9: note: in expansion of macro
‘QPYQML_TYPE_INIT’
         QPYQML_TYPE_INIT(50);
         ^~~~~~~~~~~~~~~~
../qpy/QtQml/qpyqml_register_type.cpp:136:112: error: template argument 2
is invalid
         rt->valueInterceptorCast =
QQmlPrivate::StaticCastSelector<QPyQmlObject##n,QQmlPropertyValueInterceptor>::cast();
\

                                    ^
../qpy/QtQml/qpyqml_register_type.cpp:352:9: note: in expansion of macro
‘QPYQML_TYPE_INIT’
         QPYQML_TYPE_INIT(51);
         ^~~~~~~~~~~~~~~~
../qpy/QtQml/qpyqml_register_type.cpp:136:112: error: template argument 2
is invalid
         rt->valueInterceptorCast =
QQmlPrivate::StaticCastSelector<QPyQmlObject##n,QQmlPropertyValueInterceptor>::cast();
\

                                    ^
../qpy/QtQml/qpyqml_register_type.cpp:353:9: note: in expansion of macro
‘QPYQML_TYPE_INIT’
         QPYQML_TYPE_INIT(52);
         ^~~~~~~~~~~~~~~~
../qpy/QtQml/qpyqml_register_type.cpp:136:112: error: template argument 2
is invalid
         rt->valueInterceptorCast =
QQmlPrivate::StaticCastSelector<QPyQmlObject##n,QQmlPropertyValueInterceptor>::cast();
\

                                    ^
../qpy/QtQml/qpyqml_register_type.cpp:354:9: note: in expansion of macro
‘QPYQML_TYPE_INIT’
         QPYQML_TYPE_INIT(53);
         ^~~~~~~~~~~~~~~~
../qpy/QtQml/qpyqml_register_type.cpp:136:112: error: template argument 2
is invalid
         rt->valueInterceptorCast =
QQmlPrivate::StaticCastSelector<QPyQmlObject##n,QQmlPropertyValueInterceptor>::cast();
\

                                    ^
../qpy/QtQml/qpyqml_register_type.cpp:355:9: note: in expansion of macro
‘QPYQML_TYPE_INIT’
         QPYQML_TYPE_INIT(54);
         ^~~~~~~~~~~~~~~~
../qpy/QtQml/qpyqml_register_type.cpp:136:112: error: template argument 2
is invalid
         rt->valueInterceptorCast =
QQmlPrivate::StaticCastSelector<QPyQmlObject##n,QQmlPropertyValueInterceptor>::cast();
\

                                    ^
../qpy/QtQml/qpyqml_register_type.cpp:356:9: note: in expansion of macro
‘QPYQML_TYPE_INIT’
         QPYQML_TYPE_INIT(55);
         ^~~~~~~~~~~~~~~~
../qpy/QtQml/qpyqml_register_type.cpp:136:112: error: template argument 2
is invalid
         rt->valueInterceptorCast =
QQmlPrivate::StaticCastSelector<QPyQmlObject##n,QQmlPropertyValueInterceptor>::cast();
\

                                    ^
../qpy/QtQml/qpyqml_register_type.cpp:357:9: note: in expansion of macro
‘QPYQML_TYPE_INIT’
         QPYQML_TYPE_INIT(56);
         ^~~~~~~~~~~~~~~~
../qpy/QtQml/qpyqml_register_type.cpp:136:112: error: template argument 2
is invalid
         rt->valueInterceptorCast =
QQmlPrivate::StaticCastSelector<QPyQmlObject##n,QQmlPropertyValueInterceptor>::cast();
\

                                    ^
../qpy/QtQml/qpyqml_register_type.cpp:358:9: note: in expansion of macro
‘QPYQML_TYPE_INIT’
         QPYQML_TYPE_INIT(57);
         ^~~~~~~~~~~~~~~~
../qpy/QtQml/qpyqml_register_type.cpp:136:112: error: template argument 2
is invalid
         rt->valueInterceptorCast =
QQmlPrivate::StaticCastSelector<QPyQmlObject##n,QQmlPropertyValueInterceptor>::cast();
\

                                    ^
../qpy/QtQml/qpyqml_register_type.cpp:359:9: note: in expansion of macro
‘QPYQML_TYPE_INIT’
         QPYQML_TYPE_INIT(58);
         ^~~~~~~~~~~~~~~~
../qpy/QtQml/qpyqml_register_type.cpp:136:112: error: template argument 2
is invalid
         rt->valueInterceptorCast =
QQmlPrivate::StaticCastSelector<QPyQmlObject##n,QQmlPropertyValueInterceptor>::cast();
\

                                    ^
../qpy/QtQml/qpyqml_register_type.cpp:360:9: note: in expansion of macro
‘QPYQML_TYPE_INIT’
         QPYQML_TYPE_INIT(59);
         ^~~~~~~~~~~~~~~~
Makefile:4282: recipe for target 'qpyqml_register_type.o' failed
make[1]: *** [qpyqml_register_type.o] Error 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20180720/94aeec96/attachment-0001.html>


More information about the PyQt mailing list