Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Porting Qt 4.8.2 to QNX 6.6.0

    Mobile and Embedded
    qt 4.8 qnx 6.6
    2
    4
    1520
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      DucN last edited by

      Hello,

      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,
      JJ

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        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.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply Reply Quote 0
        • D
          DucN last edited by

          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?

          1 Reply Last reply Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            The most important thing:

            QT += widgets
            

            in your pro file. Otherwise the port itself is pretty painless, see here

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply Reply Quote 0
            • First post
              Last post