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

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.
  • M Mlibu

    @Ronel_qtmaster So you're saying the dependencies of Qt Creator are not enough? I must also use the other installer to install Qt6 itself?

    I usually put that under my home dir. How will Qt Creator detect it?

    Ronel_qtmasterR Offline
    Ronel_qtmasterR Offline
    Ronel_qtmaster
    wrote on last edited by
    #9

    @Mlibu install using the official installer.All the packages required will come with it

    1 Reply Last reply
    1
    • T Offline
      T Offline
      Tink
      wrote on last edited by Tink
      #10

      Well let me add this from the arch wiki as my final comment :)

      source: https://wiki.archlinux.org/title/System_maintenance

      Use the package manager to install software

      Pacman does a much better job than you at keeping track of files. If you install things manually you will, sooner or later, forget what you did, forget where you installed to, install conflicting software, install to the wrong locations, etc.

      M 1 Reply Last reply
      0
      • T Tink

        @Mlibu For normal usage i don't see why you should not just use the package manager. It's there for a reason. With all respect, i do suspect you didnt install correctly. I never had such problems. All i can suggest is removing what you have now and using pacman or pamac to install packages like qt6-base, qtcreator, examples etc.

        M Offline
        M Offline
        Mlibu
        wrote on last edited by Mlibu
        #11

        @Tink This was a fresh install of manjaro. All I did was download the online installer and install minimum packages. I install them into /home/user/Qt.

        I check next to the following:

        Qt Design Studio 4.4.0
        Qt 6.6.2 with only Desktop gcc checked under it
        Qt Creator 12.0.2

        That's it.

        When I run qtcreator it does strange things. There isn't a lot I can remove from Manjaro because it needs qt6-tools, qt6-base, etc etc for the OS. And I just delete /home/user/Qt if I'm going to try a reinstall.

        T Ronel_qtmasterR 2 Replies Last reply
        0
        • M Mlibu

          @Tink This was a fresh install of manjaro. All I did was download the online installer and install minimum packages. I install them into /home/user/Qt.

          I check next to the following:

          Qt Design Studio 4.4.0
          Qt 6.6.2 with only Desktop gcc checked under it
          Qt Creator 12.0.2

          That's it.

          When I run qtcreator it does strange things. There isn't a lot I can remove from Manjaro because it needs qt6-tools, qt6-base, etc etc for the OS. And I just delete /home/user/Qt if I'm going to try a reinstall.

          T Offline
          T Offline
          Tink
          wrote on last edited by
          #12

          @Mlibu you tried the online installer, what can you lose if you try the other approach? Once you done that you can be certain it is not a wrong installation.

          M 1 Reply Last reply
          0
          • T Tink

            Well let me add this from the arch wiki as my final comment :)

            source: https://wiki.archlinux.org/title/System_maintenance

            Use the package manager to install software

            Pacman does a much better job than you at keeping track of files. If you install things manually you will, sooner or later, forget what you did, forget where you installed to, install conflicting software, install to the wrong locations, etc.

            M Offline
            M Offline
            Mlibu
            wrote on last edited by
            #13

            @Tink Ok but the package manager has never worked for me. I started by doing that.

            No examples, no kits, and no documentation on how to set it.

            1 Reply Last reply
            0
            • M Mlibu

              @Tink This was a fresh install of manjaro. All I did was download the online installer and install minimum packages. I install them into /home/user/Qt.

              I check next to the following:

              Qt Design Studio 4.4.0
              Qt 6.6.2 with only Desktop gcc checked under it
              Qt Creator 12.0.2

              That's it.

              When I run qtcreator it does strange things. There isn't a lot I can remove from Manjaro because it needs qt6-tools, qt6-base, etc etc for the OS. And I just delete /home/user/Qt if I'm going to try a reinstall.

              Ronel_qtmasterR Offline
              Ronel_qtmasterR Offline
              Ronel_qtmaster
              wrote on last edited by
              #14

              @Mlibu i feel that you did not selected all the required packages while installing.could you send an image of the packages you have selected while installing?

              1 Reply Last reply
              1
              • T Tink

                @Mlibu you tried the online installer, what can you lose if you try the other approach? Once you done that you can be certain it is not a wrong installation.

                M Offline
                M Offline
                Mlibu
                wrote on last edited by
                #15

                @Tink I'm going to try to install everything but Qt Creator with the online installer then install creator with the package manager. There is nothing else to install in the package manager other than qt creator and optional qt modules..

                M 1 Reply Last reply
                0
                • M Mlibu

                  @Tink I'm going to try to install everything but Qt Creator with the online installer then install creator with the package manager. There is nothing else to install in the package manager other than qt creator and optional qt modules..

                  M Offline
                  M Offline
                  Mlibu
                  wrote on last edited by
                  #16

                  @Mlibu Screenshot_20240311_124158.png

                  Ronel_qtmasterR 1 Reply Last reply
                  0
                  • M Mlibu

                    @Mlibu Screenshot_20240311_124158.png

                    Ronel_qtmasterR Offline
                    Ronel_qtmasterR Offline
                    Ronel_qtmaster
                    wrote on last edited by Ronel_qtmaster
                    #17

                    @Mlibu okay you have installed desktop kit properly.can you locate it in the installation folder?Because qt would normally have detected it

                    M 1 Reply Last reply
                    0
                    • Ronel_qtmasterR Ronel_qtmaster

                      @Mlibu okay you have installed desktop kit properly.can you locate it in the installation folder?Because qt would normally have detected it

                      M Offline
                      M Offline
                      Mlibu
                      wrote on last edited by Mlibu
                      #18

                      @Ronel_qtmaster I uninstalled and I'm reinstalling everything but qt creator with the installer right now. It will be awhile. After it's done I will try installing qt creator from the package manager again. Note that I am using the Manjaro add/remove programs. I trust that it uses the package manager behind the scenes.

                      I'm supposed to be executing qt creator and not qt design studio right? Then when I start QT I add the Qt Quick Designer plugin.

                      Thanks for the help by the way. I'm beginning to lose hope.

                      Ronel_qtmasterR 1 Reply Last reply
                      0
                      • M Mlibu

                        @Ronel_qtmaster I uninstalled and I'm reinstalling everything but qt creator with the installer right now. It will be awhile. After it's done I will try installing qt creator from the package manager again. Note that I am using the Manjaro add/remove programs. I trust that it uses the package manager behind the scenes.

                        I'm supposed to be executing qt creator and not qt design studio right? Then when I start QT I add the Qt Quick Designer plugin.

                        Thanks for the help by the way. I'm beginning to lose hope.

                        Ronel_qtmasterR Offline
                        Ronel_qtmasterR Offline
                        Ronel_qtmaster
                        wrote on last edited by
                        #19

                        @Mlibu normally it should come with every packages working fine.Have you tried other versions of qt6?

                        M 1 Reply Last reply
                        0
                        • Ronel_qtmasterR Ronel_qtmaster

                          @Mlibu normally it should come with every packages working fine.Have you tried other versions of qt6?

                          M Offline
                          M Offline
                          Mlibu
                          wrote on last edited by Mlibu
                          #20

                          @Ronel_qtmaster I have not done that. I will keep that in mind. I would really prefer to use the latest version though that could tell us something.

                          Ronel_qtmasterR 1 Reply Last reply
                          0
                          • M Mlibu

                            @Ronel_qtmaster I have not done that. I will keep that in mind. I would really prefer to use the latest version though that could tell us something.

                            Ronel_qtmasterR Offline
                            Ronel_qtmasterR Offline
                            Ronel_qtmaster
                            wrote on last edited by
                            #21

                            @Mlibu ok but latest versions often have some problems till they are fixed and stable

                            M 4 Replies Last reply
                            0
                            • Ronel_qtmasterR Ronel_qtmaster

                              @Mlibu ok but latest versions often have some problems till they are fixed and stable

                              M Offline
                              M Offline
                              Mlibu
                              wrote on last edited by Mlibu
                              #22

                              @Ronel_qtmaster Ok so I installed everything in the screenshot except for qt creator and then I installed qt creator with the manjaro package manager. Still there are no examples and there is no kit available. When I indicate to start a QtQuick app there is no 'supported platforms' listed and when I select the kit there is none to select.

                              Should I try Qt 6.5.3 instead of Qt 6.6.2?

                              One thing I have noticed is that there is a ~/.designer directory. I have not been clearing that, and there is a crash report (maybe old) where a corrupt templates.xml in there can cause problems.

                              1 Reply Last reply
                              0
                              • Ronel_qtmasterR Ronel_qtmaster

                                @Mlibu ok but latest versions often have some problems till they are fixed and stable

                                M Offline
                                M Offline
                                Mlibu
                                wrote on last edited by Mlibu
                                #23

                                @Ronel_qtmaster I tried Qt 6.5.3 and it's still not working.

                                In fact, the design screen doesn't even draw properly until I build the project. It shows a single empty item when I first start it and none of the controls are responsive at all until I build it. Then it shows a window with a button a field and a label. When I move a rectangle onto the window and go to the properties page to change its color, it works for a couple seconds longer. Then there is a momentary hang where nothing is responding, then Qt Creator is gone. This is happening on every system I try it on and I just want to get coding.

                                1 Reply Last reply
                                0
                                • Ronel_qtmasterR Ronel_qtmaster

                                  @Mlibu ok but latest versions often have some problems till they are fixed and stable

                                  M Offline
                                  M Offline
                                  Mlibu
                                  wrote on last edited by Mlibu
                                  #24

                                  @Ronel_qtmaster I just found this error in my journal log right when starting Qt Creator:

                                  Mar 12 15:21:04 cutie plasmashell[6029]: Failed to initialize instances shared memory: "QSharedMemory::handle: doesn't exist"

                                  And I get this when it dies:

                                  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
                                  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
                                  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
                                  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
                                  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
                                  qtc.imagecontainer.debug: void QmlDesigner::readSharedMemory(qint32, QmlDesigner::ImageContainer&) Not able to create image: 0 0 0
                                  zsh: segmentation fault (core dumped)

                                  1 Reply Last reply
                                  0
                                  • Ronel_qtmasterR Ronel_qtmaster

                                    @Mlibu ok but latest versions often have some problems till they are fixed and stable

                                    M Offline
                                    M Offline
                                    Mlibu
                                    wrote on last edited by
                                    #25

                                    @Ronel_qtmaster
                                    So apparently this is an issue in Qt Creator built with Qt 6.6.0+. Bug report

                                    So the only way to create QML is Qt Creator 11 or Qt Design Studio or manual.

                                    jsulmJ 1 Reply Last reply
                                    0
                                    • M Mlibu

                                      @Ronel_qtmaster
                                      So apparently this is an issue in Qt Creator built with Qt 6.6.0+. Bug report

                                      So the only way to create QML is Qt Creator 11 or Qt Design Studio or manual.

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

                                      @Mlibu Did you make sure you started QtCreator installed using Qt Online Installer? QtCreator from your distribution will not detect Qt installed using Qt Online Installer (but you can configure a Kit for this Qt installation manually).

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

                                      M 1 Reply Last reply
                                      0
                                      • jsulmJ jsulm

                                        @Mlibu Did you make sure you started QtCreator installed using Qt Online Installer? QtCreator from your distribution will not detect Qt installed using Qt Online Installer (but you can configure a Kit for this Qt installation manually).

                                        M Offline
                                        M Offline
                                        Mlibu
                                        wrote on last edited by Mlibu
                                        #27

                                        @jsulm I have been doing this for a month. I have tried both options 20 times in every combination. I have installed all the packages through manjaro, and I have removed all those packages and installed everything except the optional stuff through the central installer. I tried both custom install and selecting both 'Desktop Development Environment' and 'Qt Designer'.

                                        The answer is that Qt Designer just doesn't work through Qt Creator 12.0.2. There were a couple bug reports and the first one dates back to December. But since Design Studio works standalone they probably aren't that motivated to fix it. I just didn't understand that Qt Design Studio was the exact same thing. Also I read confusing things about it. Anyhow.

                                        From what I see, you just cannot use Qt Designer with the plugin through Qt Creator 12.0.2. If you come after me, don't waste a month figuring that out.

                                        JonBJ 1 Reply Last reply
                                        0
                                        • M Mlibu

                                          @jsulm I have been doing this for a month. I have tried both options 20 times in every combination. I have installed all the packages through manjaro, and I have removed all those packages and installed everything except the optional stuff through the central installer. I tried both custom install and selecting both 'Desktop Development Environment' and 'Qt Designer'.

                                          The answer is that Qt Designer just doesn't work through Qt Creator 12.0.2. There were a couple bug reports and the first one dates back to December. But since Design Studio works standalone they probably aren't that motivated to fix it. I just didn't understand that Qt Design Studio was the exact same thing. Also I read confusing things about it. Anyhow.

                                          From what I see, you just cannot use Qt Designer with the plugin through Qt Creator 12.0.2. If you come after me, don't waste a month figuring that out.

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

                                          @Mlibu
                                          Can we start with some basics Sometimes you write about Qt Designer and sometimes about Qt Design Studio. They are different products. So which one are you really trying to install or wanting?

                                          Designer is just that part of Creator which allows you to design widgets and produce code from them. That is all I, and the majority of Qt-ers, use.

                                          Design Studio is a different beast. It's for more advanced design (including 2D & 3D). I haven't used it, I believe you produce QML from it. I don't even think it has anything to do with Qt Creator, I believe it's an external component with its own interface. Do you really want/need this?

                                          If you just want Qt + Creator I would have thought you would get pre-supplied versions of these with your Linux distro. Certainly that is the case with Ubuntu, I don't know about your distros.

                                          I have always just downloaded (apt get under Ubuntu) the supplied version of Qt plus Creator. No compilation, no problems, it just works. May not be the latest Qt version, depends on distro and date. But an awful lot simpler than getting other stuff from The Qt Company (never had to do that or go to their site) and/or building anything yourself.

                                          You do not need a GPU or anything special. Certainly not for Qt with widgets, I don't use QML but from what I see that does not require a GPU either (I think it can use one if present but can manage without).

                                          What about just trying to install and get working the distro's Qt + Creator, without worrying about QML/GPU for now, to verify that works for you?

                                          M 1 Reply Last reply
                                          1

                                          • Login

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