QML, resources and EXE
-
@SPlatten use the path in this file for invalid.svg in your qml. Open qrc_resources.cpp and pull all way down to the bottom. You see :
The path for each image file is listed in qt_resource_struct[] {}For example:
play.svg has path: // :/res/play in qt_resource_struct[]
in my qml file, /res/play is good enough. -
@SPlatten It is not clear from your description whether these QML and SVG files are located in a resource file? If they are then yes they will be part of the executable.
-
@SPlatten It is not clear from your description whether these QML and SVG files are located in a resource file? If they are then yes they will be part of the executable.
-
-
@SPlatten I just checked the build files in my project. With qmake, images.qrc file is converted to qrc_images.cpp which is built and linked to the executable. Check in your app for the specific path setting of invalid.svg in DataModel.qml.
-
@SPlatten use the path in this file for invalid.svg in your qml. Open qrc_resources.cpp and pull all way down to the bottom. You see :
The path for each image file is listed in qt_resource_struct[] {}For example:
play.svg has path: // :/res/play in qt_resource_struct[]
in my qml file, /res/play is good enough.