Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Solved Qt- iOS memory issue when add more images

    Mobile and Embedded
    2
    5
    448
    Loading More Posts
    • 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.
    • V
      vineesh_tp last edited by

      HI I am developing an application using qt/qml. I am able to load all the images in windows and iOS device as well when add all images are added in to the qrc: file.

      qrc:///graphics/feature/image1.png
      I have lot of images, when image are adding more qt got error memory issue

      So, I tried to load images dynamically (with out adding images to qrc: file) by using

      file:graphics/feature/image1.png
      In windows it is working fine. But, in iOS images are not loading.

      How do I use large number of images with qt/qml

      sierdzio 1 Reply Last reply Reply Quote 0
      • sierdzio
        sierdzio Moderators @vineesh_tp last edited by

        @vineesh_tp said in Qt- iOS memory issue when add more images:

        I have lot of images, when image are adding more qt got error memory issue

        You get errors during compilation or runtime?

        If during compilation, then the solution is to split your QRC into several files.

        (Z(:^

        V 1 Reply Last reply Reply Quote 2
        • V
          vineesh_tp @sierdzio last edited by

          @sierdzio : at compile time .

          1 Reply Last reply Reply Quote 0
          • sierdzio
            sierdzio Moderators last edited by

            OK, then as said you need to split the QRC. Simply cut some rows from one .qrc file and paste into another (and add the root XML tags). You can use the same prefix in all files, QRC can handle that without problem.

            (Z(:^

            1 Reply Last reply Reply Quote 2
            • V
              vineesh_tp last edited by

              OK, Thanks

              1 Reply Last reply Reply Quote 0
              • First post
                Last post