Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-44476

Qt 5.4 fails to start on Blackberry Playbook and later due to mixed up "blackberry" and "qnx" strings

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Invalid
    • Affects Version/s: 5.4.1
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Blackberry Playbook 2.1 NDK, Windows 7 Pro 64, Ubuntu 12.01, Qt Creator 3.3.0, Qt 5.4.1. git sources
    • Platform/s:
      QNX

      Description

      When running Qt 5.4.x on a Blackberry Playbook then the app crashes with the following message during start:

      Info: Action: Launch
      Info: Launching com.example.untitledbb.testDev__untitledbb4e6ee476...
      result::24674464
      Info: done
      Failed to open uom pps, errno=2
      Failed to open region pps, errno=2
      QFactoryLoader::QFactoryLoader() checking directory path "/apps/com.example.untitledbb.testDev__untitledbb4e6ee476/native/plugins/platforms" ...
      QFactoryLoader::QFactoryLoader() looking at "/apps/com.example.untitledbb.testDev__untitledbb4e6ee476/native/plugins/platforms/libqminimal.so"
      Found metadata in lib /apps/com.example.untitledbb.testDev__untitledbb4e6ee476/native/plugins/platforms/libqminimal.so, metadata=
      {
      "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.2",
      "MetaData":

      Unknown macro: { "Keys"}

      ,
      "className": "QMinimalIntegrationPlugin",
      "debug": false,
      "version": 328705
      }

      Got keys from plugin meta data ("minimal")
      QFactoryLoader::QFactoryLoader() looking at "/apps/com.example.untitledbb.testDev__untitledbb4e6ee476/native/plugins/platforms/libqoffscreen.so"
      Found metadata in lib /apps/com.example.untitledbb.testDev__untitledbb4e6ee476/native/plugins/platforms/libqoffscreen.so, metadata=
      {
      "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.2",
      "MetaData":

      Unknown macro: { "Keys"}

      ,
      "className": "QOffscreenIntegrationPlugin",
      "debug": false,
      "version": 328705
      }

      Got keys from plugin meta data ("offscreen")
      QFactoryLoader::QFactoryLoader() looking at "/apps/com.example.untitledbb.testDev__untitledbb4e6ee476/native/plugins/platforms/libqqnx.so"
      Found metadata in lib /apps/com.example.untitledbb.testDev__untitledbb4e6ee476/native/plugins/platforms/libqqnx.so, metadata=
      {
      "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.2",
      "MetaData":

      Unknown macro: { "Keys"}

      ,
      "className": "QQnxIntegrationPlugin",
      "debug": false,
      "version": 328705
      }

      Got keys from plugin meta data ("qnx")
      QFactoryLoader::QFactoryLoader() checking directory path "/apps/com.example.untitledbb.testDev__untitledbb4e6ee476/native" ...
      QFactoryLoader::QFactoryLoader() looking at "/apps/com.example.untitledbb.testDev__untitledbb4e6ee476/native/bar-descriptor.xml"
      QElfParser: '/apps/com.example.untitledbb.testDev__untitledbb4e6ee476/native/bar-descriptor.xml' is not an ELF object
      "'/apps/com.example.untitledbb.testDev__untitledbb4e6ee476/native/bar-descriptor.xml' is not an ELF object"
      not a plugin
      QFactoryLoader::QFactoryLoader() looking at "/apps/com.example.untitledbb.testDev__untitledbb4e6ee476/native/blackberry-tablet-default-icon.png"
      QElfParser: '/apps/com.example.untitledbb.testDev__untitledbb4e6ee476/native/blackberry-tablet-default-icon.png' is not an ELF object
      "'/apps/com.example.untitledbb.testDev__untitledbb4e6ee476/native/blackberry-tablet-default-icon.png' is not an ELF object"
      not a plugin
      QFactoryLoader::QFactoryLoader() looking at "/apps/com.example.untitledbb.testDev__untitledbb4e6ee476/native/untitledbb"
      "Plugin verification data mismatch in '/apps/com.example.untitledbb.testDev__untitledbb4e6ee476/native/untitledbb'"
      not a plugin
      QFactoryLoader::QFactoryLoader() checking directory path "/apps/com.example.untitledbb.testDev__untitledbb4e6ee476/native/plugins" ...
      QFactoryLoader::QFactoryLoader() checking directory path "/apps/com.example.untitledbb.testDev__untitledbb4e6ee476/native/plugins/platforms/platforms" ...
      QFactoryLoader::QFactoryLoader() checking directory path "/apps/com.example.untitledbb.testDev__untitledbb4e6ee476/native/platforms" ...
      QFactoryLoader::QFactoryLoader() checking directory path "/apps/com.example.untitledbb.testDev__untitledbb4e6ee476/native/plugins/platforms" ...
      QFactoryLoader::QFactoryLoader() looking at "/apps/com.example.untitledbb.testDev__untitledbb4e6ee476/native/plugins/platforms/libqminimal.so"
      Got keys from plugin meta data ("minimal")
      QFactoryLoader::QFactoryLoader() looking at "/apps/com.example.untitledbb.testDev__untitledbb4e6ee476/native/plugins/platforms/libqoffscreen.so"
      Got keys from plugin meta data ("offscreen")
      QFactoryLoader::QFactoryLoader() looking at "/apps/com.example.untitledbb.testDev__untitledbb4e6ee476/native/plugins/platforms/libqqnx.so"
      Got keys from plugin meta data ("qnx")
      This application failed to start because it could not find or load the Qt platform plugin "blackberry".

      Available platform plugins are: minimal (from app/native/plugins/platforms), offscreen (from app/native/plugins/platforms), qnx (from app/native/plugins/platforms), minimal, offscreen, qnx.

      Reinstalling the application may fix this problem.

      The problem is that the "qnx" and "blackberry" strings (see http://doc-snapshot.qt-project.org/qt5-5.4/qsysinfo.html) are mixed up for loading the appropriate blackberry platform plugin.

      When replacing all "qnx" occurences in the sources with "blackberry" then Qt 5.4 loads fine.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            vminenko Vladimir Minenko
            Reporter:
            DanielSt Peter Staab
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes