Porting Qt 4.8.2 to QNX 6.6.0
I am hoping to get some feedback from the experts.
My embedded SW project is developed using Qt 4.8.2 and run on QNX 6.5.0 SP1. Due to the HW obsolescence, we have to move to a new embedded board which runs the latest QNX 6.6.0 with support for Qt 5.x. I want stay with Qt 4.8.2 instead of porting to Qt 5.x which is supported in QNX 6.6.0. My question is if it is even possible to run my Qt 4.8.2 apps in QNX 6.6.0 and what changes to the apps or new Screen Graphics Subsystem in QNX 6.6.0?
For QNX 6.5, it uses the Graphics Framework subsystem and io-display monitor. However, starting with QNX 6.6, it now uses a new graphics framework call Screen Graphics Subsystem. In Qt 4.8.2, I use the QQnxScreen API to interface with the graphic driver but that doesn't exist in QNX 6.6.0.
The board I am evaluating is the Freescale i.MX6q Sabresmart.
Thanks in advance,
Hi and welcome to devnet,
There's no plan to support QNX 6.6 with Qt 4 so you would need to implement your own backend.
But staying with such an old version of Qt for a product that will replace one that's obsolete is rather a strange move on the long term. If you need a LTS version of Qt 5.6 will be that.
Thanks for your reply. I was hoping to just run my apps as is in QNX 6.6.0 because I don't have a lot of runway. I guess I have to bite the bullet to port to Qt 5.6. Is there any document/guide to help with porting Qt 4.x to Qt 5.x?
The most important thing:
QT += widgets
in your pro file. Otherwise the port itself is pretty painless, see here