Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Creator Design Mode for QtQuick does cannot display Items that use added Types
Forum Updated to NodeBB v4.3 + New Features

Creator Design Mode for QtQuick does cannot display Items that use added Types

Scheduled Pinned Locked Moved Qt Creator and other tools
1 Posts 1 Posters 633 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    alexander.merkel
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved