GUI for C++ Program

I have created a C++ program on my MacBook using Xcode and would now like to create a GUI for my program. How can I do this? I created a program using Python last year and simply used Python's built-in software, Tkinter, to make my GUI. However, I know that C++ does not have this kind of built-in software available. Is it possible for me to create my GUI using Python and then link my program written in C++ with my GUI written in Python? Alternatively, is there any other way that I can create a GUI for my C++ program that doesn't require me to be able to write in C# or Swift (as creating a GUI with Xcode entails) or pay a large sum of money for GUI software like Qt?

Thank you for your help.
pay a large sum of money for GUI software like Qt?


Qt is available for free.
closed account (E0p9LyTq)
An independent GUI library would be of benefit for C/C++ on a Mac. There are several free libraries around:

Fast Light Toolkit (FLTK)
https://www.fltk.org/

GTK+
https://www.gtk.org/

wxWidgets
https://www.wxwidgets.org/

Being cross-platform you can get a consistent GUI appearance no matter what OS with FLTK or GTK+.

wxWidgets is a cross-platform library, yet "unlike other cross-platform toolkits, wxWidgets gives applications a truly native look and feel because it uses the platform's native API rather than emulating the GUI."

I've played around with all three a bit, I still use the Win32 API for my GUI programs.

Bjarne Stroustrup uses FTLK in his "Programming Principles and Practices Using C++" book.
I was able to download Qt for free and use this to begin to create my GUI. Many thanks for the tips.
Topic archived. No new replies allowed.