[Qt-jambi-interest] [BUG] JUIC use complete path to refer

Luis Gonzalez ghempresa at hotmail.com
Wed Jul 23 21:32:25 CEST 2008


> Hi.
> Look at this code that is generated by de JUIC when I set an Icon to a
> QAction in the Designer using the Resource system:
> 
> actionNuevo = new QAction(Ui_MainWindow);
> actionNuevo.setObjectName("actionNuevo");
> actionNuevo.setIcon(new QIcon(new
> QPixmap("classpath:file:/home/arcangel/workspace/carniceria/src#com/linuxsoluciones/carniceria/resources/add.png")));
> QFont font = new QFont();

I also have this issue in Eclipse when i use Qt Jambi Designer.

Then i have to edit the .juic file using a plain text editor and delete the path.

_________________________________________________________________
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-jambi-interest/attachments/20080723/75508f18/attachment.html 


More information about the Qt-jambi-interest mailing list