Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Solved xcb platform plugin missing with a Qt kit compiled from Qt sources

    Installation and Deployment
    2
    3
    410
    Loading More Posts
    • 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.
    • L
      Lini last edited by Lini

      Hello everyone,

      I have some trouble launching my Qt5 application with a Qt5 kit compiled from the sources.
      Here is what I did :

      • download Qt5.9.2 sources from installer (qt-unified-linux-x64-3.0.0-online.run)
      • configure :
      ./configure -debug -nomake examples -nomake tests -skip 3d -skip androidextras -skip charts -skip canvas3d -skip gamepad -skip location -skip multimedia -skip purchasing -skip qtwebengine -skip quick1 -skip quickcontrols -skip sensors -skip script -skip tools -skip webchannel -skip websockets -skip winextras
      
      • and then make:
      make
      
      • add a kit in QtCreator linked to the Qt version I have compiled (/opt/Qt/5.9.2/Src/gtbase/bin/qmake)

      After that my application compiles just fine but I have this error after launching it :

      This application failed to start because it could not find or load the Qt platform plugin "xcb"
      in "".
      

      If I compile and launch the application from the binaries downloaded using the Qt installer, I don't have any error and the application runs just fine.
      I want to use Qt sources in order to have a complete stack tree in debug mode.

      Am I doing something wrong ?
      Thank you in advance for any help provided.

      Florian.

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi,

        Might be a silly question but did you call make install after the build has finished ?

        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 Reply Quote 0
        • L
          Lini last edited by

          Hi and thank you for your quick answer,

          Actually this was not a silly question at all because I did not call any make install... The reason is that I only wanted to compile Qt, not install it. But it seems that everything works like a charm after the make install. My application can now launch and I have the whole stack tree. That is all that matters to me.
          Again, thank you for the answer that solved my issue.

          Florian

          1 Reply Last reply Reply Quote 0
          • First post
            Last post