Creator Design Mode for QtQuick does cannot display Items that use added Types
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.