From d52ac62aedf9be7be75f1e867ae7443ed4c6af0b Mon Sep 17 00:00:00 2001 From: Kai Date: Thu, 29 Aug 2013 13:12:25 +1000 Subject: [PATCH] Update Readme for MAC Clang compiler --- README | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/README b/README index 1d08b8244..1952d7d2b 100644 --- a/README +++ b/README @@ -15,6 +15,19 @@ Documentation ============= For generating documentation, refer to README in the doc directory. +Notes: +===== +Please make sure to delete your build folder before re-building. Independent of which +build system you use (this is not related to Qt or your OS) the dependency checking and +cleaning is based on the current project revision. So if you change the project and not +doing a clean build before you do, incremental building can leave you with stale +object files. + +For the current config branch 'qupgrade' has to be installed (subject to change): + +cd qgroundcontrol +git clone https://github.com/LorenzMeier/qupgrade.git + Mac OS X ======== @@ -33,13 +46,13 @@ Install QT 2) Double click the package installer -Build QGroundControl --------------------- +Build QGroundControl (use clang compiler - not gcc) +------------------------------------- 1) From the terminal go to the `groundcontrol` directory -2) Run `qmake -spec macx-g++` +2) Run `qmake qgroundcontrol.pro -r -spec unsupported/macx-clang CONFIG+=x86_64` -3) Run `make -j8` +3) Run `make -j4` Linux -- 2.22.0