Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to load QT design Studio ui.qml into QT creator?

How to load QT design Studio ui.qml into QT creator?

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 580 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.
  • K Offline
    K Offline
    kuroox
    wrote on last edited by
    #1

    Sadly, I haven't been able to find an answer that fixes my doubts, so I'm asking you to help me comprehend how to do this.

    1- Can files exported from QT design studio be imported into a QT creator project? (QT quick) If possible, what process should I follow? How should I structure QRC to work with that properly?

    2 - If it can't be done, is it because of the difference between QT Widgets and QT quick?

    Thank you very much for reading :D

    Sincerely,

    your humble beginner

    A 1 Reply Last reply
    0
    • K kuroox

      Sadly, I haven't been able to find an answer that fixes my doubts, so I'm asking you to help me comprehend how to do this.

      1- Can files exported from QT design studio be imported into a QT creator project? (QT quick) If possible, what process should I follow? How should I structure QRC to work with that properly?

      2 - If it can't be done, is it because of the difference between QT Widgets and QT quick?

      Thank you very much for reading :D

      Sincerely,

      your humble beginner

      A Offline
      A Offline
      anil_arise
      wrote on last edited by
      #2

      @kuroox
      Easy to use after adding all qml files in RESOURCES files (.qrc)

      In .Pro add
      RESOURCES += xyz.qrc

      in Main.cpp

      QQmlApplicationEngine engine;
      engine.load(QUrl("qrc:/myapp/main.qml"));

      K 1 Reply Last reply
      0
      • A anil_arise

        @kuroox
        Easy to use after adding all qml files in RESOURCES files (.qrc)

        In .Pro add
        RESOURCES += xyz.qrc

        in Main.cpp

        QQmlApplicationEngine engine;
        engine.load(QUrl("qrc:/myapp/main.qml"));

        K Offline
        K Offline
        kuroox
        wrote on last edited by
        #3

        @anil_arise Thank you very much!!! I'll try to apply that, though I forgot to say I'm using Pyside6 so it might be a little different.

        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