Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Start Debugging greyed out
Forum Updated to NodeBB v4.3 + New Features

Start Debugging greyed out

Scheduled Pinned Locked Moved Solved General and Desktop
11 Posts 3 Posters 1.7k Views 1 Watching
  • 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.
  • C Offline
    C Offline
    Chris Choir
    wrote on last edited by
    #1

    Hi I just downloaded Q Creator and attempted to create a new project as follows. But I get greyout out Build and Debug options. What am I doing wrong? Thanks

    02c28397-c165-4ffa-9ed5-1242a517fe5d-image.png

    c75f0bb3-9167-4bac-8b10-2aceebdc06fe-image.png

    RatzzR 1 Reply Last reply
    0
    • C Chris Choir

      Hi I just downloaded Q Creator and attempted to create a new project as follows. But I get greyout out Build and Debug options. What am I doing wrong? Thanks

      02c28397-c165-4ffa-9ed5-1242a517fe5d-image.png

      c75f0bb3-9167-4bac-8b10-2aceebdc06fe-image.png

      RatzzR Offline
      RatzzR Offline
      Ratzz
      wrote on last edited by
      #2

      @Chris-Choir

      Can you check if debugger was set correctly? https://doc.qt.io/qtcreator/creator-debuggers.html

      --Alles ist gut.

      C 1 Reply Last reply
      3
      • mrjjM Offline
        mrjjM Offline
        mrjj
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi
        With the visual studio compiler did you install the "debugging tools" ?`
        https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/debugger-download-tools

        C 2 Replies Last reply
        3
        • mrjjM mrjj

          Hi
          With the visual studio compiler did you install the "debugging tools" ?`
          https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/debugger-download-tools

          C Offline
          C Offline
          Chris Choir
          wrote on last edited by
          #4

          @mrjj Hi Thanks for the reply I didn't install Visual Studio I used the QT Creator installer and it installed the following components. I am able to compile a couple of the same files. like the Bargraph samples

          59f9a02b-925a-4304-91a1-950f74df4b30-image.png

          Thanks

          mrjjM 1 Reply Last reply
          0
          • C Chris Choir

            @mrjj Hi Thanks for the reply I didn't install Visual Studio I used the QT Creator installer and it installed the following components. I am able to compile a couple of the same files. like the Bargraph samples

            59f9a02b-925a-4304-91a1-950f74df4b30-image.png

            Thanks

            mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by mrjj
            #5

            @Chris-Choir
            But did you install the visual studio compiler ?
            Its not included in Qt installer. Only mingw is.
            So maybe you had it installed ?
            (since it sounds like you can compile)

            However, when using Creator as editor, one has to install the standalone VS debugger as the normal one
            is build into the VS IDE so its an extra install to get a debugger.

            C 1 Reply Last reply
            0
            • RatzzR Ratzz

              @Chris-Choir

              Can you check if debugger was set correctly? https://doc.qt.io/qtcreator/creator-debuggers.html

              C Offline
              C Offline
              Chris Choir
              wrote on last edited by
              #6

              @Ratzz Thanks Appreciate it
              Here is what I have for Kits/Compilers/Debuggers that were installed automatically:

              8c8a4de7-1dbc-4eef-9862-72ee0dbc0b15-image.png

              1 Reply Last reply
              1
              • mrjjM mrjj

                @Chris-Choir
                But did you install the visual studio compiler ?
                Its not included in Qt installer. Only mingw is.
                So maybe you had it installed ?
                (since it sounds like you can compile)

                However, when using Creator as editor, one has to install the standalone VS debugger as the normal one
                is build into the VS IDE so its an extra install to get a debugger.

                C Offline
                C Offline
                Chris Choir
                wrote on last edited by
                #7

                @mrjj Hi I definitely didn't install a VS/VC compiler manually but I can compile some projects but not all . Sometimes when I load sample projects it does not allow me to select the MSVC (see 2nd pic) other times it does(first pic). I was under the impression QT was just using GCC with the visual studio runtimes. I definitely do not have visual studio on my computer. there is a QT sample project called "bars.pro" that I can load and compile and edit. Thanks

                note: the message board here makes me wait 100 minutes between posts

                Lets me debug with MSVC
                66d8d9a1-53ef-4ff4-a09c-8d62239116fc-image.png

                MSVC greyedout
                630122e4-1ae8-449b-b926-4781a92f79cd-image.png
                I was able to edit and compile
                e0fed4a8-47e5-4c4c-a5d8-b71d1020ba49-image.png

                1 Reply Last reply
                1
                • mrjjM mrjj

                  Hi
                  With the visual studio compiler did you install the "debugging tools" ?`
                  https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/debugger-download-tools

                  C Offline
                  C Offline
                  Chris Choir
                  wrote on last edited by Chris Choir
                  #8

                  @mrjj

                  Hi, According to the QT Debuggers tab it looks like it is installed but would I be able to compile a project? like have am sometimes able to do?

                  So do I need visual studio visual C to use QT?
                  thanks

                  0bd6d826-cd89-4696-93ab-954b4789782c-image.png

                  mrjjM 1 Reply Last reply
                  0
                  • C Chris Choir

                    @mrjj

                    Hi, According to the QT Debuggers tab it looks like it is installed but would I be able to compile a project? like have am sometimes able to do?

                    So do I need visual studio visual C to use QT?
                    thanks

                    0bd6d826-cd89-4696-93ab-954b4789782c-image.png

                    mrjjM Offline
                    mrjjM Offline
                    mrjj
                    Lifetime Qt Champion
                    wrote on last edited by
                    #9

                    @Chris-Choir
                    Hi
                    that is only the debugger so it cant compile anything.

                    For the visual studio Qt, you need to install the VS compiler your self.
                    It cannot be used with mingw as they dont understand each other.
                    That is the reason the kit is grey out. No compiler for it.

                    If you didnt plan to use the visual studio Qt, why not just uninstall it and use the mingw only?
                    It comes with debugger and compiler. You are not missing out on anything.

                    C 1 Reply Last reply
                    0
                    • mrjjM mrjj

                      @Chris-Choir
                      Hi
                      that is only the debugger so it cant compile anything.

                      For the visual studio Qt, you need to install the VS compiler your self.
                      It cannot be used with mingw as they dont understand each other.
                      That is the reason the kit is grey out. No compiler for it.

                      If you didnt plan to use the visual studio Qt, why not just uninstall it and use the mingw only?
                      It comes with debugger and compiler. You are not missing out on anything.

                      C Offline
                      C Offline
                      Chris Choir
                      wrote on last edited by Chris Choir
                      #10

                      @mrjj said in Start Debugging greyed out:

                      e visual studio Qt, you need to install the VS compiler your self.
                      It cannot be used with mingw as they dont understand each other.
                      That is the reason the kit is grey out. No compiler for it.
                      If you didnt plan to use the visual studio Qt, why not just uninstall it and use the mingw only?
                      It comes with debugger and compiler. You are not missing out on anything.

                      Ok thanks appreciate it. So then my question is, if I had visual studio why would I need QT? I think that is why I am so confused here. If I had visual studio I would just develop apps with MFC or Win32 if I wanted high performance win apps. I was under the impression QT was like Visual studio and MFC except cross platform. I guess I misunderstood its capability. I thought it was a compiler as well as an MVC/Observer style framework.

                      Thanks for your help guys, I guess my problem is solved.

                      mrjjM 1 Reply Last reply
                      0
                      • C Chris Choir

                        @mrjj said in Start Debugging greyed out:

                        e visual studio Qt, you need to install the VS compiler your self.
                        It cannot be used with mingw as they dont understand each other.
                        That is the reason the kit is grey out. No compiler for it.
                        If you didnt plan to use the visual studio Qt, why not just uninstall it and use the mingw only?
                        It comes with debugger and compiler. You are not missing out on anything.

                        Ok thanks appreciate it. So then my question is, if I had visual studio why would I need QT? I think that is why I am so confused here. If I had visual studio I would just develop apps with MFC or Win32 if I wanted high performance win apps. I was under the impression QT was like Visual studio and MFC except cross platform. I guess I misunderstood its capability. I thought it was a compiler as well as an MVC/Observer style framework.

                        Thanks for your help guys, I guess my problem is solved.

                        mrjjM Offline
                        mrjjM Offline
                        mrjj
                        Lifetime Qt Champion
                        wrote on last edited by mrjj
                        #11

                        @Chris-Choir
                        Hi
                        Qt is a c++ (GUI) framework. ( not a compiler)
                        It can work with most compilers including visual studio.

                        The prebuild ones you download of Qt requires the same compiler as it was built with.
                        So that is why it says visual studio in the name and then need the visual studio compiler.
                        it cannot be used with another compiler as they are not compatible.

                        So unless you want to use the VS compiler.
                        Then use the mingw Qt comes included with debugger and all.
                        Complete setup out of the box.

                        And just so its said Qt is waaaaaay nicer than pure win32 or MFC to make apps with. :)

                        1 Reply Last reply
                        3

                        • Login

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