danijar
danijar

Reputation: 34185

Cross platform GUI window in C++

I wondered why I couldn't find a question about that already. How can I create a cross-platform window in C++? By cross-platform I mean support for at least Windows, Mac and Linux.

If there is a library for only this task out there I am willing to use that. But I don't want to use a bloated library with window controls like wxWidgets.

I don't need GUI controls because I am going to use OpenGL. (And for some reason I don't want to use frameworks like GLUT or GLFW.)

Upvotes: 3

Views: 3562

Answers (2)

Eugene Mamin
Eugene Mamin

Reputation: 749

Try C++ bindings library for Tk. It's a very lightweight and simple.

Upvotes: 3

Aniket Inge
Aniket Inge

Reputation: 25705

There are others, I recommend and use FLTK. But Qt is also my favorite. See what works best for you and your patterns of thinking.

FLTK is extremely light weight.

Upvotes: 3

Related Questions