How to configure CLion IDE for Qt Framework?

后端 未结 7 1449
忘掉有多难
忘掉有多难 2020-12-12 12:05

How to configure CLion IDE for Qt Framework? Is this IDE compatible with Qt, or are there other IDEs compatible with Qt?

I just want to try to use something else tha

7条回答
  •  有刺的猬
    2020-12-12 12:12

    This link has a quickstart project, you just have to change your CMAKE_PREFIX_PATH in CMakeLists to the location of the Qt packaged compiler you want to use (mine is gcc_64, his by default is clang_64)-- it has some of the settings mentioned by other answers already set:

    https://github.com/ArneGockeln/qtstarter

    In addition, (on Ubuntu-based Linux) I had to install the OpenGL libraries as described here (https://askubuntu.com/questions/11378/how-do-i-set-up-an-opengl-programming-environment).

提交回复
热议问题