Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. qt-creator 4.14.0 failed to launch on debian buster with qt 6.0

qt-creator 4.14.0 failed to launch on debian buster with qt 6.0

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
26 Posts 3 Posters 4.0k 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #7

    The Qt version you use to build your application and Qt Creator are unrelated. You can even use Qt 4 and perhaps still Qt 3.

    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
    1
    • S Offline
      S Offline
      stephane78 0
      wrote on last edited by
      #8

      thanks SGaist,so I will try qtcreator 4.13

      1 Reply Last reply
      0
      • S Offline
        S Offline
        stephane78 0
        wrote on last edited by
        #9

        thanks SGaist ,it works with qtcreator 4.12

        S 1 Reply Last reply
        0
        • S stephane78 0

          thanks SGaist ,it works with qtcreator 4.12

          S Offline
          S Offline
          stephane78 0
          wrote on last edited by
          #10

          @SGaist I have the same problem for my programs compiled with Qt6 so I think I should upgrade to debian sid

          S 1 Reply Last reply
          0
          • S stephane78 0

            @SGaist I have the same problem for my programs compiled with Qt6 so I think I should upgrade to debian sid

            S Offline
            S Offline
            stephane78 0
            wrote on last edited by stephane78 0
            #11

            @SGaist HI I am installing debian bullseye alpha3 because there is a new version of libxcb on it.I cannot compile the library under windows too (6.0.2 and 6.0.3) with cmake and mingw64 because there are errors
            regards

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

              Depending on the version of the library missing, you might be able to cheat and create the missing symbolic link to your current library.

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              S 1 Reply Last reply
              2
              • SGaistS SGaist

                Depending on the version of the library missing, you might be able to cheat and create the missing symbolic link to your current library.

                S Offline
                S Offline
                stephane78 0
                wrote on last edited by stephane78 0
                #13

                @SGaist I have another problem now when I launch my program in debug in qtcreator it stops at main or QAPPlplication and in the application output "could not find the qt platform plugin xcb .so I think I should have installed libxcb before compiling Qt and it is not the case.do you think I should compile again Qt ?

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

                  You need to have the development package for it installed before building.

                  I would try to call configure again rather than build from scratch. If it's note running the tests again, nuke the corresponding folder.

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  S 1 Reply Last reply
                  0
                  • SGaistS SGaist

                    You need to have the development package for it installed before building.

                    I would try to call configure again rather than build from scratch. If it's note running the tests again, nuke the corresponding folder.

                    S Offline
                    S Offline
                    stephane78 0
                    wrote on last edited by
                    #15

                    @SGaist HI I have compiled qt 6.0.3 on debian bulsseye alpha after I have instelled libqxc and my programs cannot run, always the same problem as with qtcreator before but qtcreator works

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

                      Did you check what exact error message you have ?
                      Did you start your application with the QT_DEBUG_PLUGINS environment variable set to 1 ?

                      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
                      2
                      • S Offline
                        S Offline
                        stephane78 0
                        wrote on last edited by stephane78 0
                        #17

                        @SGaist HI I Have this message 'qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
                        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.
                        and when I look in /opt/qt6.0.3/qtbase/plugins/platforms/ there isnt any library libqxcb.so.

                        jsulmJ 1 Reply Last reply
                        0
                        • S stephane78 0

                          @SGaist HI I Have this message 'qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
                          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.
                          and when I look in /opt/qt6.0.3/qtbase/plugins/platforms/ there isnt any library libqxcb.so.

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

                          @stephane78-0 said in qt-creator '.4.14.0 failed to launch on debian buster with qt 6.0:

                          and when I look in /opt/qt6.0.3/qtbase/plugins/platforms/ there isnt any library libqxcb.so.

                          Then libqxcb.so was not built. You should check config.log to finf out why it was not built.

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

                          1 Reply Last reply
                          1
                          • S Offline
                            S Offline
                            stephane78 0
                            wrote on last edited by
                            #19

                            @SGaist ok I have found libx11xcb was not installed on my system so I compile again and come here again.

                            S 1 Reply Last reply
                            0
                            • S stephane78 0

                              @SGaist ok I have found libx11xcb was not installed on my system so I compile again and come here again.

                              S Offline
                              S Offline
                              stephane78 0
                              wrote on last edited by
                              #20

                              @SGaist I have done a configure and it says ; XCB:
                              Using system-provided xcb-xinput ..... no
                              Native painting (experimental) ....... no
                              GL integrations:
                              GLX Plugin ......................... no
                              XCB GLX .......................... no
                              EGL-X11 Plugin ..................... no

                              1 Reply Last reply
                              0
                              • S Offline
                                S Offline
                                stephane78 0
                                wrote on last edited by
                                #21

                                @SGAist should I clean my directory before to make configure ?

                                S 1 Reply Last reply
                                0
                                • S stephane78 0

                                  @SGAist should I clean my directory before to make configure ?

                                  S Offline
                                  S Offline
                                  stephane78 0
                                  wrote on last edited by
                                  #22

                                  @SGaist OK I have remove CMakeCache.txt and now I have this line XCB Xlib ............................. yes and I will compile and test again

                                  S 1 Reply Last reply
                                  0
                                  • S stephane78 0

                                    @SGaist OK I have remove CMakeCache.txt and now I have this line XCB Xlib ............................. yes and I will compile and test again

                                    S Offline
                                    S Offline
                                    stephane78 0
                                    wrote on last edited by
                                    #23

                                    @SGaist Hi I have always the same error when running my application.as there isn't any libqxc.so in /opt/qt6.0.3/qtbase/plugins/platforms/ I have copied those of the qtcreator 4.14.0 but it doesn't work.

                                    1 Reply Last reply
                                    0
                                    • S Offline
                                      S Offline
                                      stephane78 0
                                      wrote on last edited by
                                      #24

                                      @SGaist what are the linux systems supported by Qt6 ?

                                      S 1 Reply Last reply
                                      0
                                      • S stephane78 0

                                        @SGaist what are the linux systems supported by Qt6 ?

                                        S Offline
                                        S Offline
                                        stephane78 0
                                        wrote on last edited by stephane78 0
                                        #25

                                        @SGaist or should I put an option on the configure command line to compile the qpa plugin xcb ?

                                        S 1 Reply Last reply
                                        0
                                        • S stephane78 0

                                          @SGaist or should I put an option on the configure command line to compile the qpa plugin xcb ?

                                          S Offline
                                          S Offline
                                          stephane78 0
                                          wrote on last edited by
                                          #26

                                          @SGaist HI I have found that I cant put -xpa xcb -xcb on the configure line.where can we found all the option of configure.in this the line of xcb input etc are at yes but after I have some other erros at the end of the configure that are not because of that and I think I must specify too the mkspecs on the configure line but I don't know the option.
                                          but now my problem is solved because I looked at download.qt.io and download the source, but I have found that the qt online installer installs the binaries of Qt,even in lgpl with qt6 so it is more simple, and I tried my program with it and now it works

                                          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