Unsolved CmakeLists error while compiling for Qt5.
MarKS last edited by MarKS
I am trying to compile FindObject library using Cmake GUI 3.2.2.
I have Qt5.4.2 but the CmakeLists file in the folder is for Qt4.
When i try to build cmakelists file using Cmake, i receive these errors:
CMake Error at src/CMakeLists.txt:41 (QT4_WRAP_UI):
Unknown CMake command "QT4_WRAP_UI".
CMake Error at src/CMakeLists.txt:44 (QT4_WRAP_CPP):
Unknown CMake command "QT4_WRAP_CPP".
How do i solve this error? I need some help urgently. Thanks.
You have to port the CMakeLists.txt for Qt 5. You have the CMake Manual in Qt's documentation to help you get started.