The problem
I’m trying to build a source code using QT5 using CMake. It exits this error:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
|
solution
I checked the QT5 package and it seems to be installed. The naming of the QT4 and QT5 packages in Ubuntu has been changed and dropped.
All you need is wrapping qtbase5-dev
Once I installed it, this bug was resolved:
1 |
|
Read More:
- Common mistakes and solutions of cmake + QT + VTK
- Qt5 when cmake configures VTK_ The solution of dir-notfound
- CMake Error: Could not find CMAKE_ROOT !!!
- QT encountered in CentOS installation( qt.qpa.plugin : Could not load the Qt platform plugin “xcb” )
- CMake Error at CMakeLists.txt:5 (PROJECT): The CMAKE_C_COMPILER: cl is not a full path
- Clion appears cmake error: could not find cmake_ Root! What is the problem and how to solve it?
- Visual slam Lesson 6: curve fitting with g2o, error: cmake error at CMakeList.txt (find_ package) By not providing“FindG2O.cmake“
- CMake Error:Could not find CMAKE_ROOT!!!
- QT learning 3: configuration and testing of QT creator 2.4.1 development environment
- WSL start QT error qt.qpa.xcb : could not connect to display :0.0
- QGIS uses qt4.6.3 to upgrade to the version compiled by qt4.8.3
- Upgrading QT4 project to Qt5 project
- Can not start, can not find QT pligins “windows” problem after installing QT vs environment 2021-06-13
- Cmake error when configuring OpenGL [How to Solve]
- [VTK] cmake compiling VTK
- Cmake error solution encountered in STM32 development with clion
- JOM error 2 problem when qtcreator uses cmake to build a project
- The CXX compiler identification is unknown CMake Error at CMakeLists.txt:11 (project):
- Two methods of cmake in VTK program
- Qt5 when compiling VTK_ The solution of dir-notfound