[SOLVED] Ressource Path to iOS
patrikd last edited by patrikd
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.
Zlatomir last edited by Zlatomir
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.
SGaist Lifetime Qt Champion last edited by
To add to @Zlatomir, you can use QTemporaryFile for that
patrikd last edited by
thx, will give it a try.