Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. Qt on BlackBerry and QNX
  4. Run Qt 5.3 on QNX 6.6
QtWS25 Last Chance

Run Qt 5.3 on QNX 6.6

Scheduled Pinned Locked Moved Qt on BlackBerry and QNX
16 Posts 5 Posters 15.0k Views
  • 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.
  • S Offline
    S Offline
    stukdev
    wrote on last edited by
    #2

    Try set QT_DEBUG_PLUGINS=1 in your shell and watch console output

    1 Reply Last reply
    0
    • H Offline
      H Offline
      hkjin81
      wrote on last edited by
      #3

      Thanks stuk. I set QT_DEBUG_PLUGINS=1 and output is below.

      36: Found metadata in lib /opt/qt5/plugins/platforms/libqqnx.so, metadata= ...
      ...
      51: loaded library "/opt/qt5/plugins/platforms/libqqnx.so"
      52: QLibraryPrivate::loadPlugin failed on "/opt/qt5/plugins/platforms/libqqnx.so" : "Cannot load library /opt/qt5/plugins/platforms/libqqnx.so: (Library cannot be found)"

      As output message, looks like some modules found libqqnx.so but QLibraryPrivate didn't.
      I'll post additional info if I figure out more about that.
      Any help would be appreciated.

      <Full output log>

      @QFactoryLoader::QFactoryLoader() checking directory path "/root/qt5test/platforms" ...
      QFactoryLoader::QFactoryLoader() checking directory path "/opt/qt5/plugins/platforms" ...
      QFactoryLoader::QFactoryLoader() looking at "/opt/qt5/plugins/platforms/libqminimal.so"
      Found metadata in lib /opt/qt5/plugins/platforms/libqminimal.so, metadata=
      {
      "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.2",
      "MetaData": {
      "Keys": [
      "minimal"
      ]
      },
      "className": "QMinimalIntegrationPlugin",
      "debug": false,
      "version": 328449
      }

      Got keys from plugin meta data ("minimal")
      QFactoryLoader::QFactoryLoader() looking at "/opt/qt5/plugins/platforms/libqoffscreen.so"
      Found metadata in lib /opt/qt5/plugins/platforms/libqoffscreen.so, metadata=
      {
      "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.2",
      "MetaData": {
      "Keys": [
      "offscreen"
      ]
      },
      "className": "QOffscreenIntegrationPlugin",
      "debug": false,
      "version": 328449
      }

      Got keys from plugin meta data ("offscreen")
      QFactoryLoader::QFactoryLoader() looking at "/opt/qt5/plugins/platforms/libqqnx.so"
      Found metadata in lib /opt/qt5/plugins/platforms/libqqnx.so, metadata=
      {
      "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.2",
      "MetaData": {
      "Keys": [
      "qnx"
      ]
      },
      "className": "QQnxIntegrationPlugin",
      "debug": false,
      "version": 328449
      }

      Got keys from plugin meta data ("qnx")
      loaded library "/opt/qt5/plugins/platforms/libqqnx.so"
      QLibraryPrivate::loadPlugin failed on "/opt/qt5/plugins/platforms/libqqnx.so" : "Cannot load library /opt/qt5/plugins/platforms/libqqnx.so: (Library cannot be found)"
      This application failed to start because it could not find or load the Qt platform plugin "qnx".

      Available platform plugins are: minimal, offscreen, qnx.

      Reinstalling the application may fix this problem.
      Abort@

      1 Reply Last reply
      0
      • S Offline
        S Offline
        stukdev
        wrote on last edited by
        #4

        Strange, is there the /opt/qt5/plugins/platforms/libqqnx.so plugin?

        1 Reply Last reply
        0
        • H Offline
          H Offline
          hkjin81
          wrote on last edited by
          #5

          Yes, as I wrote at first post, that directory contains these three files.
          @ libqminimal.so
          libqoffscreen.so
          libqqnx.so@

          And output said also

          Found metadata in lib /opt/qt5/plugins/platforms/libqqnx.so ...
          loaded library "/opt/qt5/plugins/platforms/libqqnx.so"

          I'm so curious why only QLibraryPrivate::loadPlugin failed to load.

          1 Reply Last reply
          0
          • S Offline
            S Offline
            stukdev
            wrote on last edited by
            #6

            How do you put these files? Are you sure all are compiled for qnx platform?

            1 Reply Last reply
            0
            • H Offline
              H Offline
              hkjin81
              wrote on last edited by
              #7

              I use Qt Enterprise.
              Built binaries are provided for enterprise customer from Digia.

              In my first post,

              • Install qt on Ubuntu 12.04 via qt-enterprise-linux-x86-qnx-5.3.1.run downloaded from Qt digia website.

              That's the one contains pre-built binaries for qnx target.
              After install that <QT_INSTALL_PATH>/5.3/qnx6-x86/plugins/platforms has those files.

              BTW, you may ask why don't I ask to Digia, but they are on summer vacation and I'm urgent. :) And I posted this to Digia too.

              1 Reply Last reply
              0
              • S Offline
                S Offline
                stukdev
                wrote on last edited by
                #8

                If you use Qt Enterprise use the support that you buy :D Its rapid than this forum :)

                Summer Vacation?!?!? Enterprise Support?!?!?!? No don't believe!

                1 Reply Last reply
                0
                • H Offline
                  H Offline
                  hkjin81
                  wrote on last edited by
                  #9

                  I've posted this to Digia, Qt-Project, foundry27 and got some help from foundry27 and here but no answer from Digia.
                  Local Digia reseller told me that they are on vacation.

                  1 Reply Last reply
                  0
                  • H Offline
                    H Offline
                    hkjin81
                    wrote on last edited by
                    #10

                    Digia support is too slow. 1 answer per two days. :(

                    1 Reply Last reply
                    0
                    • L Offline
                      L Offline
                      lynic
                      wrote on last edited by
                      #11

                      Have you found a solution for this problem? I am currently getting exactly the same error message (with Qt 5.4.1).

                      1 Reply Last reply
                      0
                      • L Offline
                        L Offline
                        lynic
                        wrote on last edited by
                        #12

                        Have you found a solution for this problem? I am currently getting exactly the same error message (with Qt 5.4.1).

                        1 Reply Last reply
                        0
                        • L Offline
                          L Offline
                          lynic
                          wrote on last edited by
                          #13

                          Ok, it seems to be a bug. See here: https://bugreports.qt.io/browse/QTBUG-44476

                          1 Reply Last reply
                          0
                          • L Offline
                            L Offline
                            lynic
                            wrote on last edited by
                            #14

                            Ok, it seems to be a bug. See here: https://bugreports.qt.io/browse/QTBUG-44476

                            1 Reply Last reply
                            0
                            • FrezZyF Offline
                              FrezZyF Offline
                              FrezZy
                              wrote on last edited by
                              #15

                              It's a little bit late to ask for help here, but I faced the same problem mentioned above. Environment variables are set and libraries are also present. Has anybody find out how to fix this bug? I'm targeting QNX 6.6 installed on VMWare.

                              1 Reply Last reply
                              0
                              • S Offline
                                S Offline
                                sameerku120
                                Banned
                                wrote on last edited by
                                #16
                                This post is deleted!
                                1 Reply Last reply
                                0

                                • Login

                                • Login or register to search.
                                • First post
                                  Last post
                                0
                                • Categories
                                • Recent
                                • Tags
                                • Popular
                                • Users
                                • Groups
                                • Search
                                • Get Qt Extensions
                                • Unsolved