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
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 204 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.
  • F Offline
    F Offline
    francesco.girotto
    wrote on 1 Dec 2021, 12:47 last edited by francesco.girotto 12 Jan 2021, 13:11
    #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

    1/1

    1 Dec 2021, 12:47

    • Login

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