Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 17625

How to setup ImGui in QtCreator IDE

$
0
0

I just copypasta the official “hello, world” example for GLFW: https://github.com/ocornut/imgui/blob/master/examples/example_glfw_opengl3/main.cpp

I use the QtCreator IDE and the MinGW compiler. You can create an empty C++ project in QtCreator like this: “File” > “New File or Project…” > “Other Project” > “Empty qmake Project”

Just copy the ImGUI files (download ImGUI release) to your project. You can see my .pro file below. If you want that your apps and games works on laptops then add this code to the beginning of your main.cpp:

#ifdef _WIN32
#include <windows.h>
extern …

Viewing all articles
Browse latest Browse all 17625

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>