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. How can I see custom components in QtDesigner?
Forum Updated to NodeBB v4.3 + New Features

How can I see custom components in QtDesigner?

Scheduled Pinned Locked Moved QML and Qt Quick
1 Posts 1 Posters 374 Views 2 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.
  • M Offline
    M Offline
    Maurizio Parafati
    wrote on last edited by
    #1

    I am developing a Qt Quick 2 Application using QML to define my components.

    I would like to create a folder in the project where to put common components (such as customized buttons or labels), and specifically I would like to see this components in the Qt Designer view, in order to be able to drag-drop those elements while designing new views.

    I see that the Qt Designer view only shows to you the components located at the same path of the qml that you are currently developing, but I haven't found a way to display components located in other paths.

    The project tree should be something like this:

    RootFolder
        CommonComponents
        Views
    

    where the qmls developed in the Views folder will use components defined in the CommonComponents folder.

    Does anyone know how to configure the project or the QtDesigner in order to achieve this goal? 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