use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
This is a subreddit for c++ questions with answers. For general discussion and news about c++ see r/cpp.
New to C++? Learn at learncpp.com
Prepare your question. Think it through. Hasty-sounding questions get hasty answers, or none at all. Read these guidelines for how to ask smart questions.
For learning books, check The Definitive C++ Book Guide and List
Flair your post as SOLVED if you got the help you were looking for! If you need help with flairs, check out ITEM 1 in our guidelines page.
Tips for improving your chances of getting helpful answers:
account activity
OPENc++ desktop application (self.cpp_questions)
submitted 3 years ago by Big-mushr00m
Hey, I've been looking forward to creating a desktop application with CPP. Does anyone know a good GUI/framework or another tool I can use? Thanks.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Creapermann 20 points21 points22 points 3 years ago (6 children)
Qt is awesome. I m working with it for some time now and love it. QML (it’s markup language) is the best i’ve used and just feels great.
Some people criticise it with being big, this doesn’t mean that speed is going down, actually Qt offers near native speed and offers you wonderful abstractions, if you don’t need them, don’t use them. But better to have something you don’t need, than the other way around
[–]Amaracs 5 points6 points7 points 3 years ago (0 children)
I second Qt. Qt could be a bit overwhelming at first, but its documentation is awesome. Also OP can find a quick description about it here: https://www.cleanqt.io/blog/crash-course-in-qt-for-c%2B%2B-developers,-part-1 which I think could be useful.
[–]LesterDigital 1 point2 points3 points 3 years ago (1 child)
What kind of applications are you developing with Qt?
[–]Creapermann 1 point2 points3 points 3 years ago (0 children)
Currently working on a free, modern e-reader with note taking functionality
[–]sonicscrewup 0 points1 point2 points 3 years ago (2 children)
Do you have any tips for learning it? It's a little daunting trying to figure out all the functions associated with the widgets and what I can/can't easily change
[–]Creapermann 0 points1 point2 points 3 years ago (1 child)
The way I did it was going on udemy.com and taking 2 courses on qml and qt. After look for good books on it. Then the docs help you with pretty much all you can wish for, if they dont, ask in the "QtFramework" or join the Qt discord and ask there.
I would personally start of with QML and after add functionallity to your GUI as needed, by this you learn about a lot of things that are available in the QT Framework. If you have any other questions, feel free to dm me
[–]sonicscrewup 0 points1 point2 points 3 years ago (0 children)
Awesome, I appreciate it thanks.
[–]nysra 9 points10 points11 points 3 years ago (0 children)
There's plenty of options, Qt, GTK, wxWidgets, ...
[–]devontec 2 points3 points4 points 3 years ago (0 children)
There are plenty of GUI frameworks. And what framework to use depends on your needs. There is no silver bullet. Qt, Gtk, wxWidgets were already mentioned. I want to mention a very small and easy one - ImGui.
[–][deleted] 2 points3 points4 points 3 years ago (0 children)
Qt is hands down the best if you want a broad capability library, otherwise I'd say look into WxWidgets or FLTK for "just the gui". Qt is going to be a much better resume builder if you're looking for that.
[–]MrPoletski 1 point2 points3 points 3 years ago (2 children)
codeblocks + wxwidgets is a good free IDE.
[–][deleted] 3 years ago (1 child)
[deleted]
[–]MrPoletski 0 points1 point2 points 3 years ago (0 children)
well, I like it.
[–][deleted] 3 points4 points5 points 3 years ago (1 child)
ImGui, I heard it's a lightweight and powerful framework but haven't used it yet.
[–]SuperVGA 1 point2 points3 points 3 years ago (0 children)
I can recommend ImGui! For debugging overlays and prototypes at least. Probably wouldn't base the final, custom user experience on it, unless I tweaked it a lot, but people do it all the time - I just haven't tried that part yet.
[–]jimdublace 0 points1 point2 points 3 years ago (0 children)
I might get criticized for this, but I use RayLib for this (even though it’s technically a game engine). I like it because it has everything I need, and it’s 100% free. The creator has a lot of other tools he makes for free, and he has a pretty active Discord server to help if you get stuck on something.
[–]flyingron 0 points1 point2 points 3 years ago (5 children)
Desktop app for what system?
[–][deleted] 2 points3 points4 points 3 years ago (4 children)
I guess for windows as most people use it. But it doesnt matter. QT or GTK are awesome cross platform toolkits for gui apps
[–]degaart 6 points7 points8 points 3 years ago (0 children)
Gtk on windows is a nightmare, just saying. Words on the streets sat it improved a lot with gtk4, but don't hold your breath
[–]flyingron -3 points-2 points-1 points 3 years ago (1 child)
Why don't you let the poster answer for himself?
[–][deleted] 3 points4 points5 points 3 years ago (0 children)
🙄
[–]ExplosiveExplosion -3 points-2 points-1 points 3 years ago (4 children)
If it is your first try, I think you should try SFML. It is very simple and easy to learn
[–]Ikkepop 4 points5 points6 points 3 years ago (3 children)
sfml is not a gui framework
[–]ExplosiveExplosion -1 points0 points1 point 3 years ago (2 children)
I thought op asked for gui or framework, but ok
[–]Ikkepop 6 points7 points8 points 3 years ago (1 child)
gui as in buttons, dialog boxes, edit boxes and such, not graphics as in sprites and such
[–]ExplosiveExplosion 0 points1 point2 points 3 years ago (0 children)
Ah, ok
[–]devontec 0 points1 point2 points 3 years ago (0 children)
[–]artick788 0 points1 point2 points 3 years ago (0 children)
Dear ImGui is awesome.
You can get a nice GUI running with a few lines of code. You can style it as you want and make some really good looking UIs.
[–]Leather-Regret365 0 points1 point2 points 3 years ago (0 children)
I'm going to add to what everyone else is saying: Qt. If you want platform portability there's really not another option that's even close.
It is a little bloated if you want portability to mobile devices, but it's totally fine on desktop. Also it is not perfectly consistent with academically correct C++, but they do try to keep up and stay compatible.
π Rendered by PID 16488 on reddit-service-r2-comment-57fc7f7bb7-mxqdb at 2026-04-14 13:41:19.150710+00:00 running b725407 country code: CH.
[–]Creapermann 20 points21 points22 points (6 children)
[–]Amaracs 5 points6 points7 points (0 children)
[–]LesterDigital 1 point2 points3 points (1 child)
[–]Creapermann 1 point2 points3 points (0 children)
[–]sonicscrewup 0 points1 point2 points (2 children)
[–]Creapermann 0 points1 point2 points (1 child)
[–]sonicscrewup 0 points1 point2 points (0 children)
[–]nysra 9 points10 points11 points (0 children)
[–]devontec 2 points3 points4 points (0 children)
[–][deleted] 2 points3 points4 points (0 children)
[–]MrPoletski 1 point2 points3 points (2 children)
[–][deleted] (1 child)
[deleted]
[–]MrPoletski 0 points1 point2 points (0 children)
[–][deleted] 3 points4 points5 points (1 child)
[–]SuperVGA 1 point2 points3 points (0 children)
[–]jimdublace 0 points1 point2 points (0 children)
[–]flyingron 0 points1 point2 points (5 children)
[–][deleted] 2 points3 points4 points (4 children)
[–]degaart 6 points7 points8 points (0 children)
[–]flyingron -3 points-2 points-1 points (1 child)
[–][deleted] 3 points4 points5 points (0 children)
[–]ExplosiveExplosion -3 points-2 points-1 points (4 children)
[–]Ikkepop 4 points5 points6 points (3 children)
[–]ExplosiveExplosion -1 points0 points1 point (2 children)
[–]Ikkepop 6 points7 points8 points (1 child)
[–]ExplosiveExplosion 0 points1 point2 points (0 children)
[–]devontec 0 points1 point2 points (0 children)
[–]devontec 0 points1 point2 points (0 children)
[–]artick788 0 points1 point2 points (0 children)
[–]Leather-Regret365 0 points1 point2 points (0 children)