You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ cd build
$ cmake ..
CMake Error at cmake/modules/FindQt4.cmake:1193 (MESSAGE):
Qt qmake not found!
Call Stack (most recent call first):
CMakeLists.txt:9 (find_package)
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as
cmake_minimum_required(VERSION 2.8)
should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring incomplete, errors occurred!
The text was updated successfully, but these errors were encountered:
I'm going to fix FindQt4.cmake to get compatibility with Qt5
$ cmake .. -DQT_QMAKE_EXECUTABLE=/Users/<cut>/Qt5.1.0/5.1.0/clang_64/bin/qmake -DQT_LIBRARY_DIR=/Users/<cut>/Qt5.1.0/5.1.0/clang_64/lib/cmake/Qt5 -DQT_INCLUDE_DIR=/Users/<cut>/Qt5.1.0/5.1.0/clang_64/include/
-- Qt's moc NOT found!
-- Qt's uic NOT found!
CMake Error at cmake/modules/FindQt4.cmake:1153 (MESSAGE):
Qt libraries, includes, moc, uic or/and rcc NOT found!
Call Stack (most recent call first):
CMakeLists.txt:9 (find_package)
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as
cmake_minimum_required(VERSION 2.8)
should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.
Steps:
The text was updated successfully, but these errors were encountered: