From 9fe41737e6b918d42b2fe820b8546f88eb7d2c18 Mon Sep 17 00:00:00 2001 From: Chadwick Boulay Date: Fri, 6 Mar 2020 21:13:44 -0500 Subject: [PATCH] Added note about cmake command when using homebrew Qt5 --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6d27573..0830e75 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -66,6 +66,8 @@ find_package(Vendor QUIET) #: find it by adding the following to your cmake invocation: #: -DQt5_Dir="C:/Qt///lib/cmake/Qt5" #: Where is 5.something and is something like msvc2017_64 +# If you are on MacOS and you installed Qt5 via homebrew, then use the following: +# -DQt5_DIR=$(brew --prefix qt5)/lib/cmake/Qt5 #: #: Then, to import Qt, just call `find_package` with the components your app uses #: (usually just `Widgets`).