From d1cddb4f2854c844579f9031a2a800abc022a22d Mon Sep 17 00:00:00 2001 From: mpursley Date: Mon, 7 Jul 2014 01:02:04 -0700 Subject: [PATCH 1/2] adding "export QT_CMAKE_PREFIX_PATH=/usr/local/opt/qt5/lib/cmake" for qt5.2.1 --- BUILD.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/BUILD.md b/BUILD.md index 674f0d24cc..e1935bd1c5 100644 --- a/BUILD.md +++ b/BUILD.md @@ -25,6 +25,8 @@ In order for CMake to find the Qt5 find modules, you will need to set an ENV var For example, a Qt5 5.2.0 installation to /usr/local/qt5 would require that QT_CMAKE_PREFIX_PATH be set with the following command. This can either be entered directly into your shell session before you build or in your shell profile (e.g.: ~/.bash_profile, ~/.bashrc, ~/.zshrc - this depends on your shell and environment). export QT_CMAKE_PREFIX_PATH=/usr/local/qt/5.2.0/clang_64/lib/cmake/ + ... or ... + export QT_CMAKE_PREFIX_PATH=/usr/local/opt/qt5/lib/cmake The path it needs to be set to will depend on where and how Qt5 was installed. From f13c7634ad8af64fc2369fd897fd24f76f61200a Mon Sep 17 00:00:00 2001 From: mpursley Date: Mon, 7 Jul 2014 01:08:11 -0700 Subject: [PATCH 2/2] adding "export QT_CMAKE_PREFIX_PATH=/usr/local/Cellar/qt5/5.2.1/lib/cmake" for qt5.2.1 --- BUILD.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/BUILD.md b/BUILD.md index e1935bd1c5..93aafcc3e0 100644 --- a/BUILD.md +++ b/BUILD.md @@ -24,11 +24,12 @@ In order for CMake to find the Qt5 find modules, you will need to set an ENV var For example, a Qt5 5.2.0 installation to /usr/local/qt5 would require that QT_CMAKE_PREFIX_PATH be set with the following command. This can either be entered directly into your shell session before you build or in your shell profile (e.g.: ~/.bash_profile, ~/.bashrc, ~/.zshrc - this depends on your shell and environment). +The path it needs to be set to will depend on where and how Qt5 was installed. e.g. + export QT_CMAKE_PREFIX_PATH=/usr/local/qt/5.2.0/clang_64/lib/cmake/ - ... or ... + export QT_CMAKE_PREFIX_PATH=/usr/local/Cellar/qt5/5.2.1/lib/cmake export QT_CMAKE_PREFIX_PATH=/usr/local/opt/qt5/lib/cmake -The path it needs to be set to will depend on where and how Qt5 was installed. ####Generating build files Create a build directory in the root of your checkout and then run the CMake build from there. This will keep the rest of the directory clean.