###1. Downlaod and install prerequisites
###2. Configure using CMake GUI
-
Start CMake and set the project source and binary directories:
-
Select Xcode or Unix Makefile
-
Press Configure (...and probably receive an error)
This happens only if CMake is not able to locate the Qt installation
-
Fixing the above error: First type 'qt' in the search to filter values
-
Set the path to Qt5_DIR (.../Qt/Qt5.4/clang_64_lib/cmake/Qt5):
Note that you have to use desktop builds when setting the Qt5 directory. Qt Libraries for Android and iOS are currently not working for this template.
-
Press Configure
-
Specify project settings as you want (all prefixed with TEMPLATE_)
-
Press Configure again
-
Press Generate
###3. Build and run
###3.1 Using Xcode
####3.2 Using Unix Makefile
-
Open terminal
-
Navigate to the project bin directory and use the following commands
make clean make make install open BaseApp.app