QML debugging is enabled. Only use this in a safe environment. qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in "
-
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. -
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.@meowmeowsong
As per the hundreds of other posts with same/similar question, set environment variableQT_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.