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. I can't open qtcreator in ubuntu
Forum Updated to NodeBB v4.3 + New Features

I can't open qtcreator in ubuntu

Scheduled Pinned Locked Moved Solved Installation and Deployment
28 Posts 16 Posters 16.3k 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.
  • M Offline
    M Offline
    marbor
    wrote on last edited by
    #1

    Hi,
    I have a problem... I can not open my qt creator app. I click two times but nothing happens. I already reinstall qt creator but it doesn't help. Maybe somebody had same problem and can help me.
    My softwere: Ubuntu 20.04
    I try to install qtcreator with Qt 6

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

      Hi and welcome to devnet,

      Use a terminal and start Qt Creator from there, you should get some more information about what is going wrong.

      How did you install Qt Creator ?

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

      M 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi and welcome to devnet,

        Use a terminal and start Qt Creator from there, you should get some more information about what is going wrong.

        How did you install Qt Creator ?

        M Offline
        M Offline
        marbor
        wrote on last edited by
        #3

        @SGaist Can You tell me what should i do to start Qt Creator from treminal? To install Qt using special Qt app (i downloaded it qt website).

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

          Search for the Terminal application, go to the folder where you installed Qt Creator and start it.

          What is your level of proficiency with Linux ?

          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
          0
          • M Offline
            M Offline
            marbor
            wrote on last edited by
            #5

            From terminal:
            ~/Qt/Tools/QtCreator/bin$ qtcreator

            Command 'qtcreator' not found, but can be installed with:

            sudo apt install qtcreator

            I have been using ubuntu for 2months

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

              To execute an application from its containing folder use ./name_of_executable.

              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
              • M Offline
                M Offline
                marbor
                wrote on last edited by
                #7

                oh, sorry
                from terminal
                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, xcb.

                Aborted (memory dump)

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

                  Start Qt Creator with the QT_DEBUG_PLUGINS environment variable set to 1. It will tell you what made the loading failed.

                  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
                  • M Offline
                    M Offline
                    marbor
                    wrote on last edited by
                    #9

                    ok, but how can i do that? In trminal?

                    JonBJ 1 Reply Last reply
                    0
                    • M marbor

                      ok, but how can i do that? In trminal?

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

                      @marbor
                      Yes.

                      export QT_DEBUG_PLUGINS=1
                      ./name_of_executable
                      
                      1 Reply Last reply
                      3
                      • M Offline
                        M Offline
                        marbor
                        wrote on last edited by
                        #11

                        thx you all, now works

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

                          What did you have to modify ?

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

                          raz0229R A 2 Replies Last reply
                          1
                          • SGaistS SGaist

                            What did you have to modify ?

                            raz0229R Offline
                            raz0229R Offline
                            raz0229
                            wrote on last edited by
                            #13

                            @SGaist Had the same issue. Turns out the downloaded files were either incomplete or corrupted (Idk how). Just reinstalled

                            1 Reply Last reply
                            1
                            • SGaistS SGaist

                              What did you have to modify ?

                              A Offline
                              A Offline
                              aaron2020
                              wrote on last edited by
                              #14

                              @SGaist same problem but I still can't solve it after reading your posts. 😢

                              SGaistS 1 Reply Last reply
                              0
                              • A aaron2020

                                @SGaist same problem but I still can't solve it after reading your posts. 😢

                                SGaistS Offline
                                SGaistS Offline
                                SGaist
                                Lifetime Qt Champion
                                wrote on last edited by
                                #15

                                @aaron2020 hi and welcome to devnet,

                                What exactly did you do ?
                                What exactly did you install ?

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

                                C 1 Reply Last reply
                                1
                                • L Offline
                                  L Offline
                                  Leon Abascal
                                  wrote on last edited by
                                  #16

                                  I experienced the same issue. In the last step, the plugin debug warned me that libxcb-xinerama0 was missing and sudo apt-get install --reinstall libxcb-xinerama0 fixed it.
                                  Hope it helps, cheers.

                                  S S 2 Replies Last reply
                                  4
                                  • SGaistS SGaist

                                    @aaron2020 hi and welcome to devnet,

                                    What exactly did you do ?
                                    What exactly did you install ?

                                    C Offline
                                    C Offline
                                    CEmori
                                    wrote on last edited by
                                    #17

                                    @SGaist Hey, I'm getting the same problem as OP

                                    "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, xcb.

                                    Aborted (memory dump)"

                                    changing the QT_DEBUG_PLUGINS variable did not change it. I reinstalled it aswell.

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

                                      Hi and welcome to devnet,

                                      This environment variable triggers debugging output on the console so you get more information about what is failing.

                                      Did you install the libraries @Leon-Abascal suggested ?

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

                                      C 1 Reply Last reply
                                      0
                                      • SGaistS SGaist

                                        Hi and welcome to devnet,

                                        This environment variable triggers debugging output on the console so you get more information about what is failing.

                                        Did you install the libraries @Leon-Abascal suggested ?

                                        C Offline
                                        C Offline
                                        CEmori
                                        wrote on last edited by
                                        #19

                                        @SGaist installing the missing libraries helped! Thanks a lot.

                                        1 Reply Last reply
                                        0
                                        • L Leon Abascal

                                          I experienced the same issue. In the last step, the plugin debug warned me that libxcb-xinerama0 was missing and sudo apt-get install --reinstall libxcb-xinerama0 fixed it.
                                          Hope it helps, cheers.

                                          S Offline
                                          S Offline
                                          spara7c5
                                          wrote on last edited by
                                          #20

                                          @Leon-Abascal you save my life! Same problem and same working solution! (ubuntu 21.04 in virtualbox)

                                          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