Is there a way to get qmltestrunner
to use file based image resolution? The proper application loads resources from a separate directory resources
(which is compiled as QT resource file), but when loading the application via qmltestrunner
, this resource file is not available and I want references to be resolved using file paths. TL;DR: I'm referencing images as "/resources/imageXXX.png" in the application's QML file, and want these to resolve to the path in the resource file when running as application and to file based paths when running under qmltestrunner. I'm not using resource aliases or anything fancy.
mardi 27 mars 2018
QML: qmltestrunner and resource resolution
Inscription à :
Publier les commentaires (Atom)
Aucun commentaire:
Enregistrer un commentaire