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.
  • T Tink
    21 Mar 2024, 20:24

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

    @Tink Even that statement you pasted is confusing though. Qt Designer is the standalone app that does widgets, I get that. And we have been over Qt Design Studio. But what is the thing that I am trying to get to called? What is in the tab in Qt Creator? I know I have to install a plugin to use it, but is there a name for that part? It almost seems to start another application when I click on the tab. The window disappears and comes back.

    Also I was told Qt Design Studio was for forms. You are saying I can make a full application ui with it as well? I have seen youtube courses for Qt Creator but never for Design Studio. What is a ui.qml file?

    Qt Designer is available as a standalone app and also integrated into creator. E.g. you can use the standalone version to produce a ui file to use in your python project. For a c++ project you just use the integrated designer.

    The .ui.qml files should be used with qt design studio. Although there is a qt quick designer plugin in qtcreator as you know.
    https://doc.qt.io/qtcreator/creator-qtquickdesigner-plugin.html
    https://doc.qt.io/qtcreator/creator-quick-ui-forms.html

    All this stuff can be found in the documentation even if you claim that it's not explained anywhere. It is.

    M Offline
    M Offline
    Mlibu
    wrote on 21 Mar 2024, 21:33 last edited by Mlibu
    #76

    @Tink Yes I read these pages but they don't explain what a UI file is, just that they are used in Qt Quick Designer... Which is confusing because I thought they were used in Qt Design Studio? I know they have something to do with separation of business logic but I haven't seen a diagram or example that demonstrates how they work together.

    Also it says that signals are not supported in them and I definitely want signals. It doesn't really say why the UI files are used over regular QML files despite the fact that they don't support as many features.

    T 1 Reply Last reply 21 Mar 2024, 22:58
    0
    • M Mlibu
      21 Mar 2024, 21:33

      @Tink Yes I read these pages but they don't explain what a UI file is, just that they are used in Qt Quick Designer... Which is confusing because I thought they were used in Qt Design Studio? I know they have something to do with separation of business logic but I haven't seen a diagram or example that demonstrates how they work together.

      Also it says that signals are not supported in them and I definitely want signals. It doesn't really say why the UI files are used over regular QML files despite the fact that they don't support as many features.

      T Offline
      T Offline
      Tink
      wrote on 21 Mar 2024, 22:58 last edited by
      #77

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

      @Tink Yes I read these pages but they don't explain what a UI file is, just that they are used in Qt Quick Designer... Which is confusing because I thought they were used in Qt Design Studio? I know they have something to do with separation of business logic but I haven't seen a diagram or example that demonstrates how they work together.

      Also it says that signals are not supported in them and I definitely want signals. It doesn't really say why the UI files are used over regular QML files despite the fact that they don't support as many features.

      If you cant work out these basic questions yourself by searching the documentation...

      M 1 Reply Last reply 22 Mar 2024, 11:25
      0
      • T Tink
        21 Mar 2024, 22:58

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

        @Tink Yes I read these pages but they don't explain what a UI file is, just that they are used in Qt Quick Designer... Which is confusing because I thought they were used in Qt Design Studio? I know they have something to do with separation of business logic but I haven't seen a diagram or example that demonstrates how they work together.

        Also it says that signals are not supported in them and I definitely want signals. It doesn't really say why the UI files are used over regular QML files despite the fact that they don't support as many features.

        If you cant work out these basic questions yourself by searching the documentation...

        M Offline
        M Offline
        Mlibu
        wrote on 22 Mar 2024, 11:25 last edited by Mlibu
        #78

        @Tink I have made it very clear that I want to use the Designer page in Qt Creator. Why would I go out of my way to read about UI.QML files if I don't plan to be using them? Up until a short time ago, people told me that Qt Design Studio wasn't as useful as Qt Creator and the links you shows me say they work with "Qt Designer" which I also don't use so why would I have looked any further? I am dubious about UI.QML anyway because in my experience when I separate business logic from UI, there is almost never a 1:1 relationship between those two levels.

        I google searched on "an example of how to use ui qml files preferably from QT documentation" and the hits that come up are the ones that you already showed me, along with a stackoverflow with a vague answer and a Reddit.

        It's fine, I have already resigned myself to the fact that I will need to keep doing QML manually. I thought I could improve my workflow but I guess I was wrong. I'm doing a lot of graphics in the next project and I dared to dream I could see a visual representation. I'll stop watching YouTube tutorials and aspire to actually do the things shown in them one day.

        T 1 Reply Last reply 22 Mar 2024, 13:02
        0
        • R Offline
          R Offline
          Ronel_qtmaster
          wrote on 22 Mar 2024, 11:31 last edited by
          #79

          i have also installed qt6 on my computer but i have a lot of problem building a simple exemple
          coffee - Qt Creator 3_17_2024 12_07_34 AM.png

          M 1 Reply Last reply 22 Mar 2024, 11:34
          0
          • R Ronel_qtmaster
            22 Mar 2024, 11:31

            i have also installed qt6 on my computer but i have a lot of problem building a simple exemple
            coffee - Qt Creator 3_17_2024 12_07_34 AM.png

            M Offline
            M Offline
            Mlibu
            wrote on 22 Mar 2024, 11:34 last edited by Mlibu
            #80

            @Ronel_qtmaster Yes and this is when people told me, "are you stupid? Just install a kit". Now try finding any info on how to do that. There is one section of one page on the Qt document that says "if you don't see kits, go to add kit!". But nowhere does it say that you need to go to the Qt tab, add a Qt instance manually by selecting the 'qmake6' within the Qt directory, then install cmake and ninja and make sure cmake and the right Qt are selected in the main kit tab page. I have done this many times now directly off of fresh OS installs and it doesn't work for me either.

            R J 2 Replies Last reply 22 Mar 2024, 12:14
            0
            • M Mlibu
              22 Mar 2024, 11:34

              @Ronel_qtmaster Yes and this is when people told me, "are you stupid? Just install a kit". Now try finding any info on how to do that. There is one section of one page on the Qt document that says "if you don't see kits, go to add kit!". But nowhere does it say that you need to go to the Qt tab, add a Qt instance manually by selecting the 'qmake6' within the Qt directory, then install cmake and ninja and make sure cmake and the right Qt are selected in the main kit tab page. I have done this many times now directly off of fresh OS installs and it doesn't work for me either.

              R Offline
              R Offline
              Ronel_qtmaster
              wrote on 22 Mar 2024, 12:14 last edited by
              #81

              @Mlibu i can understand .Qt6 is not easy .Finally here everything is compiling

              1 Reply Last reply
              0
              • M Mlibu
                22 Mar 2024, 11:34

                @Ronel_qtmaster Yes and this is when people told me, "are you stupid? Just install a kit". Now try finding any info on how to do that. There is one section of one page on the Qt document that says "if you don't see kits, go to add kit!". But nowhere does it say that you need to go to the Qt tab, add a Qt instance manually by selecting the 'qmake6' within the Qt directory, then install cmake and ninja and make sure cmake and the right Qt are selected in the main kit tab page. I have done this many times now directly off of fresh OS installs and it doesn't work for me either.

                J Offline
                J Offline
                jsulm
                Lifetime Qt Champion
                wrote on 22 Mar 2024, 12:34 last edited by
                #82

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

                But nowhere does it say that you need to go to the Qt tab, add a Qt instance manually by selecting the 'qmake6' within the Qt directory, then install cmake and ninja and make sure cmake

                If you add a Kit you will see that you have to define a compiler, Qt version, debugger, ...
                So, it is obvious you need Qt, compiler, debugger.
                CMake is of course needed if you want to use CMake as build system.

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

                1 Reply Last reply
                0
                • M Mlibu
                  22 Mar 2024, 11:25

                  @Tink I have made it very clear that I want to use the Designer page in Qt Creator. Why would I go out of my way to read about UI.QML files if I don't plan to be using them? Up until a short time ago, people told me that Qt Design Studio wasn't as useful as Qt Creator and the links you shows me say they work with "Qt Designer" which I also don't use so why would I have looked any further? I am dubious about UI.QML anyway because in my experience when I separate business logic from UI, there is almost never a 1:1 relationship between those two levels.

                  I google searched on "an example of how to use ui qml files preferably from QT documentation" and the hits that come up are the ones that you already showed me, along with a stackoverflow with a vague answer and a Reddit.

                  It's fine, I have already resigned myself to the fact that I will need to keep doing QML manually. I thought I could improve my workflow but I guess I was wrong. I'm doing a lot of graphics in the next project and I dared to dream I could see a visual representation. I'll stop watching YouTube tutorials and aspire to actually do the things shown in them one day.

                  T Offline
                  T Offline
                  Tink
                  wrote on 22 Mar 2024, 13:02 last edited by
                  #83

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

                  @Tink I have made it very clear that I want to use the Designer page in Qt Creator. Why would I go out of my way to read about UI.QML files if I don't plan to be using them? Up until a short time ago, people told me that Qt Design Studio wasn't as useful as Qt Creator and the links you shows me say they work with "Qt Designer" which I also don't use so why would I have looked any further? I am dubious about UI.QML anyway because in my experience when I separate business logic from UI, there is almost never a 1:1 relationship between those two levels.

                  I google searched on "an example of how to use ui qml files preferably from QT documentation" and the hits that come up are the ones that you already showed me, along with a stackoverflow with a vague answer and a Reddit.

                  It's fine, I have already resigned myself to the fact that I will need to keep doing QML manually. I thought I could improve my workflow but I guess I was wrong. I'm doing a lot of graphics in the next project and I dared to dream I could see a visual representation. I'll stop watching YouTube tutorials and aspire to actually do the things shown in them one day.

                  You have made it very clear that you are confused about the different products that Qt has to offer and confused about how to install and configure them. Now all of this can be found in the documentation. I can find within 30 seconds the difference between qt design studio and qt designer. Between ui and ui.qml. Less than 30 secs to find how to configure kits in the qtcreator manual.

                  Meanwhile all you are able to do or willing to do is raise more questions, that for the most part can be looked up yourself, and somehow point the finger to other people who seem to be responsible for your lack of understanding. Do you know that there are forums who have rules against such behavior?

                  M 1 Reply Last reply 22 Mar 2024, 13:07
                  0
                  • T Tink
                    22 Mar 2024, 13:02

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

                    @Tink I have made it very clear that I want to use the Designer page in Qt Creator. Why would I go out of my way to read about UI.QML files if I don't plan to be using them? Up until a short time ago, people told me that Qt Design Studio wasn't as useful as Qt Creator and the links you shows me say they work with "Qt Designer" which I also don't use so why would I have looked any further? I am dubious about UI.QML anyway because in my experience when I separate business logic from UI, there is almost never a 1:1 relationship between those two levels.

                    I google searched on "an example of how to use ui qml files preferably from QT documentation" and the hits that come up are the ones that you already showed me, along with a stackoverflow with a vague answer and a Reddit.

                    It's fine, I have already resigned myself to the fact that I will need to keep doing QML manually. I thought I could improve my workflow but I guess I was wrong. I'm doing a lot of graphics in the next project and I dared to dream I could see a visual representation. I'll stop watching YouTube tutorials and aspire to actually do the things shown in them one day.

                    You have made it very clear that you are confused about the different products that Qt has to offer and confused about how to install and configure them. Now all of this can be found in the documentation. I can find within 30 seconds the difference between qt design studio and qt designer. Between ui and ui.qml. Less than 30 secs to find how to configure kits in the qtcreator manual.

                    Meanwhile all you are able to do or willing to do is raise more questions, that for the most part can be looked up yourself, and somehow point the finger to other people who seem to be responsible for your lack of understanding. Do you know that there are forums who have rules against such behavior?

                    M Offline
                    M Offline
                    Mlibu
                    wrote on 22 Mar 2024, 13:07 last edited by Mlibu
                    #84

                    @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 1 Reply Last reply 22 Mar 2024, 14:01
                    0
                    • 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

                                          85/144

                                          22 Mar 2024, 14:01

                                          • Login

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