Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Issue launching code
QtWS25 Last Chance

Issue launching code

Scheduled Pinned Locked Moved Solved Installation and Deployment
5 Posts 3 Posters 599 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.
  • A Offline
    A Offline
    AndreaFurlani
    wrote on last edited by
    #1

    Hello everyone, I just installed the last free version of Qt Creator on Ubuntu 20.04.1 LTS. I'm trying to launch some examples but every time I get this error:

    qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
    This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
    
    Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.
    

    I saw different users have the same issue but I am not able to use their solutions for my case.
    Thanks in advance to those who will be able to help me.

    jsulmJ 1 Reply Last reply
    0
    • A AndreaFurlani

      Hello everyone, I just installed the last free version of Qt Creator on Ubuntu 20.04.1 LTS. I'm trying to launch some examples but every time I get this error:

      qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
      This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
      
      Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.
      

      I saw different users have the same issue but I am not able to use their solutions for my case.
      Thanks in advance to those who will be able to help me.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @AndreaFurlani said in Issue launching code:

      I just installed the last free version of Qt Creator on Ubuntu 20.04.1 LTS

      Did you also install Qt? If so, how and which version?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      A 1 Reply Last reply
      2
      • jsulmJ jsulm

        @AndreaFurlani said in Issue launching code:

        I just installed the last free version of Qt Creator on Ubuntu 20.04.1 LTS

        Did you also install Qt? If so, how and which version?

        A Offline
        A Offline
        AndreaFurlani
        wrote on last edited by
        #3

        @jsulm I used the installer from the main site, so I installed Qt 5.14.2 and Qt Creator 4.12.4

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi and welcome to devnet,

          Did you try starting the application with the QT_DEBUG_PLUGINS environment variable set to 1 to see why the plugin fails to load ?

          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
          4
          • A Offline
            A Offline
            AndreaFurlani
            wrote on last edited by
            #5

            I solved the problem installing uninstalling Qt Creator and reinstalling Qt and Qt Creator from terminal.

            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