Qt3 to Qt4 porting. Layout names not saved
-
wrote on 20 Nov 2010, 04:55 last edited by
If uic3 is used for source file generation from *.ui files then layout variable names are not saved.
How to keep the old layout names in the generated code? Does any uic3 option exist?
-
wrote on 22 Nov 2010, 08:08 last edited by
Look in the output from
@uic3 -help@
If what you need isn't stated there, then it's probably too bad. Maybe you can retrieve the variables by using the object name. You could also see what the -convert option does for you. -
wrote on 22 Nov 2010, 08:36 last edited by
Nothing interesting in "uic3 -help"
I will check the object names, thanks for the idea.
-
wrote on 23 Nov 2010, 06:28 last edited by
[quote author="blex" date="1290415001"]I will check the object names, thanks for the idea.[/quote]
Unfortunately, the names are also not saved.
-
wrote on 23 Nov 2010, 07:34 last edited by
That's a shame. Did you try converting to qt4 uis as well?
-
wrote on 23 Nov 2010, 07:42 last edited by
[quote author="Franzk" date="1290497693"]That's a shame. Did you try converting to qt4 uis as well? [/quote]
No, the task description is to use uic3 :)
I have solved the problem by application code modification. Now the generated layout object variables are used to modify layout settings. I just asked about better solution.
-
wrote on 23 Nov 2010, 07:51 last edited by
OK then.
1/7