[SOLVED] Ressource Path to iOS
-
Hi all,
I want to send a printjob to airprint. The item to be printed is located in my ressourcefiles. How do I adress the ressource path. I'll tried "NSString *path = @"qrc:/images/images/data/bild1.jpg"; but that doesn't seem to work.
thx,
patrik -
Other libraries don't recognize the path: qrc:/... so to make available the file to other libraries/frameworks you'll need to extract the file into an temporary location, send that temporary path as parameter and after the job is done you can delete the temporary file.
-
Hi,
To add to @Zlatomir, you can use QTemporaryFile for that