Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Custom QuickItems not visual in designer
Forum Updated to NodeBB v4.3 + New Features

Custom QuickItems not visual in designer

Scheduled Pinned Locked Moved QML and Qt Quick
1 Posts 1 Posters 515 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.
  • strahlexS Offline
    strahlexS Offline
    strahlex
    wrote on last edited by
    #1

    Hello Qt developers,

    The last few days I have spent developing a application that involves many custom QuickItems (both developed in C++ and QML). As the application is indented to be used also by non developers as kind of put your UI together with the designer and start environment it would be great to have all these custom items available inside the Qt Designer.

    The C++ coded Items are non-visual so they shouldn't make problems. But with the QML based Items I have some problems to make them visual in the designer. Currently it looks like this:
    !https://dl.dropboxusercontent.com/u/50861330/creator1.png(Qt Designer)!

    Can someone please take a look at the source code:
    https://github.com/strahlex/QtQuickVcp/tree/master

    Basically I use a directory structure like qml/Hal/Controls which results in a import of :
    @
    import Hal.Controls 1.0 as H
    @

    I also have created the qmldir files and the application works just fine at runtime. Even Qt Creator is able to detect the items correctly. Just Qt Designer makes some problems.

    I use Qt SDK 5.2.1 under OpenSUSE 13.1.

    Feel free to check out my website machinekoder.com
    and my pet projects Intellicute and QtQuickVcp

    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