Unsolved inporting the Ui data from qt3 to qt5
-
Hello every one ,
I'm trying to read an xml code from ui data and I need an Algorithm to change it to qt5 , I'm try to use QXmlStreamReader or XML with DOM to read the XML code bus I must remove same Element and add a new one not just values . I'm not sure if is it possible to make it with DOM . or maybe it's will be better if I use just QTextStream .
thanks for your HelpMonsif
-
HI
It sounds like you want
http://doc.qt.io/qt-5/qdomdocument.html#detailsSo you load the Qt3 version. the add/remove nodes and save as Qt5.
Do you know what been changed between Qt3 and 5 ? (UI file wise)
http://doc.qt.io/qt-4.8/porting4-designer.html -
Hi,
To add to @mrjj Qt 4 provides a tool to upgrade your Qt 3 .ui files to Qt 4 .ui files that can then be also used with Qt 5.