Porting a GUI from Qt 2(?)
-
I'm hoping this is the right place to ask...
I've been trying to get a program written back in 2001 to work in Qt6.
My project files are here: github
I'm treating this as a learning exercise, but also hope to end up with a useful (to me) piece of software if I can make it work.
I'm at a point where I'm trying to figure out the GUI. It looks like the author used some kind of ASCII graphics (in a file called qtpcr.xpm), and QCanvas. I'm hoping someone with GUI experience would be willing to scan through the files and tell me if there is a good way forward with this - QGraphicsView, QML, or ? I've been reading up on the QGraphicsView framework, and I admit its a steep learning curve for me, but if this is the proper method, I'll keep at it.
-
Hi,
From a really quick look, there's no need for a change of technology. The xpm file is used to create a QPixmap.
Can you explain the issue you have ?
I don't have a machine at hand to try and build the project but from my light overview I did not see anything really exotic.The long way would be:
- Qt 3 port
- Qt 4 port
- Qt 5 port
- Qt 6 corrections
You likely won't need so many steps as it seems the application uses pretty standard widgets.
-
@MScottM
He just means the "long way" would be to go through each of these 4 ports/upgrades in sequence. But in practice if your code is straightforward you should be able to skip doing each one individually, e.g. you might manage 2 to 4 in one go and 4 to 6 in another go. -
Yes, that would the the correct sub-forum.