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);
    DeclarativeView view;

    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.

    Thanks


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.