[SOLVED] Ressource Path to iOS
-
wrote on 8 Mar 2015, 17:35 last edited by patrikd 3 Sept 2015, 11:18
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 -
wrote on 8 Mar 2015, 18:01 last edited by Zlatomir 3 Aug 2015, 18:02
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
-
wrote on 9 Mar 2015, 08:55 last edited by
Hi guys,
thx, will give it a try.
best,
patrik
4/4