Jose Arcangel Salazar Delgado wrote:
> 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();
Hi Jose,
This is indeed the wrong behaviour. The classpath files should be
referenced relativly. How did you create this .jui file? When I try to
select resources in designer and save the jui file I only get relative
paths. Both for resources in the file system and resources located in .jars.
Best regards,
Gunnar
_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest