Category : clion

I’ve been studying c++, but only for console application. I’m trying to introduce myself in GUI applications with c++, since I’m working with CLion, I’ve noticed a Qt UI class, but I don’t know how to use it. Anyone know how to use this class, for create GUI apps (create events,…,). I don’t know if ..

Read more

I used CLion to write some c++ source files(The specific code are not important as far as this question is concerned). However, one project can only have one main() function although these main() functions are in different source files. So in the CMakeLists.txt: cmake_minimum_required(VERSION 3.20) project(_CODE__20220116_CppTyro) set(CMAKE_CXX_STANDARD 17) add_executable(_CODE__20220116_CppTyro main.cpp 0001HelloWorld.cpp 0002Square.cpp) add_executable(0001HelloWorld 0001HelloWorld.cpp) add_executable(0002Square ..

Read more

I have a problem that I can’t seem to find the settings to modify. When attempting to find the GLUT package using CLion’s CMake utilities on Ubuntu, it does not find GLUT. Using command-line CMake and Makefile commands, however, finds the dependencies perfectly and allows the following to generate and compile: # CMakeLists.txt cmake_minimum_required(VERSION 3.16) ..

Read more

I have a problem while I am pushing my committed changes to github. Whenever I do so I need to authorize my GitHub account in CLion. As far as I’m concerned logging via website was removed from the available options so it is necessary to do it with a Token. I generated it many times, ..

Read more