Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QML debugging is enabled. Only use this in a safe environment. qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in "
Forum Updated to NodeBB v4.3 + New Features

QML debugging is enabled. Only use this in a safe environment. qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in "

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 274 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.
  • M Offline
    M Offline
    meowmeowsong
    wrote on last edited by
    #1

    I installed the qt 5.15.8 from source, when I set everything done, I built my project successfully. But when I tried to run it, it pops up this error. I don't have 'xcb' , But I check this link: https://doc.qt.io/qt-6/linux-requirements.html#:~:text=Platform Plugin Dependencies,are described the following table.
    I am sure I have installed all the necessary dependencies. I have no clue why the 'xcb' is not generated.

    JonBJ 1 Reply Last reply
    0
    • M meowmeowsong

      I installed the qt 5.15.8 from source, when I set everything done, I built my project successfully. But when I tried to run it, it pops up this error. I don't have 'xcb' , But I check this link: https://doc.qt.io/qt-6/linux-requirements.html#:~:text=Platform Plugin Dependencies,are described the following table.
      I am sure I have installed all the necessary dependencies. I have no clue why the 'xcb' is not generated.

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

      @meowmeowsong
      As per the hundreds of other posts with same/similar question, set environment variable QT_DEBUG_PLUGINS=1 and then run your program. Look through the diagnostic output to find why xcb could not be loaded, probably near the end of the output. Either it is not available at all (not among the list of which plugins) or it is missing some dependency.

      1 Reply Last reply
      1

      • Login

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