Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Qt- iOS memory issue when add more images
QtWS25 Last Chance

Qt- iOS memory issue when add more images

Scheduled Pinned Locked Moved Solved Mobile and Embedded
5 Posts 2 Posters 657 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.
  • V Offline
    V Offline
    vineesh_tp
    wrote on last edited by
    #1

    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

    sierdzioS 1 Reply Last reply
    0
    • V vineesh_tp

      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

      sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      @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
      2
      • sierdzioS sierdzio

        @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.

        V Offline
        V Offline
        vineesh_tp
        wrote on last edited by
        #3

        @sierdzio : at compile time .

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          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
          2
          • V Offline
            V Offline
            vineesh_tp
            wrote on last edited by
            #5

            OK, Thanks

            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