I have tried making a resource file from qtdesigner. Goto eric4 and use it's compile function. When I run the program I get a import error.
Should I create a resourcefile from eric4 or from qtdesigner?. Maybe showing me the steps for creating the resource adding the files and setting the icon settings of the buttons etc. would be helpful Greetings Jeroen. On Sat, May 7, 2011 at 6:22 PM, Raoul Snyman < [email protected]> wrote: > On Sat, 7 May 2011 17:15:38 +0200, Jeroen Eitjes wrote: > > What is the best way to add icons to buttons, etc.? > > In my application, I add it all to a Qt resource file, then I compile it > using pyrcc4 to a Python file, and then just use the internal resource URL, > ":/icons/open.png". > > -- > Raoul Snyman, B.Tech IT (Software Engineering) > Saturn Laboratories > m: 082 550 3754 > e: [email protected] > w: www.saturnlaboratories.co.za > b: blog.saturnlaboratories.co.za > _______________________________________________ > Eric mailing list > [email protected] > http://www.riverbankcomputing.com/mailman/listinfo/eric >
_______________________________________________ Eric mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/eric
