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. I'm back with a GPU.. Qt Creator still not working
Forum Update on Monday, May 27th 2025

I'm back with a GPU.. Qt Creator still not working

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
144 Posts 7 Posters 39.3k Views
  • 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.
  • T Tink
    13 Mar 2024, 14:54

    base-devel package
    qt6-examples

    As for design-studio, it is recommended for qtquick: https://doc.qt.io/qtcreator/creator-qtquickdesigner-plugin.html
    But yeah that would be a second optional step. And there's no package for it...

    M Offline
    M Offline
    Mlibu
    wrote on 13 Mar 2024, 15:34 last edited by Mlibu
    #34

    @Tink Yes I have tried installing all the packages. Maybe I should just reinstall Manjaro and just install all the qt6 and qtcreator packages first thing.

    T 1 Reply Last reply 13 Mar 2024, 15:49
    0
    • M Mlibu
      13 Mar 2024, 15:34

      @Tink Yes I have tried installing all the packages. Maybe I should just reinstall Manjaro and just install all the qt6 and qtcreator packages first thing.

      T Offline
      T Offline
      Tink
      wrote on 13 Mar 2024, 15:49 last edited by
      #35

      @Mlibu a fresh install seems smart, yes. Then the build tools, qtcreator, examples, run some example project. Should be fine.

      M 1 Reply Last reply 13 Mar 2024, 18:23
      0
      • T Tink
        13 Mar 2024, 15:49

        @Mlibu a fresh install seems smart, yes. Then the build tools, qtcreator, examples, run some example project. Should be fine.

        M Offline
        M Offline
        Mlibu
        wrote on 13 Mar 2024, 18:23 last edited by Mlibu
        #36

        @Tink
        I'm afraid the fresh install didn't make a difference. It was already almost fresh after all.

        I installed the Manjaro packages and have no kits or examples. I think I'm going to try another distribution right away just to see if it works.

        I'm trying ubuntu.

        M 2 Replies Last reply 13 Mar 2024, 20:04
        0
        • M Mlibu
          13 Mar 2024, 18:23

          @Tink
          I'm afraid the fresh install didn't make a difference. It was already almost fresh after all.

          I installed the Manjaro packages and have no kits or examples. I think I'm going to try another distribution right away just to see if it works.

          I'm trying ubuntu.

          M Offline
          M Offline
          Mlibu
          wrote on 13 Mar 2024, 20:04 last edited by
          #37

          @Mlibu Update: I just installed Ubuntu, updated it, and installed qt-framework, qt-framework-6-6-core22, and the qt creator package. Is there something else I should install? Because it is doing the same thing as on Manjaro. I didn't see any other package with 'qt' in it that was related to qt6.

          J 1 Reply Last reply 14 Mar 2024, 06:36
          0
          • T Offline
            T Offline
            Tink
            wrote on 14 Mar 2024, 00:27 last edited by
            #38

            build-essential is installed?

            1 Reply Last reply
            0
            • M Mlibu
              13 Mar 2024, 20:04

              @Mlibu Update: I just installed Ubuntu, updated it, and installed qt-framework, qt-framework-6-6-core22, and the qt creator package. Is there something else I should install? Because it is doing the same thing as on Manjaro. I didn't see any other package with 'qt' in it that was related to qt6.

              J Offline
              J Offline
              jsulm
              Lifetime Qt Champion
              wrote on 14 Mar 2024, 06:36 last edited by
              #39

              @Mlibu Which version of Ubuntu? My Ubuntu 20.04 does not provide Qt6 packages. You can simply use Qt Online Installer to install Qt6.

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

              M 1 Reply Last reply 16 Mar 2024, 14:32
              0
              • J jsulm
                14 Mar 2024, 06:36

                @Mlibu Which version of Ubuntu? My Ubuntu 20.04 does not provide Qt6 packages. You can simply use Qt Online Installer to install Qt6.

                M Offline
                M Offline
                Mlibu
                wrote on 16 Mar 2024, 14:32 last edited by Mlibu
                #40

                @jsulm I installed the most recent one? It's Ubuntu 23.10. When I go into the application store there is a package qt-framework-6-6-core22 that installs under the snap directory. I have tried to add that manually to the qt creator installed by package and also I tried to add the Qt from the installer. In both cases I get an error like this:

                The qmake executable /home/user/Qt/6.6.2/gcc_64/bin/qmake could not be added: "/home/user/Qt/6.6.2/gcc_64/bin/qmake" produced no output: /home/user/Qt/6.6.2/gcc_64/bin/qmake: symbol lookup error: /home/user/Qt/6.6.2/gcc_64/bin/qmake: undefined symbol: _ZN9QtPrivate25QMetaTypeInterfaceWrapperI7QStringE8metaTypeE, version Qt_6

                And then it says qmake is not readable.

                Also I just got this error in a rogue X11 window that seemed to have come from the Ubuntu packaged Qt Creator:

                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: minimalegl, xcb, wayland-egl, linuxfb, vkkhrdisplay, vnc, wayland, offscreen, minimal, eglfs.

                And.. apparently this is a rabbit hole that never ends. I searched on this error and found an old forum post that indicated to run qtcreator with QT_DEBUG_PLUGINS=1. When I did I got a dialog with the following:

                The following plugins have errors and cannot be loaded:
                QmlProfiler

                Plugin initialization failed: Cannot create OpenGL context.

                Though when I checked my vid card support it was at OpenGL 4.6

                J 1 Reply Last reply 18 Mar 2024, 07:41
                0
                • M Mlibu referenced this topic on 17 Mar 2024, 11:46
                • M Mlibu
                  16 Mar 2024, 14:32

                  @jsulm I installed the most recent one? It's Ubuntu 23.10. When I go into the application store there is a package qt-framework-6-6-core22 that installs under the snap directory. I have tried to add that manually to the qt creator installed by package and also I tried to add the Qt from the installer. In both cases I get an error like this:

                  The qmake executable /home/user/Qt/6.6.2/gcc_64/bin/qmake could not be added: "/home/user/Qt/6.6.2/gcc_64/bin/qmake" produced no output: /home/user/Qt/6.6.2/gcc_64/bin/qmake: symbol lookup error: /home/user/Qt/6.6.2/gcc_64/bin/qmake: undefined symbol: _ZN9QtPrivate25QMetaTypeInterfaceWrapperI7QStringE8metaTypeE, version Qt_6

                  And then it says qmake is not readable.

                  Also I just got this error in a rogue X11 window that seemed to have come from the Ubuntu packaged Qt Creator:

                  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: minimalegl, xcb, wayland-egl, linuxfb, vkkhrdisplay, vnc, wayland, offscreen, minimal, eglfs.

                  And.. apparently this is a rabbit hole that never ends. I searched on this error and found an old forum post that indicated to run qtcreator with QT_DEBUG_PLUGINS=1. When I did I got a dialog with the following:

                  The following plugins have errors and cannot be loaded:
                  QmlProfiler

                  Plugin initialization failed: Cannot create OpenGL context.

                  Though when I checked my vid card support it was at OpenGL 4.6

                  J Offline
                  J Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on 18 Mar 2024, 07:41 last edited by
                  #41

                  @Mlibu I never installed Qt via snap, Ubuntu should still have normal Qt packages to install.

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

                  M 1 Reply Last reply 18 Mar 2024, 10:54
                  0
                  • J jsulm
                    18 Mar 2024, 07:41

                    @Mlibu I never installed Qt via snap, Ubuntu should still have normal Qt packages to install.

                    M Offline
                    M Offline
                    Mlibu
                    wrote on 18 Mar 2024, 10:54 last edited by
                    #42

                    @jsulm I used the package manager application Ubuntu comes with. It doesn't install normal packages?

                    J 1 Reply Last reply 18 Mar 2024, 12:32
                    0
                    • M Mlibu
                      18 Mar 2024, 10:54

                      @jsulm I used the package manager application Ubuntu comes with. It doesn't install normal packages?

                      J Offline
                      J Offline
                      jsulm
                      Lifetime Qt Champion
                      wrote on 18 Mar 2024, 12:32 last edited by
                      #43

                      @Mlibu Snap is not the same as "normal" deb packages. Snaps are containers running applications.

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

                      M 1 Reply Last reply 18 Mar 2024, 14:47
                      0
                      • J jsulm
                        18 Mar 2024, 12:32

                        @Mlibu Snap is not the same as "normal" deb packages. Snaps are containers running applications.

                        M Offline
                        M Offline
                        Mlibu
                        wrote on 18 Mar 2024, 14:47 last edited by
                        #44

                        @jsulm That's interesting and confusing. At any rate, that doesn't explain why it wasn't working in Manjaro. I was able to access the files in the snap directories and Qt Creator was reading them, it just wasn't liking what it was seeing.

                        M 1 Reply Last reply 18 Mar 2024, 15:26
                        0
                        • M Mlibu
                          18 Mar 2024, 14:47

                          @jsulm That's interesting and confusing. At any rate, that doesn't explain why it wasn't working in Manjaro. I was able to access the files in the snap directories and Qt Creator was reading them, it just wasn't liking what it was seeing.

                          M Offline
                          M Offline
                          Mlibu
                          wrote on 18 Mar 2024, 15:26 last edited by Mlibu
                          #45

                          @Mlibu So an update. I was able to build a project by adding /usr/bin/qmake6 (from manjaro package) to a kit and also installing ninja and cmake. However, though creator is not crashing this time the objects still arent drawn properly and there is just a grey background. I'm going to try installing manjaro one more time and doing that.

                          1 Reply Last reply
                          0
                          • M Mlibu
                            13 Mar 2024, 18:23

                            @Tink
                            I'm afraid the fresh install didn't make a difference. It was already almost fresh after all.

                            I installed the Manjaro packages and have no kits or examples. I think I'm going to try another distribution right away just to see if it works.

                            I'm trying ubuntu.

                            M Offline
                            M Offline
                            Mlibu
                            wrote on 19 Mar 2024, 11:52 last edited by Mlibu
                            #46

                            @Mlibu
                            Is this error not a problem?

                            qt.accessibility.atspi: Error in contacting registry: “org.freedesktop.DBus.Error.Disconnected” “Not connected to D-Bus server”

                            PropertyEditor: invalid node for setup
                            qtc.imagecontainer.debug: void QmlDesigner::readSharedMemory(qint32, QmlDesigner::ImageContainer&) Not able to create image: 0 0 0
                            qtc.imagecontainer.debug: void QmlDesigner::readSharedMemory(qint32, QmlDesigner::ImageContainer&) Not able to create image: 0 0 0
                            PropertyEditor: invalid node for setup
                            qtc.imagecontainer.debug: void QmlDesigner::readSharedMemory(qint32, QmlDesigner::ImageContainer&) Not able to create image: 0 0 0
                            QDragManager::drag in possibly invalid state

                            1 Reply Last reply
                            0
                            • T Offline
                              T Offline
                              Tink
                              wrote on 20 Mar 2024, 07:09 last edited by Tink
                              #47

                              Might be useful to see what packages you have installed.

                              pacman -Q > installed.txt
                              
                              M 1 Reply Last reply 20 Mar 2024, 12:49
                              0
                              • T Tink
                                20 Mar 2024, 07:09

                                Might be useful to see what packages you have installed.

                                pacman -Q > installed.txt
                                
                                M Offline
                                M Offline
                                Mlibu
                                wrote on 20 Mar 2024, 12:49 last edited by Mlibu
                                #48

                                @Tink That sounds like it may be productive, thank you.

                                Please click here (Pastebin)

                                T 1 Reply Last reply 20 Mar 2024, 16:53
                                0
                                • M Mlibu
                                  20 Mar 2024, 12:49

                                  @Tink That sounds like it may be productive, thank you.

                                  Please click here (Pastebin)

                                  T Offline
                                  T Offline
                                  Tink
                                  wrote on 20 Mar 2024, 16:53 last edited by Tink
                                  #49

                                  @Mlibu i have more qt6 packages installed. See if it makes a difference for you if you install the qt6 group.

                                  pacman -S qt6
                                  

                                  Oh and this:

                                  pacman -S base-devel
                                  
                                  M 1 Reply Last reply 20 Mar 2024, 19:16
                                  0
                                  • T Tink
                                    20 Mar 2024, 16:53

                                    @Mlibu i have more qt6 packages installed. See if it makes a difference for you if you install the qt6 group.

                                    pacman -S qt6
                                    

                                    Oh and this:

                                    pacman -S base-devel
                                    
                                    M Offline
                                    M Offline
                                    Mlibu
                                    wrote on 20 Mar 2024, 19:16 last edited by
                                    #50

                                    @Tink Thanks but that didn't work. Still doing the same thing.

                                    R T 2 Replies Last reply 20 Mar 2024, 21:45
                                    0
                                    • M Mlibu
                                      20 Mar 2024, 19:16

                                      @Tink Thanks but that didn't work. Still doing the same thing.

                                      R Offline
                                      R Offline
                                      Ronel_qtmaster
                                      wrote on 20 Mar 2024, 21:45 last edited by
                                      #51

                                      @Mlibu it seems that we have to download the online installer from our qt account before installing it https://doc.qt.io/qt-6/qt-online-installation.html

                                      M 1 Reply Last reply 20 Mar 2024, 22:02
                                      0
                                      • R Ronel_qtmaster
                                        20 Mar 2024, 21:45

                                        @Mlibu it seems that we have to download the online installer from our qt account before installing it https://doc.qt.io/qt-6/qt-online-installation.html

                                        M Offline
                                        M Offline
                                        Mlibu
                                        wrote on 20 Mar 2024, 22:02 last edited by
                                        #52

                                        @Ronel_qtmaster I have tried it with the installer, with Manjaro package manager and with Ubuntu package manager. If I use the installer it crashes as soon as I use the property pane in the designer screen. Through Manjaro package manager it doesn't crash but the designer 2D screen doesn't draw properly and is useless.

                                        1 Reply Last reply
                                        0
                                        • M Mlibu
                                          20 Mar 2024, 19:16

                                          @Tink Thanks but that didn't work. Still doing the same thing.

                                          T Offline
                                          T Offline
                                          Tink
                                          wrote on 21 Mar 2024, 07:27 last edited by Tink
                                          #53

                                          @Mlibu said in I'm back with a GPU.. Qt Creator still not working:

                                          @Tink Thanks but that didn't work. Still doing the same thing.

                                          Alright you started with no examples and no working default desktop kit, that has resolved itself after many retries right. So now all you have left is the qt.accessibility.atspi: Error in contacting registry: “org.freedesktop.DBus.Error.Disconnected” “Not connected to D-Bus server” problem if that is indeed the cause of the qt designer malfunctioning.

                                          Am i correct that you always tried with kde plasma? I would certainly also try with another lighter desktop environment like the one i'm using, xfce4.

                                          pacman -Sy xfce4
                                          startxfce4
                                          

                                          Perhaps even remove plasma.

                                          M 1 Reply Last reply 21 Mar 2024, 11:56
                                          0

                                          43/144

                                          18 Mar 2024, 12:32

                                          • Login

                                          • Login or register to search.
                                          43 out of 144
                                          • First post
                                            43/144
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Users
                                          • Groups
                                          • Search
                                          • Get Qt Extensions
                                          • Unsolved