Qt- iOS memory issue when add more images
-
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 issueSo, 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
-
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 issueSo, 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
@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.
-
@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.
@sierdzio : at compile time .
-
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.
-
OK, Thanks