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.2k 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.
  • 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
          • JonBJ JonB

            @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 Offline
            M Offline
            Mlibu
            wrote on last edited by Mlibu
            #29

            @JonB I want to install Qt Creator and use the design tab to build QML widgets with Qt6.

            I haven't been able to see a good description of the difference. In the Qt bug report I was referring to, they said to use Qt Design Studio as an alternative to Qt Designer within Qt Creator.

            Qt Designer and Qt Design Studio are different things then? Then why would Qt suggest that as an alternative instead of fixing a bug?

            And Designer seems to be a standalone product now. There is a separate package for it in Manjaro and in the Qt installer.

            I think I would prefer to use the Designer in Qt creator.

            That explains why Qt Design Studio was requiring ui.qml files.

            Yeah I was hoping to leave trying another OS as a last resort, because that won't help me since I want to use Manjaro KDE. And yes I have tried all the Manjaro packages for Qt6. When I install through the Manjaro PM I don't get any kits or any examples so it's not configured properly. And if I am supposed to configure them manually then I have not been able to find any instructions on doing so. Also I migrated to unstable manjaro but no dice.

            Sorry about being so ignorant of this but it's kind of hard to learn about software if you cannot install it.

            JonBJ 1 Reply Last reply
            0
            • M Mlibu

              @JonB I want to install Qt Creator and use the design tab to build QML widgets with Qt6.

              I haven't been able to see a good description of the difference. In the Qt bug report I was referring to, they said to use Qt Design Studio as an alternative to Qt Designer within Qt Creator.

              Qt Designer and Qt Design Studio are different things then? Then why would Qt suggest that as an alternative instead of fixing a bug?

              And Designer seems to be a standalone product now. There is a separate package for it in Manjaro and in the Qt installer.

              I think I would prefer to use the Designer in Qt creator.

              That explains why Qt Design Studio was requiring ui.qml files.

              Yeah I was hoping to leave trying another OS as a last resort, because that won't help me since I want to use Manjaro KDE. And yes I have tried all the Manjaro packages for Qt6. When I install through the Manjaro PM I don't get any kits or any examples so it's not configured properly. And if I am supposed to configure them manually then I have not been able to find any instructions on doing so. Also I migrated to unstable manjaro but no dice.

              Sorry about being so ignorant of this but it's kind of hard to learn about software if you cannot install it.

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

              @Mlibu
              First things first, forget Design Studio. You can even still do QML stuff if you want from Creator without it. You just want Designer, and that comes as a part of the Creator package.

              I found your https://forum.manjaro.org/t/qt-creator-will-not-work-on-manjaro-im-desperate/158116. I can see other people are fine under Manjaro, I guess you will get the best help for your distro there.

              Somehow your error message is realted to https://forum.qt.io/topic/133182/can-t-open-qml-file-in-design-studio-anymore. And I really think that is to with Design Studio? If you get rid of that where are you now on plain Creator installed and running?

              M 1 Reply Last reply
              0
              • JonBJ JonB

                @Mlibu
                First things first, forget Design Studio. You can even still do QML stuff if you want from Creator without it. You just want Designer, and that comes as a part of the Creator package.

                I found your https://forum.manjaro.org/t/qt-creator-will-not-work-on-manjaro-im-desperate/158116. I can see other people are fine under Manjaro, I guess you will get the best help for your distro there.

                Somehow your error message is realted to https://forum.qt.io/topic/133182/can-t-open-qml-file-in-design-studio-anymore. And I really think that is to with Design Studio? If you get rid of that where are you now on plain Creator installed and running?

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

                @JonB You know what, Designer and Design Studio are too close together for my head to keep apart. I did not realize that bug was related to Design Studio.

                Am I supposed to be able to install the kits and examples manually in Manjaro? I mean is it possible to configure those on my own?

                JonBJ 1 Reply Last reply
                0
                • M Mlibu

                  @JonB You know what, Designer and Design Studio are too close together for my head to keep apart. I did not realize that bug was related to Design Studio.

                  Am I supposed to be able to install the kits and examples manually in Manjaro? I mean is it possible to configure those on my own?

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

                  @Mlibu
                  You don't/shouldn't really need to install any kits under Linux. You have to install whatever package(s) your distro has for "compiling C++ programs". That will include gcc etc. Then you should find that in Creator it sees you have the necessary installed in the system and it picks it up for you. I don't think I have ever had more than one choice or had to do anything for it to work under Ubuntu.

                  Examples are a separate, optional install package under Ubuntu. Probably same under yours.

                  For now you're just supposed to be getting to the point where you have installed and can run up Creator. Then make sure it shows you have a kit. Examples can come later.

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

                    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 1 Reply Last reply
                    0
                    • T Tink

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

                        @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 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
                        0
                        • T Tink

                          @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 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
                          0
                          • M Mlibu

                            @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 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.

                            jsulmJ 1 Reply Last reply
                            0
                            • T Offline
                              T Offline
                              Tink
                              wrote on last edited by
                              #38

                              build-essential is installed?

                              1 Reply Last reply
                              0
                              • M Mlibu

                                @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.

                                jsulmJ Offline
                                jsulmJ Offline
                                jsulm
                                Lifetime Qt Champion
                                wrote on 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
                                0
                                • jsulmJ jsulm

                                  @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 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

                                  jsulmJ 1 Reply Last reply
                                  0
                                  • M Mlibu referenced this topic on
                                  • M Mlibu

                                    @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

                                    jsulmJ Offline
                                    jsulmJ Offline
                                    jsulm
                                    Lifetime Qt Champion
                                    wrote on 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
                                    0
                                    • jsulmJ jsulm

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

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

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

                                      jsulmJ 1 Reply Last reply
                                      0
                                      • M Mlibu

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

                                        jsulmJ Offline
                                        jsulmJ Offline
                                        jsulm
                                        Lifetime Qt Champion
                                        wrote on 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
                                        0
                                        • jsulmJ jsulm

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

                                          M Offline
                                          M Offline
                                          Mlibu
                                          wrote on 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
                                          0

                                          • Login

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