Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Creator Design Mode for QtQuick does cannot display Items that use added Types
alexander.merkel last edited by
I tried to add a qml Type for Application wide shortcuts in c++ like that:
@ QApplication app(argc, argv);
qmlRegisterType<Shortcut>("Tools", 1, 1, "Shortcut");@
Everything works and runs fine except that QtCreator Design mode cannot display any Components that import this type.
Is there any way to tell Design mode to ignore any unknown imports. The type is a non visible QtObject anyway and does not need to be displayed.