Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:doc:macosx [25/09/2016 02:33] – [Préparation de l'environnement] scorpio810 | en:doc:macosx [25/09/2016 02:40] (current) – [Compiler un programme C++/Qt : Qt 5.x] scorpio810 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ~~NOCACHE~~ | ||
+ | ====== QElectroTech MacOSX ====== | ||
+ | |||
+ | |||
+ | This page includes all the team knowledge on compiling and executing QElectroTech MacOS X. The developer does not have an Apple computer, we do absolutely nothing as guarantee the proper functioning of QElectroTech MacOS X . | ||
+ | |||
+ | Tested on El Capitan (10.11). | ||
+ | |||
+ | ===== Preparing the environment ===== | ||
+ | ==== Compiling a C ++ program: XCode ==== | ||
+ | To have a C ++ compiler and the make tool, you must install | ||
+ | [[https:// | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Vérifications : < | ||
+ | # Open a console; make utility must be present : | ||
+ | NameOfMachine: | ||
+ | make: *** No targets specified and no makefile found. | ||
+ | </ | ||
+ | ==== Compiling a C ++ program / Qt: Qt5.x ==== | ||
+ | |||
+ | Download and install Qt for Mac OS: | ||
+ | * Go to [[http:// | ||
+ | * Answer the questions : | ||
+ | - Is your application or device being developed for : Open source distribution under a LGPL or GPL licence | ||
+ | - Are you prepared to make your application source code publicly available : Yes | ||
+ | - Are you able to comply with the obligations of the LGPL (or GPL) and/or does your corporation allow open source usage ? Yes | ||
+ | - Get Started | ||
+ | - Download now (Le QT Online installer for OS X) | ||
+ | * Download and install Qt5.x sdk | ||
+ | |||
+ | PS : If you have this error message: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Go to / System Preferences / Security & Privacy / General. | ||
+ | |||
+ | And select " | ||
+ | |||
+ | {{: | ||
+ | |||
+ | ______________________________ | ||
+ | Indicate the Qt environment variables bash: | ||
+ | - Show hidden files (using Onyx for example) | ||
+ | - Open file: / | ||
+ | - add (adapting the version number): | ||
+ | < | ||
+ | # Setting PATH for Qt5.5 | ||
+ | PATH="/ |