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 to get resources and QML files to appear in Library>Resources / Library>QML Types
Forum Updated to NodeBB v4.3 + New Features

How to get resources and QML files to appear in Library>Resources / Library>QML Types

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 185 Views
  • 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.
  • B Offline
    B Offline
    brazz
    wrote on last edited by brazz
    #1

    Hey, I am trying to edit forms using the design mode in qt. I have added a png image to resources and am able to add that image to a rectangle using qml code, so the image is in the correct directory. The image does not appear in the Library>Resources section though. It would be convenient to be able to drag and drop an image onto my canvas. I also can't view qml files in the Library>QML types section after importing qml files. I must just be misunderstanding how you can use qml files/resources in the design editor. Any pointers?

    update: It seems like rebuilding the project fixed the resources issue. They now appear and can be dragged onto my form. Still unsure about the qml files. After importing them/including the libraries I can manually add objects with code. But I would still like to drag and drop them onto my ui form using library>QML types.

    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