Howtos - Hack on Mac OS X » History » Revision 11
Revision 10 (Greg Burri, 05/07/2012 10:33 PM) → Revision 11/12 (Greg Burri, 05/07/2012 10:43 PM)
h1. Howtos - Hack on Mac OS X h2. Snow Leopard * Install "git":http://code.google.com/p/git-osx-installer/ * Install Xcode 4 and add the following line in your @~/.bash_profile@ file:<pre> export PATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:$PATH </pre> * Install "Qt SDK":http://qt.nokia.com/downloads/sdk-mac-os-cpp * Download and install "Protocol Buffer":http://code.google.com/p/protobuf/. Basically, you just have to do : <pre>./configure make make check sudo make install </pre> * Add the path @/Users/<user>/QtSDK/Desktop/Qt/4.8.1/gcc/bin/@ @/Users/<user>/QtSDK/Desktop/Qt/4.8.0/gcc/bin/@ to your PATH environment variable. * Set up _Qt Creator_ ** Launch Qt Creator ** Open the projects @D-LAN/application/GUI.pro@ and @D-LAN/application/Core.pro@ ** For both projects: *** Uncheck _Shadow build_ in the _Build Settings_ tab. *** Add the argument @-f Makefile-Core@ to _Make_ for the build configuration _Debug_ . Replace _'Core'_ by _'GUI'_ for the _GUI_ project. ** Add @-e@ as an argument in the _Run Settings_ tab of the _Core_ project. ** Run the shell script 1.generate_protos_cpp.sh located in the application directory ** You can now compile and run the two projects.