Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. What IDE is good for developing GUI apps using C++?

What IDE is good for developing GUI apps using C++?

Scheduled Pinned Locked Moved C / C++ / MFC
csharpvisual-studioquestionc++wpf
14 Posts 5 Posters 0 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
    Code4Ever
    wrote on last edited by
    #1

    I want to start learning C++ and create kind of windows applications like what is made in C# and WPF. I have three options: VS 2022, Code::Blocks, and QT creator 6. Which one is good for developing elegant windows applications? :-\

    C J L 4 Replies Last reply
    0
    • C Code4Ever

      I want to start learning C++ and create kind of windows applications like what is made in C# and WPF. I have three options: VS 2022, Code::Blocks, and QT creator 6. Which one is good for developing elegant windows applications? :-\

      C Offline
      C Offline
      Calin Negru
      wrote on last edited by
      #2

      I will address the question in the title. There`s only one IDE left (for 10 years now) so it`s not like you have too many options.

      C Greg UtasG 2 Replies Last reply
      0
      • C Calin Negru

        I will address the question in the title. There`s only one IDE left (for 10 years now) so it`s not like you have too many options.

        C Offline
        C Offline
        Code4Ever
        wrote on last edited by
        #3

        Is Code:Blocks good for this purpose? Can I create elegant GUIs using it?

        Greg UtasG 1 Reply Last reply
        0
        • C Calin Negru

          I will address the question in the title. There`s only one IDE left (for 10 years now) so it`s not like you have too many options.

          Greg UtasG Offline
          Greg UtasG Offline
          Greg Utas
          wrote on last edited by
          #4

          I'd only heard of VS2022, so I had to do a search on the others. I assumed that your response meant that the others were no longer in business, but they still seem to be undergoing development.

          Robust Services Core | Software Techniques for Lemmings | Articles
          The fox knows many things, but the hedgehog knows one big thing.

          <p><a href="https://github.com/GregUtas/robust-services-core/blob/master/README.md">Robust Services Core</a>
          <em>The fox knows many things, but the hedgehog knows one big thing.</em></p>

          C 1 Reply Last reply
          0
          • C Code4Ever

            Is Code:Blocks good for this purpose? Can I create elegant GUIs using it?

            Greg UtasG Offline
            Greg UtasG Offline
            Greg Utas
            wrote on last edited by
            #5

            I had to look up Code::Blocks and noticed that it incorporates wxWidgets. I don't develop GUI apps, but when I looked into the area a while ago, I bookmarked wxWidgets so I could return to it if I ever needed to. C++ doesn't have a GUI library, so you have to find one. And if you want to support different platforms, not just Windows, you need something like wxWidgets, not WPF. As far as an IDE goes, VS2022 (Community Edition) is free and an excellent IDE. You can probably develop using wxWidgets within VS2022, but you'd likely have to spend some time configuring it, whereas Code::Blocks looks like it should work immediately. But I know next to nothing about this, so you need to get input from someone who does.

            Robust Services Core | Software Techniques for Lemmings | Articles
            The fox knows many things, but the hedgehog knows one big thing.

            <p><a href="https://github.com/GregUtas/robust-services-core/blob/master/README.md">Robust Services Core</a>
            <em>The fox knows many things, but the hedgehog knows one big thing.</em></p>

            L 1 Reply Last reply
            0
            • Greg UtasG Greg Utas

              I'd only heard of VS2022, so I had to do a search on the others. I assumed that your response meant that the others were no longer in business, but they still seem to be undergoing development.

              Robust Services Core | Software Techniques for Lemmings | Articles
              The fox knows many things, but the hedgehog knows one big thing.

              C Offline
              C Offline
              Calin Negru
              wrote on last edited by
              #6

              When your project is causing you enough headake on its own, last thing you want is errors because of a buggy IDE/compiler. There is no serious match for VS from what I know.

              1 Reply Last reply
              0
              • C Code4Ever

                I want to start learning C++ and create kind of windows applications like what is made in C# and WPF. I have three options: VS 2022, Code::Blocks, and QT creator 6. Which one is good for developing elegant windows applications? :-\

                J Offline
                J Offline
                Joe Woodbury
                wrote on last edited by
                #7

                Qt Creator is worthwhile ONLY if you embrace Qt. Qt is great but is like its own OS. I still vastly prefer Visual Studio and so did my Qt development with it. Had I ported my last app to Linux, only then would I use Qt Creator. Don't bother with Code::Blocks. It's adequate for Linux but a waste of time for Windows. Moreover, for Linux CLion is vastly superior.

                1 Reply Last reply
                0
                • Greg UtasG Greg Utas

                  I had to look up Code::Blocks and noticed that it incorporates wxWidgets. I don't develop GUI apps, but when I looked into the area a while ago, I bookmarked wxWidgets so I could return to it if I ever needed to. C++ doesn't have a GUI library, so you have to find one. And if you want to support different platforms, not just Windows, you need something like wxWidgets, not WPF. As far as an IDE goes, VS2022 (Community Edition) is free and an excellent IDE. You can probably develop using wxWidgets within VS2022, but you'd likely have to spend some time configuring it, whereas Code::Blocks looks like it should work immediately. But I know next to nothing about this, so you need to get input from someone who does.

                  Robust Services Core | Software Techniques for Lemmings | Articles
                  The fox knows many things, but the hedgehog knows one big thing.

                  L Offline
                  L Offline
                  Lost User
                  wrote on last edited by
                  #8

                  Greg Utas wrote:

                  C++ doesn't have a GUI library

                  Really? Take a look at Windows Controls - Win32 apps | Microsoft Docs[^].

                  Greg UtasG 1 Reply Last reply
                  0
                  • C Code4Ever

                    I want to start learning C++ and create kind of windows applications like what is made in C# and WPF. I have three options: VS 2022, Code::Blocks, and QT creator 6. Which one is good for developing elegant windows applications? :-\

                    L Offline
                    L Offline
                    Lost User
                    wrote on last edited by
                    #9

                    Visual Studio is always the best choice for creating Win32 GUI applications as it integrates all the tools you will need. It also includes a simple template to create your first GUI program (although it is a bit clunky). And the standard Windows Controls - Win32 apps | Microsoft Docs[^] cover most control types you are likely to need.

                    1 Reply Last reply
                    0
                    • L Lost User

                      Greg Utas wrote:

                      C++ doesn't have a GUI library

                      Really? Take a look at Windows Controls - Win32 apps | Microsoft Docs[^].

                      Greg UtasG Offline
                      Greg UtasG Offline
                      Greg Utas
                      wrote on last edited by
                      #10

                      Perhaps poorly worded. Not part of the C++ standard, in the same way that it doesn't have sockets. How many platforms does Windows Controls support?

                      Robust Services Core | Software Techniques for Lemmings | Articles
                      The fox knows many things, but the hedgehog knows one big thing.

                      <p><a href="https://github.com/GregUtas/robust-services-core/blob/master/README.md">Robust Services Core</a>
                      <em>The fox knows many things, but the hedgehog knows one big thing.</em></p>

                      L 1 Reply Last reply
                      0
                      • Greg UtasG Greg Utas

                        Perhaps poorly worded. Not part of the C++ standard, in the same way that it doesn't have sockets. How many platforms does Windows Controls support?

                        Robust Services Core | Software Techniques for Lemmings | Articles
                        The fox knows many things, but the hedgehog knows one big thing.

                        L Offline
                        L Offline
                        Lost User
                        wrote on last edited by
                        #11

                        I take your points. But C# does not have those features either, as part of the standard. The libraries are implemented in the same way that the Win32 or MFC libraries are. Yes, Windows controls only work in the Windows OS.

                        C 1 Reply Last reply
                        0
                        • C Code4Ever

                          I want to start learning C++ and create kind of windows applications like what is made in C# and WPF. I have three options: VS 2022, Code::Blocks, and QT creator 6. Which one is good for developing elegant windows applications? :-\

                          L Offline
                          L Offline
                          Lost User
                          wrote on last edited by
                          #12

                          With no prior baggage, I would think that WinUI 3 and VS2022 (with C++) would be the route. [About WinUI](https://microsoft.github.io/microsoft-ui-xaml/about.html)

                          "Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I

                          1 Reply Last reply
                          0
                          • L Lost User

                            I take your points. But C# does not have those features either, as part of the standard. The libraries are implemented in the same way that the Win32 or MFC libraries are. Yes, Windows controls only work in the Windows OS.

                            C Offline
                            C Offline
                            Code4Ever
                            wrote on last edited by
                            #13

                            Is it possible to have relative element position in C++ GUI (using visual studio) like what we have in WPF?

                            L 1 Reply Last reply
                            0
                            • C Code4Ever

                              Is it possible to have relative element position in C++ GUI (using visual studio) like what we have in WPF?

                              L Offline
                              L Offline
                              Lost User
                              wrote on last edited by
                              #14

                              No, you have to do the layout calculations yourself. And TBH if GUI applications are your main focus then I would suggest you stick to .NET with C# or VB.NET.

                              1 Reply Last reply
                              0
                              Reply
                              • Reply as topic
                              Log in to reply
                              • Oldest to Newest
                              • Newest to Oldest
                              • Most Votes


                              • Login

                              • Don't have an account? Register

                              • Login or register to search.
                              • First post
                                Last post
                              0
                              • Categories
                              • Recent
                              • Tags
                              • Popular
                              • World
                              • Users
                              • Groups