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

Qt- iOS memory issue when add more images

Scheduled Pinned Locked Moved Solved Mobile and Embedded
5 Posts 2 Posters 665 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 21 May 2018, 13:24 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

    S 1 Reply Last reply 21 May 2018, 14:02
    0
    • V vineesh_tp
      21 May 2018, 13:24

      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

      S Offline
      S Offline
      sierdzio
      Moderators
      wrote on 21 May 2018, 14:02 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 22 May 2018, 04:02
      2
      • S sierdzio
        21 May 2018, 14:02

        @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 22 May 2018, 04:02 last edited by
        #3

        @sierdzio : at compile time .

        1 Reply Last reply
        0
        • S Offline
          S Offline
          sierdzio
          Moderators
          wrote on 22 May 2018, 05:30 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 22 May 2018, 08:14 last edited by
            #5

            OK, Thanks

            1 Reply Last reply
            0

            1/5

            21 May 2018, 13:24

            • Login

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