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. Qt Creator: qml.qrc with different prefix, problem in design editor
QtWS25 Last Chance

Qt Creator: qml.qrc with different prefix, problem in design editor

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 197 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.
  • F Offline
    F Offline
    francesco.girotto
    wrote on last edited by francesco.girotto
    #1

    Hi everybody,
    I'm working for a qt desktop application,
    for organization reasons we have to store our custom qml files in different qrc prefix (not only the root prefix "/").
    the qml.qrc file is structured in this way:
    Screenshot 2021-12-01 131236.png

    I can compile and run the application without problems,
    but when I go in the Design space of QtCreator I can't see the preview for example of main.qml
    and the designer tell me it can't find the qml files that are stored in the other prefix of qml.qrc.
    Screenshot (4).png
    Screenshot (3).png
    I include qml files in otyher qml.qrc prefix in this way:
    Screenshot 2021-12-01 132026.png
    My .pro file:
    Screenshot 2021-12-01 134530.png

    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