[Qt-jambi-interest] Adding resources from classpath in Eclipse
Markus Walser
markus.walser at gmail.com
Tue Apr 8 18:05:50 CEST 2008
Hi
In my application
https://svn.origo.ethz.ch/energex/trunk/QTwikeAnalyzer/I'm trying to
add the icons
as resources. Under Linux (stock OpenSuSE 10.3) I was unable to see any
icons in the Qt Action Editor's
"Choose Resource" dialog. I had to specify them in the file system, which
wasn't a satisfying solution.
Yesterday I tried the same under WinXP. There I could suddenly select my
icons from the classpath.
I had to wait a few seconds on the "Choose Resource" dialog. Then an
animated image started rotating
and the icons appeared.
I commited the project and booted Linux. Opening the same project in
Eclipse, there were no icons.
Switching back to WinXP and starting the Project, there are icons in the
running application, but in the
Qt Designer Editor and the Qt Action Editor they are gone. Opening the jui
(
https://svn.origo.ethz.ch/energex/trunk/QTwikeAnalyzer/src/energex/gui/TwikeAnalyzer.jui)
in a text editor, the icon path looks correct:
"classpath:energex/gui/icons/document-open.png"
Does anybody know what's going on here?
Kind regards,
Markus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.trolltech.com/pipermail/qt-jambi-interest/attachments/20080408/8155ce9d/attachment.html
More information about the Qt-jambi-interest
mailing list