QmlEffectsManagerProxy: fully define QmlVisibleEffectsModel#4291
Merged
uklotzde merged 1 commit intomixxxdj:mainfrom Sep 17, 2021
Merged
QmlEffectsManagerProxy: fully define QmlVisibleEffectsModel#4291uklotzde merged 1 commit intomixxxdj:mainfrom
uklotzde merged 1 commit intomixxxdj:mainfrom
Conversation
This is required in Qt6:
In file included from /usr/include/qt6/QtCore/qobject.h:54,
from /usr/include/qt6/QtWidgets/qwidget.h:45,
from /usr/include/qt6/QtWidgets/qdialog.h:44,
from /usr/include/qt6/QtWidgets/QDialog:1,
from mixxx-lib_autogen/LOXWS6PXLU/../../../src/dialog/dlgkeywheel.h:4,
from mixxx-lib_autogen/LOXWS6PXLU/moc_dlgkeywheel.cpp:10,
from mixxx-lib_autogen/mocs_compilation.cpp:2:
/usr/include/qt6/QtCore/qmetatype.h: In instantiation of ‘struct QtPrivate::IsPointerToTypeDerivedFromQObject<mixxx::skin::qml::QmlVisibleEffectsModel*>’:
/usr/include/qt6/QtCore/qmetatype.h:1096:63: required from ‘struct QtPrivate::QMetaTypeTypeFlags<mixxx::skin::qml::QmlVisibleEffectsModel*>’
/usr/include/qt6/QtCore/qmetatype.h:2257:44: required from ‘constexpr const QtPrivate::QMetaTypeInterface QtPrivate::QMetaTypeInterfaceWrapper<mixxx::skin::qml::QmlVisibleEffectsModel*>::metaType’
/usr/include/qt6/QtCore/qmetatype.h:2380:16: required from ‘constexpr const QtPrivate::QMetaTypeInterface* QtPrivate::qTryMetaTypeInterfaceForType() [with Unique = qt_meta_stringdata_mixxx__skin__qml__QmlEffectsManagerProxy_t; TypeCompletePair = QtPrivate::TypeAndForceComplete<mixxx::skin::qml::QmlVisibleEffectsModel*, std::integral_constant<bool, true> >]’
/usr/include/qt6/QtCore/qmetatype.h:2424:55: required from ‘constexpr const QtPrivate::QMetaTypeInterface* const qt_incomplete_metaTypeArray [5]<qt_meta_stringdata_mixxx__skin__qml__QmlEffectsManagerProxy_t, QtPrivate::TypeAndForceComplete<mixxx::skin::qml::QmlVisibleEffectsModel*, std::integral_constant<bool, true> >, QtPrivate::TypeAndForceComplete<mixxx::skin::qml::QmlEffectSlotProxy*, std::integral_constant<bool, false> >, QtPrivate::TypeAndForceComplete<int, std::integral_constant<bool, false> >, QtPrivate::TypeAndForceComplete<int, std::integral_constant<bool, false> >, QtPrivate::TypeAndForceComplete<int, std::integral_constant<bool, false> > >’
mixxx-lib_autogen/PXXERMKKWZ/moc_qmleffectsmanagerproxy.cpp:109:1: required from here
/usr/include/qt6/QtCore/qmetatype.h:778:23: error: invalid application of ‘sizeof’ to incomplete type ‘mixxx::skin::qml::QmlVisibleEffectsModel’
778 | static_assert(sizeof(T), "Type argument of Q_PROPERTY or Q_DECLARE_METATYPE(T*) must be fully defined");
| ^~~~~~~~~
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is required in Qt6: