Windows Compilation Release Mode Problems
-
hi everyone I'm having some problems with Release compilation on Windows.
I compile with Release Mode, add all dlls to same folder that the .exe is, and copy to another computer.
I Try to execute the app on this second computer, and the imagens not appers on application.I use the "Resources.qrc" as showed below:
@
<RCC>
<qresource prefix="/database">
<file>CreateTable.sql</file>
<file>PopulateTable.sql</file>
</qresource>
<qresource prefix="/imagens">
<file>32/led_red.png</file>
<file>32/led_blue.png</file>
<file>64/loading_1.gif</file>
<file>48/loading_2.gif</file>
<file>32/loading_2.gif</file>
</qresource>
<qresource prefix="/icon">
<file>icon/truck.ico</file>
</qresource>
</RCC>
@And use the resources:
@
QMovie *movie = new QMovie(":/imagens/32/loading_2.gif");
@I copy manually the folders of the imagens, nothing change...
When I run the app form QtCreator I got no problem with the imagens, they are showed normally.
What's can be? -
Yes, but checkout with me:
@
/application_folder/- InoveSATBEV.exe
- libgcc_s_dw2-1.dll
- mingmw10.dll
- QtCore4.dll
- QtGui4.dll
- QtS4.dll
- CreateTable.sql
- PopulateTable.sql
./icon
- truck.ico
./32
- led_blue.png
- led_red.png
- loading_2.gif
./48
- loading_1.gif
- loading_2.gif
./64
- loading_1.gif
@And I got error.
What I'm missing to configure or have other way to insert this files?