Icons from .qrc wouldn't show outside Qt Creator

309 views Asked by At

I have a qrc resource file containing a few icons initialized by Q_INIT_RESOURCE(icons) and added in ui file (designer).

When I run it in Qt Creator everything shows as it should, but there are no icons showing while running the .exe outside the IDE. There must by some problem in directory path to the icons but I cannot find it. I tried putting the .exe, .qrc file and folder with the icons to the same directory but without luck.

1

There are 1 answers

0
SmallJohn On

SOLVED ... I didn't have Qt5Svgd.dll in the directory with .exe
Thanks anyway ;)