Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-82774

qtquickcontrols2 doesn't build with latest qtdeclarative/qtbase dev

    XMLWordPrintable

Details

    • All
    • 92dc998f6d27347842fd57b0a1c6220426eb9ee2 (qt/qtquickcontrols2/dev)

    Description

      Fails with the following:

      clang++ -c -pipe -stdlib=libc++ -g -std=c++1z -fapplication-extension  -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -mmacosx-version-min=10.14 -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -Wextra -Winconsistent-missing-override -Wobjc-interface-ivars -Wobjc-method-access -Wobjc-multiple-method-names -Werror=unguarded-availability -Werror=unguarded-availability-new -Werror=unsupported-availability-guard -fPIC -DQT_NO_FOREACH -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_QUICKTEMPLATES2_LIB -DQT_BUILDING_QT -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_QUICK_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_QUICK_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I/Volumes/T3/Dev/qt/qt60_source/qtquickcontrols2/src/quicktemplates2 -I. -I/Volumes/T3/Dev/qt/qt60_source/qtquickcontrols2/src/quicktemplates2 -I/Volumes/T3/Dev/qt/qt60_built/qtbase/include -I/Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtQuickTemplates2 -I/Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtQuickTemplates2/6.0.0 -I/Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtQuickTemplates2/6.0.0/QtQuickTemplates2 -I/Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtQuick -I/Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtOpenGL -I/Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtGui -I/Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtQmlModels/6.0.0 -I/Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtQmlModels/6.0.0/QtQmlModels -I/Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtQmlModels -I/Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtQml/6.0.0 -I/Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtQml/6.0.0/QtQml -I/Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtQml -I/Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtNetwork -I/Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/6.0.0 -I/Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/6.0.0/QtCore -I/Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore -I/Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtQuick/6.0.0 -I/Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtQuick/6.0.0/QtQuick -I/Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtGui/6.0.0 -I/Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtGui/6.0.0/QtGui -I.moc -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/AGL.framework/Headers -I/Volumes/T3/Dev/qt/qt60_source/qtbase/mkspecs/macx-clang-path -o .obj/moc_qquickdialog_p.o .moc/moc_qquickdialog_p.cpp
      In file included from .moc/moc_qquickabstractbutton_p.cpp:10:
      In file included from .moc/../../../../../qt60_source/qtquickcontrols2/src/quicktemplates2/qquickabstractbutton_p.h:51:
      In file included from /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtQuickTemplates2/6.0.0/QtQuickTemplates2/private/qquickcontrol_p.h:1:
      In file included from /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtQuickTemplates2/6.0.0/QtQuickTemplates2/private/../../../../../../../qt60_source/qtquickcontrols2/src/quicktemplates2/qquickcontrol_p.h:51:
      In file included from /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/qlocale.h:1:
      In file included from /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/../../../../qt60_source/qtbase/src/corelib/text/qlocale.h:43:
      In file included from /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/qvariant.h:1:
      In file included from /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/../../../../qt60_source/qtbase/src/corelib/kernel/qvariant.h:46:
      In file included from /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/qmetatype.h:1:
      /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/../../../../qt60_source/qtbase/src/corelib/kernel/qmetatype.h:1422:27: error: invalid application of 'sizeof' to an incomplete type 'QQuickAction'
              Q_STATIC_ASSERT_X(sizeof(T), "Type argument of Q_DECLARE_METATYPE(T*) must be fully defined");
                                ^~~~~~~~~
      /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/../../../../qt60_source/qtbase/src/corelib/global/qglobal.h:116:68: note: expanded from macro 'Q_STATIC_ASSERT_X'
      #  define Q_STATIC_ASSERT_X(Condition, Message) static_assert(bool(Condition), Message)
                                                                         ^~~~~~~~~
      /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/../../../../qt60_source/qtbase/src/corelib/kernel/qmetatype.h:1706:25: note: in instantiation of template class 'QtPrivate::IsPointerToTypeDerivedFromQObject<QQuickAction *>' requested here
                           | (IsPointerToTypeDerivedFromQObject<T>::Value ? QMetaType::PointerToQObject : 0)
                              ^
      /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/../../../../qt60_source/qtbase/src/corelib/kernel/qmetatype.h:2678:17: note: in instantiation of template class 'QtPrivate::QMetaTypeTypeFlags<QQuickAction *>' requested here
          /*.flags=*/ QMetaTypeTypeFlags<T>::Flags,
                      ^
      /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/../../../../qt60_source/qtbase/src/corelib/kernel/qmetatype.h:2760:39: note: in instantiation of static data member 'QtPrivate::QMetaTypeForType<QQuickAction *>::metaType' requested here
              return &QMetaTypeForType<Ty>::metaType;
                                            ^
      .moc/moc_qquickabstractbutton_p.cpp:555:1: note: in instantiation of variable template specialization 'qt_metaTypeArray<QString, bool, bool, bool, bool, bool, bool, QQuickItem *, QQuickIcon, QQuickAbstractButton::Display, QQuickAction *, int, int, double, double, double, double>' requested here
      qt_metaTypeArray<
      ^
      .moc/../../../../../qt60_source/qtquickcontrols2/src/quicktemplates2/qquickabstractbutton_p.h:56:7: note: forward declaration of 'QQuickAction'
      class QQuickAction;
            ^
      1 error generated.
      make[2]: *** [.obj/moc_qquickabstractbutton_p.o] Error 1
      make[2]: *** Waiting for unfinished jobs....
      In file included from .moc/moc_qquickcombobox_p.cpp:10:
      In file included from .moc/../../../../../qt60_source/qtquickcontrols2/src/quicktemplates2/qquickcombobox_p.h:51:
      In file included from /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/qloggingcategory.h:1:
      In file included from /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/../../../../qt60_source/qtbase/src/corelib/io/qloggingcategory.h:44:
      In file included from /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/qdebug.h:1:
      In file included from /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/../../../../qt60_source/qtbase/src/corelib/io/qdebug.h:49:
      In file included from /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/qtextstream.h:1:
      In file included from /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/../../../../qt60_source/qtbase/src/corelib/serialization/qtextstream.h:43:
      In file included from /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/qiodevice.h:1:
      In file included from /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/../../../../qt60_source/qtbase/src/corelib/io/qiodevice.h:45:
      In file included from /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/qobject.h:1:
      In file included from /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/../../../../qt60_source/qtbase/src/corelib/kernel/qobject.h:54:
      In file included from /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/qmetatype.h:1:
      /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/../../../../qt60_source/qtbase/src/corelib/kernel/qmetatype.h:1422:27: error: invalid application of 'sizeof' to an incomplete type 'QQmlInstanceModel'
              Q_STATIC_ASSERT_X(sizeof(T), "Type argument of Q_DECLARE_METATYPE(T*) must be fully defined");
                                ^~~~~~~~~
      /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/../../../../qt60_source/qtbase/src/corelib/global/qglobal.h:116:68: note: expanded from macro 'Q_STATIC_ASSERT_X'
      #  define Q_STATIC_ASSERT_X(Condition, Message) static_assert(bool(Condition), Message)
                                                                         ^~~~~~~~~
      /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/../../../../qt60_source/qtbase/src/corelib/kernel/qmetatype.h:1706:25: note: in instantiation of template class 'QtPrivate::IsPointerToTypeDerivedFromQObject<QQmlInstanceModel *>' requested here
                           | (IsPointerToTypeDerivedFromQObject<T>::Value ? QMetaType::PointerToQObject : 0)
                              ^
      /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/../../../../qt60_source/qtbase/src/corelib/kernel/qmetatype.h:2678:17: note: in instantiation of template class 'QtPrivate::QMetaTypeTypeFlags<QQmlInstanceModel *>' requested here
          /*.flags=*/ QMetaTypeTypeFlags<T>::Flags,
                      ^
      /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/../../../../qt60_source/qtbase/src/corelib/kernel/qmetatype.h:2760:39: note: in instantiation of static data member 'QtPrivate::QMetaTypeForType<QQmlInstanceModel *>::metaType' requested here
              return &QMetaTypeForType<Ty>::metaType;
                                            ^
      .moc/moc_qquickcombobox_p.cpp:701:1: note: in instantiation of variable template specialization 'qt_metaTypeArray<int, QVariant, QQmlInstanceModel *, bool, int, int, QString, QString, QString, QQmlComponent *, QQuickItem *, QQuickPopup *, bool, bool, bool, QString, QValidator *, QFlags<Qt::InputMethodHint>, bool, bool, double, double, QVariant, QString, bool>' requested here
      qt_metaTypeArray<
      ^
      .moc/../../../../../qt60_source/qtquickcontrols2/src/quicktemplates2/qquickcombobox_p.h:60:7: note: forward declaration of 'QQmlInstanceModel'
      class QQmlInstanceModel;
            ^
      In file included from .moc/moc_qquickcombobox_p.cpp:10:
      In file included from .moc/../../../../../qt60_source/qtquickcontrols2/src/quicktemplates2/qquickcombobox_p.h:51:
      In file included from /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/qloggingcategory.h:1:
      In file included from /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/../../../../qt60_source/qtbase/src/corelib/io/qloggingcategory.h:44:
      In file included from /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/qdebug.h:1:
      In file included from /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/../../../../qt60_source/qtbase/src/corelib/io/qdebug.h:49:
      In file included from /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/qtextstream.h:1:
      In file included from /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/../../../../qt60_source/qtbase/src/corelib/serialization/qtextstream.h:43:
      In file included from /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/qiodevice.h:1:
      In file included from /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/../../../../qt60_source/qtbase/src/corelib/io/qiodevice.h:45:
      In file included from /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/qobject.h:1:
      In file included from /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/../../../../qt60_source/qtbase/src/corelib/kernel/qobject.h:54:
      In file included from /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/qmetatype.h:1:
      /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/../../../../qt60_source/qtbase/src/corelib/kernel/qmetatype.h:1422:27: error: invalid application of 'sizeof' to an incomplete type 'QQuickPopup'
              Q_STATIC_ASSERT_X(sizeof(T), "Type argument of Q_DECLARE_METATYPE(T*) must be fully defined");
                                ^~~~~~~~~
      /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/../../../../qt60_source/qtbase/src/corelib/global/qglobal.h:116:68: note: expanded from macro 'Q_STATIC_ASSERT_X'
      #  define Q_STATIC_ASSERT_X(Condition, Message) static_assert(bool(Condition), Message)
                                                                         ^~~~~~~~~
      /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/../../../../qt60_source/qtbase/src/corelib/kernel/qmetatype.h:1706:25: note: in instantiation of template class 'QtPrivate::IsPointerToTypeDerivedFromQObject<QQuickPopup *>' requested here
                           | (IsPointerToTypeDerivedFromQObject<T>::Value ? QMetaType::PointerToQObject : 0)
                              ^
      /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/../../../../qt60_source/qtbase/src/corelib/kernel/qmetatype.h:2678:17: note: in instantiation of template class 'QtPrivate::QMetaTypeTypeFlags<QQuickPopup *>' requested here
          /*.flags=*/ QMetaTypeTypeFlags<T>::Flags,
                      ^
      /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/../../../../qt60_source/qtbase/src/corelib/kernel/qmetatype.h:2760:39: note: in instantiation of static data member 'QtPrivate::QMetaTypeForType<QQuickPopup *>::metaType' requested here
              return &QMetaTypeForType<Ty>::metaType;
                                            ^
      .moc/moc_qquickcombobox_p.cpp:701:1: note: in instantiation of variable template specialization 'qt_metaTypeArray<int, QVariant, QQmlInstanceModel *, bool, int, int, QString, QString, QString, QQmlComponent *, QQuickItem *, QQuickPopup *, bool, bool, bool, QString, QValidator *, QFlags<Qt::InputMethodHint>, bool, bool, double, double, QVariant, QString, bool>' requested here
      qt_metaTypeArray<
      ^
      .moc/../../../../../qt60_source/qtquickcontrols2/src/quicktemplates2/qquickcombobox_p.h:59:7: note: forward declaration of 'QQuickPopup'
      class QQuickPopup;
            ^
      In file included from .moc/moc_qquickcombobox_p.cpp:10:
      In file included from .moc/../../../../../qt60_source/qtquickcontrols2/src/quicktemplates2/qquickcombobox_p.h:51:
      In file included from /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/qloggingcategory.h:1:
      In file included from /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/../../../../qt60_source/qtbase/src/corelib/io/qloggingcategory.h:44:
      In file included from /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/qdebug.h:1:
      In file included from /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/../../../../qt60_source/qtbase/src/corelib/io/qdebug.h:49:
      In file included from /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/qtextstream.h:1:
      In file included from /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/../../../../qt60_source/qtbase/src/corelib/serialization/qtextstream.h:43:
      In file included from /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/qiodevice.h:1:
      In file included from /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/../../../../qt60_source/qtbase/src/corelib/io/qiodevice.h:45:
      In file included from /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/qobject.h:1:
      In file included from /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/../../../../qt60_source/qtbase/src/corelib/kernel/qobject.h:54:
      In file included from /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/qmetatype.h:1:
      /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/../../../../qt60_source/qtbase/src/corelib/kernel/qmetatype.h:1422:27: error: invalid application of 'sizeof' to an incomplete type 'QValidator'
              Q_STATIC_ASSERT_X(sizeof(T), "Type argument of Q_DECLARE_METATYPE(T*) must be fully defined");
                                ^~~~~~~~~
      /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/../../../../qt60_source/qtbase/src/corelib/global/qglobal.h:116:68: note: expanded from macro 'Q_STATIC_ASSERT_X'
      #  define Q_STATIC_ASSERT_X(Condition, Message) static_assert(bool(Condition), Message)
                                                                         ^~~~~~~~~
      /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/../../../../qt60_source/qtbase/src/corelib/kernel/qmetatype.h:1706:25: note: in instantiation of template class 'QtPrivate::IsPointerToTypeDerivedFromQObject<QValidator *>' requested here
                           | (IsPointerToTypeDerivedFromQObject<T>::Value ? QMetaType::PointerToQObject : 0)
                              ^
      /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/../../../../qt60_source/qtbase/src/corelib/kernel/qmetatype.h:2678:17: note: in instantiation of template class 'QtPrivate::QMetaTypeTypeFlags<QValidator *>' requested here
          /*.flags=*/ QMetaTypeTypeFlags<T>::Flags,
                      ^
      /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/../../../../qt60_source/qtbase/src/corelib/kernel/qmetatype.h:2760:39: note: in instantiation of static data member 'QtPrivate::QMetaTypeForType<QValidator *>::metaType' requested here
              return &QMetaTypeForType<Ty>::metaType;
                                            ^
      .moc/moc_qquickcombobox_p.cpp:701:1: note: in instantiation of variable template specialization 'qt_metaTypeArray<int, QVariant, QQmlInstanceModel *, bool, int, int, QString, QString, QString, QQmlComponent *, QQuickItem *, QQuickPopup *, bool, bool, bool, QString, QValidator *, QFlags<Qt::InputMethodHint>, bool, bool, double, double, QVariant, QString, bool>' requested here
      qt_metaTypeArray<
      ^
      .moc/../../../../../qt60_source/qtquickcontrols2/src/quicktemplates2/qquickcombobox_p.h:58:7: note: forward declaration of 'QValidator'
      class QValidator;
            ^
      3 errors generated.
      make[2]: *** [.obj/moc_qquickcombobox_p.o] Error 1
      In file included from .moc/moc_qquickdelaybutton_p.cpp:10:
      In file included from .moc/../../../../../qt60_source/qtquickcontrols2/src/quicktemplates2/qquickdelaybutton_p.h:51:
      In file included from /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtQuickTemplates2/6.0.0/QtQuickTemplates2/private/qquickabstractbutton_p.h:1:
      In file included from /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtQuickTemplates2/6.0.0/QtQuickTemplates2/private/../../../../../../../qt60_source/qtquickcontrols2/src/quicktemplates2/qquickabstractbutton_p.h:51:
      In file included from /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtQuickTemplates2/6.0.0/QtQuickTemplates2/private/qquickcontrol_p.h:1:
      In file included from /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtQuickTemplates2/6.0.0/QtQuickTemplates2/private/../../../../../../../qt60_source/qtquickcontrols2/src/quicktemplates2/qquickcontrol_p.h:51:
      In file included from /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/qlocale.h:1:
      In file included from /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/../../../../qt60_source/qtbase/src/corelib/text/qlocale.h:43:
      In file included from /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/qvariant.h:1:
      In file included from /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/../../../../qt60_source/qtbase/src/corelib/kernel/qvariant.h:46:
      In file included from /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/qmetatype.h:1:
      /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/../../../../qt60_source/qtbase/src/corelib/kernel/qmetatype.h:1422:27: error: invalid application of 'sizeof' to an incomplete type 'QQuickTransition'
              Q_STATIC_ASSERT_X(sizeof(T), "Type argument of Q_DECLARE_METATYPE(T*) must be fully defined");
                                ^~~~~~~~~
      /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/../../../../qt60_source/qtbase/src/corelib/global/qglobal.h:116:68: note: expanded from macro 'Q_STATIC_ASSERT_X'
      #  define Q_STATIC_ASSERT_X(Condition, Message) static_assert(bool(Condition), Message)
                                                                         ^~~~~~~~~
      /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/../../../../qt60_source/qtbase/src/corelib/kernel/qmetatype.h:1706:25: note: in instantiation of template class 'QtPrivate::IsPointerToTypeDerivedFromQObject<QQuickTransition *>' requested here
                           | (IsPointerToTypeDerivedFromQObject<T>::Value ? QMetaType::PointerToQObject : 0)
                              ^
      /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/../../../../qt60_source/qtbase/src/corelib/kernel/qmetatype.h:2678:17: note: in instantiation of template class 'QtPrivate::QMetaTypeTypeFlags<QQuickTransition *>' requested here
          /*.flags=*/ QMetaTypeTypeFlags<T>::Flags,
                      ^
      /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtCore/../../../../qt60_source/qtbase/src/corelib/kernel/qmetatype.h:2760:39: note: in instantiation of static data member 'QtPrivate::QMetaTypeForType<QQuickTransition *>::metaType' requested here
              return &QMetaTypeForType<Ty>::metaType;
                                            ^
      .moc/moc_qquickdelaybutton_p.cpp:164:1: note: in instantiation of variable template specialization 'qt_metaTypeArray<int, double, QQuickTransition *>' requested here
      qt_metaTypeArray<
      ^
      /Volumes/T3/Dev/qt/qt60_built/qtbase/include/QtQuick/../../../../qt60_source/qtdeclarative/src/quick/items/qquickitem.h:87:7: note: forward declaration of 'QQuickTransition'
      class QQuickTransition;
            ^
      1 error generated.
      make[2]: *** [.obj/moc_qquickdelaybutton_p.o] Error 1
      make[1]: *** [sub-quicktemplates2-make_first] Error 2
      make: *** [sub-src-make_first] Error 2
      

      Tested on macOS with latest qtbase + declarative dev.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              alexandru.croitor Alexandru Croitor
              alexandru.croitor Alexandru Croitor
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes