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
QtWS25 Last Chance

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.
  • M Mlibu
    22 Mar 2024, 13:07

    @Tink Ok I'm here to find a solution to my problem, not discuss the clarity of the documentation. I guess the part about kits didn't come up in my google searches of "how to add a kit to qt creator".

    J Offline
    J Offline
    JoeCFD
    wrote on 22 Mar 2024, 14:01 last edited by
    #85

    @Mlibu not sure if qt creator is working well with Vulkan. I have not tried it.
    If your qt creator works, neither Designer nor Qt Design Studio is mandatory for your GUI design while they should work. Actually, I do not use both of them now although I have used Qt for some years.

    run the following command to check if something is missing(especially plugins)
    strace qtcreator

    M 1 Reply Last reply 22 Mar 2024, 14:15
    0
    • J JoeCFD
      22 Mar 2024, 14:01

      @Mlibu not sure if qt creator is working well with Vulkan. I have not tried it.
      If your qt creator works, neither Designer nor Qt Design Studio is mandatory for your GUI design while they should work. Actually, I do not use both of them now although I have used Qt for some years.

      run the following command to check if something is missing(especially plugins)
      strace qtcreator

      M Offline
      M Offline
      Mlibu
      wrote on 22 Mar 2024, 14:15 last edited by Mlibu
      #86

      @JoeCFD Yes I have done a lot of QML manually but this time I want to have a lot more visual asthetic in my interface so I was really hoping to use creator to tie the signals to the ui etc. I will try the strace.

      I have not heard good things about Qt Design Studio but I guess I will use it in the end if it gives me a visual and it works. Don't know how easy it is to work with C++ behind it though.

      J 1 Reply Last reply 22 Mar 2024, 14:34
      0
      • M Mlibu
        22 Mar 2024, 14:15

        @JoeCFD Yes I have done a lot of QML manually but this time I want to have a lot more visual asthetic in my interface so I was really hoping to use creator to tie the signals to the ui etc. I will try the strace.

        I have not heard good things about Qt Design Studio but I guess I will use it in the end if it gives me a visual and it works. Don't know how easy it is to work with C++ behind it though.

        J Offline
        J Offline
        JoeCFD
        wrote on 22 Mar 2024, 14:34 last edited by
        #87

        @Mlibu any good reasons for using Manjaro? I doubt Qt folks test Qt in all Linux distributions.

        J 1 Reply Last reply 22 Mar 2024, 14:39
        0
        • J JoeCFD
          22 Mar 2024, 14:34

          @Mlibu any good reasons for using Manjaro? I doubt Qt folks test Qt in all Linux distributions.

          J Offline
          J Offline
          JonB
          wrote on 22 Mar 2024, 14:39 last edited by
          #88

          @JoeCFD
          I already asked OP about this, requesting he try something we know lots of us use like Ubuntu. If you scroll back to about https://forum.qt.io/topic/155232/i-m-back-with-a-gpu-qt-creator-still-not-working/59 he replied

          I have already tried Manjaro/KDE and Ubuntu/Gnome. Both with the package managers and with the unified installer.

          If he is having his problem on Ubuntu/GNOME I don't know why his situation is apparently different from others.

          M 1 Reply Last reply 22 Mar 2024, 14:51
          0
          • J JonB referenced this topic on 22 Mar 2024, 14:39
          • J JonB
            22 Mar 2024, 14:39

            @JoeCFD
            I already asked OP about this, requesting he try something we know lots of us use like Ubuntu. If you scroll back to about https://forum.qt.io/topic/155232/i-m-back-with-a-gpu-qt-creator-still-not-working/59 he replied

            I have already tried Manjaro/KDE and Ubuntu/Gnome. Both with the package managers and with the unified installer.

            If he is having his problem on Ubuntu/GNOME I don't know why his situation is apparently different from others.

            M Offline
            M Offline
            Mlibu
            wrote on 22 Mar 2024, 14:51 last edited by
            #89

            @JonB In the end I will use Ubuntu if that is the only thing that works. I'm not a big fan of Gnome and prefer KDE and Arch rolling release that's all. But like person before me said, I tried Ubuntu 23.10 and it did the same thing for me. Some people have suggested that I try Ubuntu 20.02 but I haven't had a chance yet.

            R J 2 Replies Last reply 22 Mar 2024, 14:54
            0
            • M Mlibu
              22 Mar 2024, 14:51

              @JonB In the end I will use Ubuntu if that is the only thing that works. I'm not a big fan of Gnome and prefer KDE and Arch rolling release that's all. But like person before me said, I tried Ubuntu 23.10 and it did the same thing for me. Some people have suggested that I try Ubuntu 20.02 but I haven't had a chance yet.

              R Offline
              R Offline
              Ronel_qtmaster
              wrote on 22 Mar 2024, 14:54 last edited by
              #90

              @Mlibu is your project compiling with qt6?

              M 1 Reply Last reply 22 Mar 2024, 14:55
              0
              • R Ronel_qtmaster
                22 Mar 2024, 14:54

                @Mlibu is your project compiling with qt6?

                M Offline
                M Offline
                Mlibu
                wrote on 22 Mar 2024, 14:55 last edited by Mlibu
                #91

                @Ronel_qtmaster Yes I can compile it with 6.6.0. Also the red square that I can't see on the screen appears in the window when it executes.

                R 2 Replies Last reply 22 Mar 2024, 14:57
                0
                • M Mlibu
                  22 Mar 2024, 14:55

                  @Ronel_qtmaster Yes I can compile it with 6.6.0. Also the red square that I can't see on the screen appears in the window when it executes.

                  R Offline
                  R Offline
                  Ronel_qtmaster
                  wrote on 22 Mar 2024, 14:57 last edited by
                  #92

                  @Mlibu okay what is missing now?I mean which tool or feature

                  1 Reply Last reply
                  0
                  • M Mlibu
                    22 Mar 2024, 14:55

                    @Ronel_qtmaster Yes I can compile it with 6.6.0. Also the red square that I can't see on the screen appears in the window when it executes.

                    R Offline
                    R Offline
                    Ronel_qtmaster
                    wrote on 22 Mar 2024, 15:02 last edited by
                    #93

                    @Mlibu maybe you will have to try with ubuntu instead.
                    check this https://doc.qt.io/qt-6/supported-platforms.html
                    qt6.PNG

                    1 Reply Last reply
                    0
                    • M Offline
                      M Offline
                      Mlibu
                      wrote on 22 Mar 2024, 15:12 last edited by Mlibu
                      #94

                      Ok so none of the packages on any other OS are even guaranteed to be working? Wow.

                      I'll try it on Windows 10 again then. I googled many times on "requirements for Qt creator". I guess I should have searched on "requirements for qt6".

                      I didn't want to do it on my mac because that requires all kinds of xcode library stuff and then it always breaks every time you have to upgrade xcode.

                      R 1 Reply Last reply 22 Mar 2024, 15:15
                      0
                      • M Mlibu
                        22 Mar 2024, 15:12

                        Ok so none of the packages on any other OS are even guaranteed to be working? Wow.

                        I'll try it on Windows 10 again then. I googled many times on "requirements for Qt creator". I guess I should have searched on "requirements for qt6".

                        I didn't want to do it on my mac because that requires all kinds of xcode library stuff and then it always breaks every time you have to upgrade xcode.

                        R Offline
                        R Offline
                        Ronel_qtmaster
                        wrote on 22 Mar 2024, 15:15 last edited by
                        #95

                        @Mlibu yes exactly.okay if you try on windows 10 and face issues let me know.I also did my installation on windows 10

                        M 1 Reply Last reply 22 Mar 2024, 15:16
                        0
                        • R Ronel_qtmaster
                          22 Mar 2024, 15:15

                          @Mlibu yes exactly.okay if you try on windows 10 and face issues let me know.I also did my installation on windows 10

                          M Offline
                          M Offline
                          Mlibu
                          wrote on 22 Mar 2024, 15:16 last edited by Mlibu
                          #96

                          @Ronel_qtmaster Thanks, this is very helpful. Though I am not enthusiastic about any of those OSes. Maybe I will just make a small partition for it. Reboot is quick now with SSDs anyway. I did try on windows 10 but it may have been pre-1809. I didn't think this would depend on a certain version of windows.

                          R 1 Reply Last reply 22 Mar 2024, 15:21
                          0
                          • M Mlibu
                            22 Mar 2024, 15:16

                            @Ronel_qtmaster Thanks, this is very helpful. Though I am not enthusiastic about any of those OSes. Maybe I will just make a small partition for it. Reboot is quick now with SSDs anyway. I did try on windows 10 but it may have been pre-1809. I didn't think this would depend on a certain version of windows.

                            R Offline
                            R Offline
                            Ronel_qtmaster
                            wrote on 22 Mar 2024, 15:21 last edited by
                            #97

                            @Mlibu yes you can make a partition just for windows.Anyway just try let's see

                            M 1 Reply Last reply 22 Mar 2024, 16:45
                            0
                            • M Mlibu
                              22 Mar 2024, 14:51

                              @JonB In the end I will use Ubuntu if that is the only thing that works. I'm not a big fan of Gnome and prefer KDE and Arch rolling release that's all. But like person before me said, I tried Ubuntu 23.10 and it did the same thing for me. Some people have suggested that I try Ubuntu 20.02 but I haven't had a chance yet.

                              J Offline
                              J Offline
                              JoeCFD
                              wrote on 22 Mar 2024, 16:19 last edited by
                              #98

                              @Mlibu I am using Qt 5.15.3/6.6.2 on Ubuntu 22.04 daily at work. I have Ubuntu 23.04 at home. No issues.

                              M 2 Replies Last reply 22 Mar 2024, 16:47
                              0
                              • R Ronel_qtmaster
                                22 Mar 2024, 15:21

                                @Mlibu yes you can make a partition just for windows.Anyway just try let's see

                                M Offline
                                M Offline
                                Mlibu
                                wrote on 22 Mar 2024, 16:45 last edited by
                                #99

                                @Ronel_qtmaster So I went to my windows 10 disk and updated it fully. I am now at version 22H2.

                                I downloaded the unified installer, selected the Windows Development Environment box and installed it. When I create a project I cannot go to the design page until I install the Qt Quick designer plugin. When I do install the plugin and go to the design page I drag a rectangle onto the page and select red background and it crashes seconds later.

                                R 1 Reply Last reply 22 Mar 2024, 17:22
                                0
                                • J JoeCFD
                                  22 Mar 2024, 16:19

                                  @Mlibu I am using Qt 5.15.3/6.6.2 on Ubuntu 22.04 daily at work. I have Ubuntu 23.04 at home. No issues.

                                  M Offline
                                  M Offline
                                  Mlibu
                                  wrote on 22 Mar 2024, 16:47 last edited by Mlibu
                                  #100

                                  @JoeCFD Let me try ubuntu 22.04 with qt5.

                                  1 Reply Last reply
                                  0
                                  • M Mlibu
                                    22 Mar 2024, 16:45

                                    @Ronel_qtmaster So I went to my windows 10 disk and updated it fully. I am now at version 22H2.

                                    I downloaded the unified installer, selected the Windows Development Environment box and installed it. When I create a project I cannot go to the design page until I install the Qt Quick designer plugin. When I do install the plugin and go to the design page I drag a rectangle onto the page and select red background and it crashes seconds later.

                                    R Offline
                                    R Offline
                                    Ronel_qtmaster
                                    wrote on 22 Mar 2024, 17:22 last edited by Ronel_qtmaster
                                    #101

                                    @Mlibu okay.Here in my version 6.6 when i go to the design tab, they tell me that no qt Design studio found.So it seems to use qt design studio for designing qml files.
                                    Then i go to help, plugins and enable qmldesigner by clicking on the checkbox and after on ok.Don't click on install anyway

                                    they will ask you to restart qt do it

                                    M 2 Replies Last reply 22 Mar 2024, 17:43
                                    0
                                    • J JoeCFD
                                      22 Mar 2024, 16:19

                                      @Mlibu I am using Qt 5.15.3/6.6.2 on Ubuntu 22.04 daily at work. I have Ubuntu 23.04 at home. No issues.

                                      M Offline
                                      M Offline
                                      Mlibu
                                      wrote on 22 Mar 2024, 17:38 last edited by
                                      #102

                                      @JoeCFD as far as I can tell, this is how to install qtcreator with qt5 on ubuntu 22.04:

                                      sudo apt install -y qtcreator qtbase5-dev qt5-qmake cmake
                                      

                                      But I get the following errors:

                                      Reading package lists... Done
                                      Building dependency tree... Done
                                      Reading state information... Done
                                      Some packages could not be installed. This may mean that you have
                                      requested an impossible situation or if you are using the unstable
                                      distribution that some required packages have not yet been created
                                      or been moved out of Incoming.
                                      The following information may help resolve the situation:
                                      
                                      The following packages have unmet dependencies:
                                       lib32gcc-s1 : Depends: gcc-12-base (= 12-20220319-1ubuntu1) but 12.3.0-1ubuntu1~22.04 is to be installed
                                       lib32stdc++6 : Depends: gcc-12-base (= 12-20220319-1ubuntu1) but 12.3.0-1ubuntu1~22.04 is to be installed
                                       libc6-dev : Depends: libc6 (= 2.35-0ubuntu3) but 2.35-0ubuntu3.6 is to be installed
                                                   Depends: libtirpc-dev but it is not going to be installed
                                                   Depends: libnsl-dev but it is not going to be installed
                                       libc6-i386 : Depends: libc6 (= 2.35-0ubuntu3) but 2.35-0ubuntu3.6 is to be installed
                                       libgcc-11-dev : Depends: gcc-11-base (= 11.2.0-19ubuntu1) but 11.4.0-1ubuntu1~22.04 is to be installed
                                                       Depends: libitm1 (>= 11.2.0-19ubuntu1) but it is not going to be installed
                                                       Depends: libasan6 (>= 11.2.0-19ubuntu1) but it is not going to be installed
                                                       Depends: liblsan0 (>= 11.2.0-19ubuntu1) but it is not going to be installed
                                                       Depends: libtsan0 (>= 11.2.0-19ubuntu1) but it is not going to be installed
                                                       Depends: libubsan1 (>= 11.2.0-19ubuntu1) but it is not going to be installed
                                                       Depends: libquadmath0 (>= 11.2.0-19ubuntu1) but it is not going to be installed
                                       libobjc-11-dev : Depends: gcc-11-base (= 11.2.0-19ubuntu1) but 11.4.0-1ubuntu1~22.04 is to be installed
                                                        Depends: libobjc4 (>= 11.2.0-19ubuntu1) but it is not going to be installed
                                       libstdc++-11-dev : Depends: gcc-11-base (= 11.2.0-19ubuntu1) but 11.4.0-1ubuntu1~22.04 is to be installed
                                       libx11-dev : Depends: libx11-6 (= 2:1.7.5-1) but 2:1.7.5-1ubuntu0.3 is to be installed
                                      E: Unable to correct problems, you have held broken packages.
                                      
                                      J 1 Reply Last reply 22 Mar 2024, 17:58
                                      0
                                      • R Ronel_qtmaster
                                        22 Mar 2024, 17:22

                                        @Mlibu okay.Here in my version 6.6 when i go to the design tab, they tell me that no qt Design studio found.So it seems to use qt design studio for designing qml files.
                                        Then i go to help, plugins and enable qmldesigner by clicking on the checkbox and after on ok.Don't click on install anyway

                                        they will ask you to restart qt do it

                                        M Offline
                                        M Offline
                                        Mlibu
                                        wrote on 22 Mar 2024, 17:43 last edited by
                                        #103

                                        @Ronel_qtmaster That sounds familiar, but I installed Design Studio with my windows install and it still has a problem.

                                        1 Reply Last reply
                                        0
                                        • R Ronel_qtmaster
                                          22 Mar 2024, 17:22

                                          @Mlibu okay.Here in my version 6.6 when i go to the design tab, they tell me that no qt Design studio found.So it seems to use qt design studio for designing qml files.
                                          Then i go to help, plugins and enable qmldesigner by clicking on the checkbox and after on ok.Don't click on install anyway

                                          they will ask you to restart qt do it

                                          M Offline
                                          M Offline
                                          Mlibu
                                          wrote on 22 Mar 2024, 17:49 last edited by Mlibu
                                          #104

                                          @Ronel_qtmaster But I think you need the plugin for it to interface with design studio. And anyway I was told that it is different than design studio. Regardless, on updated windows 10 I can only get to the page if I install the plugin and it still doesn't work.

                                          R 1 Reply Last reply 22 Mar 2024, 18:51
                                          0

                                          94/144

                                          22 Mar 2024, 15:12

                                          • Login

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