Я пытаюсь импортировать пользовательский файл .qml в Qt design. И я нашел учебник в Qt:
https://doc.qt.io/qtcreator/creator-qml-modules-with-plugins.html#generating -qmltypes-files
Я пробовал его с существующим проектом Imports в qtdeclarative с помощью команды:
QT_DEBUG_PLUGINS=1 qmlplugindump -nonrelocatable tests.dumper.Imports 1.0 ~/Qt5.7.0/5.7/Src/qtdeclarative/tests/manual/qmlplugindump/tests/dumper/Imports/
но он возвращает код ошибки следующим образом:
Got keys from plugin meta data ("appmenu-qt5")
QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/x86_64-linux-gnu/qt5/bin/platformthemes" ...
loaded library "/usr/lib/x86_64-linux-gnu/qt5/plugins/platformthemes/libappmenu-qt5.so"
QQmlComponent: Component is not ready
QLibraryPrivate::unload succeeded on "/usr/lib/x86_64-linux-
gnu/qt5/plugins/platformthemes/libappmenu-qt5.so"
QLibraryPrivate::unload succeeded on "/usr/lib/x86_64-linux-
gnu/qt5/plugins/platforms/libqminimal.so"
Может кто-нибудь сказать мне, где я не прав
Спасибо.