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 29 Dec 2020, 19:31 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
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 29 Dec 2020, 19:32 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 29 Dec 2020, 19:41
      0
      • S SGaist
        29 Dec 2020, 19:32

        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 29 Dec 2020, 19:41 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
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 29 Dec 2020, 19:44 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 29 Dec 2020, 19:54 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
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 29 Dec 2020, 20:05 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 29 Dec 2020, 20:07 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 11 May 2021, 08:01
                1
                • S Offline
                  S Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on 29 Dec 2020, 20:09 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 29 Dec 2020, 20:17 last edited by
                    #9

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

                    J 1 Reply Last reply 29 Dec 2020, 20:43
                    0
                    • M marbor
                      29 Dec 2020, 20:17

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

                      J Offline
                      J Offline
                      JonB
                      wrote on 29 Dec 2020, 20:43 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 29 Dec 2020, 20:52 last edited by
                        #11

                        thx you all, now works

                        1 Reply Last reply
                        0
                        • S Offline
                          S Offline
                          SGaist
                          Lifetime Qt Champion
                          wrote on 30 Dec 2020, 20:07 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 12 Feb 2021, 15:43
                          1
                          • S SGaist
                            30 Dec 2020, 20:07

                            What did you have to modify ?

                            raz0229R Offline
                            raz0229R Offline
                            raz0229
                            wrote on 12 Feb 2021, 15:43 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
                            • S SGaist
                              30 Dec 2020, 20:07

                              What did you have to modify ?

                              A Offline
                              A Offline
                              aaron2020
                              wrote on 7 Mar 2021, 06:14 last edited by
                              #14

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

                              S 1 Reply Last reply 7 Mar 2021, 20:16
                              0
                              • A aaron2020
                                7 Mar 2021, 06:14

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

                                S Offline
                                S Offline
                                SGaist
                                Lifetime Qt Champion
                                wrote on 7 Mar 2021, 20:16 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 24 Apr 2021, 18:09
                                1
                                • L Offline
                                  L Offline
                                  Leon Abascal
                                  wrote on 3 Apr 2021, 12:27 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 29 Apr 2021, 22:07
                                  4
                                  • S SGaist
                                    7 Mar 2021, 20:16

                                    @aaron2020 hi and welcome to devnet,

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

                                    C Offline
                                    C Offline
                                    CEmori
                                    wrote on 24 Apr 2021, 18:09 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
                                    • S Offline
                                      S Offline
                                      SGaist
                                      Lifetime Qt Champion
                                      wrote on 24 Apr 2021, 18:28 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 24 Apr 2021, 19:14
                                      0
                                      • S SGaist
                                        24 Apr 2021, 18:28

                                        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 24 Apr 2021, 19:14 last edited by
                                        #19

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

                                        1 Reply Last reply
                                        0
                                        • L Leon Abascal
                                          3 Apr 2021, 12:27

                                          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 29 Apr 2021, 22:07 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