Unsolved update from Qt3 to Qt5
-
Hello every body ,
I'm working in a Project , I want to import an application developed with QT3 to QT5 . I'm thinking to make a small Application , how transform the code (first the classes they don't exist in QT5 .... I know that I will have a lot of errors ) but there no other way to do it . firstly I will transform the UI file to QT5 . editing the XML code is a good idea ? and what I should make next ?
thank you for your help :)
Monsif
-
@Monsif You should first port to Qt 4 and then to Qt5.
Porting from 4 to 5 is easy.
See http://doc.qt.io/qt-4.8/porting4-overview.html -
@jsulm thank you for your idea , but what is "the tool uic3 "?
this what I found in QT website .
"Changed format of UI files. Qt Designer 4 cannot read files created by Qt Designer 3 and vice versa. However, we provide the tool uic3 to generate Qt 4 code out of Qt 3 UI files, and to convert old UI files into a format readable by Qt Designer 4."
-
@Monsif You posted the description: it is a tool to convert UI files to new format - exactly what you wanted to do: "and to convert old UI files into a format readable by Qt Designer 4".
-
there no uic3 tool ready to use ?
-
@Monsif said in update from Qt3 to Qt5:
@jsulm uic3 tool ready to use ?
-
Hi,
Yes there is, with Qt 4.