The core group of developers of stellarium uses QtCreator as main IDE, its integration with Qt and the possibility of having a consistent tool through different platforms makes it the most suitable option for our goals. $ hdiutil create -format UDZO -srcfolder Stellarium Stellarium.dmg
#Stellarium for mac os 10.12 install
Install CMake: $ sudo port install cmakeĭon't forget to restart your terminal session, so that your new PATH setting is taken in account.Ĭreate a build directory with your favorite shell (the following directory is just an example, you can pick any name and path you want).(optional) Install (and link) Gettext: $ brew install gettext brew link gettext -force.If not already done, install HomeBrew:.Simpler, lighter and safer (doesn't need sudo) than MacPorts. Choose only one of them (HomeBrew or MacPorts). There are (at least) two simple options to install these tools on OS X. You need some tools to build Stellarium on OS X. bash_profile file the following line: export PATH=/usr/local/opt/qt/bin:$PATH Add Qt to your PATH environment variable, adding to your.bash_profile file the following line: export PATH=~/Qt/5.10/clang_64/bin:$PATHĪlternatively, you may install Qt with HomeBrew, if you intend to continue the compilation with it (next steps). Add Qt5 to your PATH environment variable, adding to your.Install the latest stable version of Qt5.10 (5.10.0 at the moment): ( offline installer).
Second step: Install Qt Option 1: Using the distribution from the Qt Company
#Stellarium for mac os 10.12 mac os x
Prepare Mac OS X to build Stellarium First step: Install Apple Developer Tools