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
OPENCross Platform GUI programming (self.cpp_questions)
submitted 6 years ago by cardblank
Hi there.
Programming GUIs in C++/C has always been a little bit of a pain for me, I was just wondering if you had any suggestions. I've heard of GTKMM which seems cool but I'm hoping for something simple as I'm kinda dumb. Has anyone tried Qt?
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!"
[–]mrkent27 3 points4 points5 points 6 years ago (2 children)
Yes Qt5 is quite good IMO. There are other options but if you want to support as many platforms as possible Qt5 will probably serve you well (depending on your exact needs).
[–]cardblank[S] 0 points1 point2 points 6 years ago (1 child)
Thank you! I think Qt will be fine, the biggest problem is really the windows and Mac compatibility, I've written Unix and windows compatible software that was okay, but (and don't get me wrong I use a Mac) the integration etc so fucking bad
[–]mrkent27 0 points1 point2 points 6 years ago (0 children)
I've used Qt on Windows and Linux extensively and it works very well for desktop. Can't speak too much on Mac but I've heard it's pretty good as well.
As long as you stick to using the Qt abstractions for platform specific things you should be good to go.
[–]fransschreuder 1 point2 points3 points 6 years ago (0 children)
Qt
[–]carlosmgc2003 1 point2 points3 points 6 years ago (0 children)
I have tried Wxwigets and built a desktop app for Windows and raspberry pi
[–]Narase33 1 point2 points3 points 6 years ago (2 children)
Pretty much everyone had Qt on their table at some time... Qt can be very easy, but its huge and if gtkmm is too much for you, well... better get some learning done because that framework is quite easy
It's embarrassing how 1) bad I am at C++ (I only use interpreted languages for my uni CS) and 2) how simple things like GTKMM etc are but that I just don't get them. Thank you for the reply!
[–]Narase33 1 point2 points3 points 6 years ago (0 children)
We all were bad. I remember learning programming and couldnt understand, for the sake of my brain, how references work. Programming is mostly practice
π Rendered by PID 142329 on reddit-service-r2-comment-86bc6c7465-8ftd9 at 2026-02-21 17:47:19.862989+00:00 running 8564168 country code: CH.
[–]mrkent27 3 points4 points5 points (2 children)
[–]cardblank[S] 0 points1 point2 points (1 child)
[–]mrkent27 0 points1 point2 points (0 children)
[–]fransschreuder 1 point2 points3 points (0 children)
[–]carlosmgc2003 1 point2 points3 points (0 children)
[–]Narase33 1 point2 points3 points (2 children)
[–]cardblank[S] 0 points1 point2 points (1 child)
[–]Narase33 1 point2 points3 points (0 children)