Fri, 06/17/2022 - 06:20
Forums:
I am trying to deploy the qt Tutorial, I compiled in release mode and put all necessary dlls to deploy more or less all done. But when clicking the exe, it is not loading the icons on tools. They are written in .ts file which is compiled wit qt's translator using -qm and .qm files generated.
icons being loaded from within Visual studio IDE but when trying to run app from standalone folder, app is being loaded but icons are not mapped only textual menus are loaded.
If anyone can help to solve it will appreciate it. Thanks in advance,.
Fri, 06/17/2022 - 11:05
According to the code (samples/qt/Common/src/ApplicationCommon.cxx):
these resource files (images, translation files Common-string.qm, Interface-string.qm, etc.) are loaded from the directory specified by environment variables like CSF_ResourcesDefaults / CSF_IEResourcesDefaults.