Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Qt3 to Qt4 porting. Layout names not saved



  • 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?



  • 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.



  • Nothing interesting in "uic3 -help"

    I will check the object names, thanks for the idea.



  • [quote author="blex" date="1290415001"]I will check the object names, thanks for the idea.[/quote]

    Unfortunately, the names are also not saved.



  • That's a shame. Did you try converting to qt4 uis as well?



  • [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.



  • OK then.


Log in to reply