Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. qt.qpa.plugin: Could not find the Qt platform plugin "linux" in "/home/ctos/temp/qt5.14.2/plugins/platforms"
Forum Updated to NodeBB v4.3 + New Features

qt.qpa.plugin: Could not find the Qt platform plugin "linux" in "/home/ctos/temp/qt5.14.2/plugins/platforms"

Scheduled Pinned Locked Moved Solved Mobile and Embedded
6 Posts 3 Posters 900 Views 1 Watching
  • 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
    stewart10
    wrote on last edited by stewart10
    #1

    hi,guys. how to add plugin "linux",i got no ideas.
    Qt 5.14.2 opensource compiled for arm.
    Available platform plugins are: linuxfb, minimal, offscreen, vnc, xcb.

    JonBJ 1 Reply Last reply
    0
    • S stewart10

      hi,guys. how to add plugin "linux",i got no ideas.
      Qt 5.14.2 opensource compiled for arm.
      Available platform plugins are: linuxfb, minimal, offscreen, vnc, xcb.

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by JonB
      #2

      @stewart10
      Hi & welcome.

      Set environment variable from shell export QT_DEBUG_PLUGINS=1 and run your program, or do so from within Qt Creator under Runtime Environment. Look at end of resulting diagnostic output to see where it fell over, and resolve or paste here.

      S 1 Reply Last reply
      1
      • mrjjM Offline
        mrjjM Offline
        mrjj
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi and welcome to the forums
        If that comes from upgrading/installing Qt in a
        Ubuntu version 18+ or derived distribution then try

        apt-get install libxcb-xinerama0

        S 2 Replies Last reply
        1
        • JonBJ JonB

          @stewart10
          Hi & welcome.

          Set environment variable from shell export QT_DEBUG_PLUGINS=1 and run your program, or do so from within Qt Creator under Runtime Environment. Look at end of resulting diagnostic output to see where it fell over, and resolve or paste here.

          S Offline
          S Offline
          stewart10
          wrote on last edited by
          #4

          @JonB run Qt with export QT_DEBUG_PLUGINS=1:
          QFactoryLoader::QFactoryLoader() checking directory path "/home/ctos/temp/qt5.14.2/plugins/platforms" ...
          QFactoryLoader::QFactoryLoader() looking at "/home/ctos/temp/qt5.14.2/plugins/platforms/libqlinuxfb.so"
          Found metadata in lib /home/ctos/temp/qt5.14.2/plugins/platforms/libqlinuxfb.so, metadata=
          {
          "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
          "MetaData": {
          "Keys": [
          "linuxfb"
          ]
          },
          "archreq": 0,
          "className": "QLinuxFbIntegrationPlugin",
          "debug": false,
          "version": 331264
          }

          Got keys from plugin meta data ("linuxfb")
          QFactoryLoader::QFactoryLoader() looking at "/home/ctos/temp/qt5.14.2/plugins/platforms/libqminimal.so"
          Found metadata in lib /home/ctos/temp/qt5.14.2/plugins/platforms/libqminimal.so, metadata=
          {
          "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
          "MetaData": {
          "Keys": [
          "minimal"
          ]
          },
          "archreq": 0,
          "className": "QMinimalIntegrationPlugin",
          "debug": false,
          "version": 331264
          }

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

          Got keys from plugin meta data ("offscreen")
          QFactoryLoader::QFactoryLoader() looking at "/home/ctos/temp/qt5.14.2/plugins/platforms/libqvnc.so"
          Found metadata in lib /home/ctos/temp/qt5.14.2/plugins/platforms/libqvnc.so, metadata=
          {
          "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
          "MetaData": {
          "Keys": [
          "vnc"
          ]
          },
          "archreq": 0,
          "className": "QVncIntegrationPlugin",
          "debug": false,
          "version": 331264
          }

          Got keys from plugin meta data ("vnc")
          QFactoryLoader::QFactoryLoader() looking at "/home/ctos/temp/qt5.14.2/plugins/platforms/libqxcb.so"
          Found metadata in lib /home/ctos/temp/qt5.14.2/plugins/platforms/libqxcb.so, metadata=
          {
          "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
          "MetaData": {
          "Keys": [
          "xcb"
          ]
          },
          "archreq": 0,
          "className": "QXcbIntegrationPlugin",
          "debug": false,
          "version": 331264
          }

          Got keys from plugin meta data ("xcb")
          QFactoryLoader::QFactoryLoader() checking directory path "/home/ctos/temp/qt5.14.2/plugins" ...
          QFactoryLoader::QFactoryLoader() checking directory path "/home/ctos/temp" ...
          QFactoryLoader::QFactoryLoader() looking at "/home/ctos/temp/baselib.tar.gz"
          QElfParser: '/home/ctos/temp/baselib.tar.gz' is not an ELF object
          "'/home/ctos/temp/baselib.tar.gz' is not an ELF object"
          not a plugin
          QFactoryLoader::QFactoryLoader() looking at "/home/ctos/temp/qt5.14.2-lib.tar.gz"
          QElfParser: '/home/ctos/temp/qt5.14.2-lib.tar.gz' is not an ELF object
          "'/home/ctos/temp/qt5.14.2-lib.tar.gz' is not an ELF object"
          not a plugin
          QFactoryLoader::QFactoryLoader() looking at "/home/ctos/temp/test-compiler.tar.gz"
          QElfParser: '/home/ctos/temp/test-compiler.tar.gz' is not an ELF object
          "'/home/ctos/temp/test-compiler.tar.gz' is not an ELF object"
          not a plugin
          QFactoryLoader::QFactoryLoader() looking at "/home/ctos/temp/test-qt.tar.gz"
          QElfParser: '/home/ctos/temp/test-qt.tar.gz' is not an ELF object
          "'/home/ctos/temp/test-qt.tar.gz' is not an ELF object"
          not a plugin
          QFactoryLoader::QFactoryLoader() looking at "/home/ctos/temp/TestQtCoreModule"
          "Failed to extract plugin meta data from '/home/ctos/temp/TestQtCoreModule'"
          not a plugin
          QFactoryLoader::QFactoryLoader() looking at "/home/ctos/temp/TestQtGuiModule"
          "Failed to extract plugin meta data from '/home/ctos/temp/TestQtGuiModule'"
          not a plugin
          QFactoryLoader::QFactoryLoader() looking at "/home/ctos/temp/TestQtPlainC"
          "Failed to extract plugin meta data from '/home/ctos/temp/TestQtPlainC'"
          not a plugin
          QFactoryLoader::QFactoryLoader() checking directory path "/home/ctos/temp/qt5.14.2/plugins/platforms/platforms" ...
          QFactoryLoader::QFactoryLoader() checking directory path "/home/ctos/temp/qt5.14.2/plugins/platforms" ...
          QFactoryLoader::QFactoryLoader() looking at "/home/ctos/temp/qt5.14.2/plugins/platforms/libqlinuxfb.so"
          Got keys from plugin meta data ("linuxfb")
          QFactoryLoader::QFactoryLoader() looking at "/home/ctos/temp/qt5.14.2/plugins/platforms/libqminimal.so"
          Got keys from plugin meta data ("minimal")
          QFactoryLoader::QFactoryLoader() looking at "/home/ctos/temp/qt5.14.2/plugins/platforms/libqoffscreen.so"
          Got keys from plugin meta data ("offscreen")
          QFactoryLoader::QFactoryLoader() looking at "/home/ctos/temp/qt5.14.2/plugins/platforms/libqvnc.so"
          Got keys from plugin meta data ("vnc")
          QFactoryLoader::QFactoryLoader() looking at "/home/ctos/temp/qt5.14.2/plugins/platforms/libqxcb.so"
          Got keys from plugin meta data ("xcb")
          QFactoryLoader::QFactoryLoader() checking directory path "/home/ctos/temp/platforms" ...
          qt.qpa.plugin: Could not find the Qt platform plugin "linux" in "/home/ctos/temp/qt5.14.2/plugins/platforms"
          This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

          Available platform plugins are: linuxfb (from /home/ctos/temp/qt5.14.2/plugins/platforms), minimal (from /home/ctos/temp/qt5.14.2/plugins/p latforms), offscreen (from /home/ctos/temp/qt5.14.2/plugins/platforms), vnc (from /home/ctos/temp/qt5.14.2/plugins/platforms), xcb (from /h ome/ctos/temp/qt5.14.2/plugins/platforms), linuxfb, minimal, offscreen, vnc, xcb.

          core dump

          1 Reply Last reply
          0
          • mrjjM mrjj

            Hi and welcome to the forums
            If that comes from upgrading/installing Qt in a
            Ubuntu version 18+ or derived distribution then try

            apt-get install libxcb-xinerama0

            S Offline
            S Offline
            stewart10
            wrote on last edited by stewart10
            #5
            This post is deleted!
            1 Reply Last reply
            0
            • mrjjM mrjj

              Hi and welcome to the forums
              If that comes from upgrading/installing Qt in a
              Ubuntu version 18+ or derived distribution then try

              apt-get install libxcb-xinerama0

              S Offline
              S Offline
              stewart10
              wrote on last edited by
              #6

              @mrjj embeded linux.libxcb1.14

              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