I have an app, i use images that i have include in my qresources.qrc, but when i compile the app the resource doesnt show in the binary executable. i use Qt designer and kdevelop, i test too in HaiQ and mannualy in konsole.
I have an app, i use images that i have include in my qresources.qrc, but when i compile the app the resource doesnt show in the binary executable. i use Qt designer and kdevelop, i test too in HaiQ and mannualy in konsole.
Did you add that file to RESOURCES variable in your .pro file?
Yes, this is my .pro file:
Qt Code:
SOURCES += main.cpp \ maingui.cpp HEADERS += maingui.h \ ui_gui.h TEMPLATE = app CONFIG += warn_on \ thread \ qt TARGET = ../bin/mencodergui RESOURCES = application.qrc FORMS += gui.uiTo copy to clipboard, switch view to plain text mode
I have designed the GUI using QT Designer.
The Preview showed by Designer shows the icons, but the program compiled with KDevelop, HaiQ or manually using qmake and make doesn't show the icons.
Last edited by drake1983; 9th December 2007 at 20:40.
Could you post the contents of application.qrc?
This es application.qrc
<!DOCTYPE RCC><RCC version="1.0">
<qresource>
<file>fileopen.xpm</file>
</qresource>
</RCC>
It is the same project that drake1983
Is fileopen.xpm in the same directory as application.qrc?
drake1983 (10th December 2007)
Bookmarks