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. Qml and qt qrc resources
Qt 6.11 is out! See what's new in the release blog

Qml and qt qrc resources

Scheduled Pinned Locked Moved QML and Qt Quick
5 Posts 2 Posters 1.7k Views 1 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.
  • K Offline
    K Offline
    Kaluss
    wrote on last edited by
    #1

    Hey all,
    Im starting to use in my qt app some qml files, and now have one doubt.
    In my app I use qrc file to store gfx files.
    Is there any option to use in qml file graphic from qrc file from qt project ??

    If is, could someone tell me how ?

    Thomas

    1 Reply Last reply
    0
    • K Offline
      K Offline
      Kaluss
      wrote on last edited by
      #2

      I already know.
      Generally it was very easy :)

      Does anyone know how to delete this topic? :)

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi,

        Only moderators can do that.

        Out of curiosity, I'm not sure I did understood your problem correctly, what do you mean by " use in qml file graphic from qrc file from qt project" ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • K Offline
          K Offline
          Kaluss
          wrote on last edited by
          #4

          Hello,
          I have qt widgets app with qrc resources. One of the resources is qml file which animates the png file. I was wondering how I can use in qml file path to graphic in my qrc resources, but I add all ( qrc, qml and cpp files ) to one qt project and it works perfectly.

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Ok, thanks for the explanation.

            Can you also update you thread title prepending [solved] so other forum users may know a solution has been found :)

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            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