PDA

View Full Version : porting of icon property problem



batileon
16th July 2008, 06:01
From Qt3 to Qt4, the icon property of .ui files changed a lot.
From http://doc.trolltech.com/4.4/porting4-designer.html#icons there's a way for using qmake.
How about not using qmake?
And it requires using `uic3 -convert` to convert the file first. How about if I'm using the other way:generate header files and implementation files by uic3 -impl?

jacek
26th July 2008, 01:15
How about if I'm using the other way:generate header files and implementation files by uic3 -impl?
Provided that you haven't changed the files generated by uic, you have to port the .ui files and then adapt your code to the new way of using .ui files.

See this: http://doc.trolltech.com/4.4/designer-using-a-component.html