icons missing - windeployqt .\MY_PROJECT.exe
-
Moin,
after build my projet with Visual Studio I run "windeployqt .\MY_PROJECT.exe" to generate all libs for using my *.exe on other devices. This works so far....
But I´m missin all my own icons for my buttons and checkBoxes!?
I´d tryed to contaun my icons into a "icon.qrc" / "icon.rcc" file.
I use the "icon.qrc" inside the QTDesigner and get my icons from resource file.Now I see the Icon in the QtDesigner properties but not inside my button.
Can anybody help me to contain my own icon inside my app?
greetings
marco -
@Pfanne said in icons missing - windeployqt .\MY_PROJECT.exe:
Now I see the Icon in the QtDesigner properties but not inside my button.
What do you mean? The icons do not appear on the buttons when you run deployed application? This should work without any additional effort as long as you put the icons into resource files because those are built into the executable and there is no need to deploy them (unless you're using "External Binary Resources").
-
Yes, that's it... It´s true, I´m missing the icon´s in the Qt designer and also at runtime.
I looks, that I make a mistake by using my "icon.qrc" in the Qt Designer.
I see the icons in the properties but not on my button.The next promplem is, how to implement the "icons.qrc" in my Visual Studio projekt?
Using google I found examples where the *.qrc has to implement into a *.pro file.
But I don´t have a *.pro file in my projekt?I think we should fix the Designer problem first.....
thanks for support!!