Howtos - Hack on Mac OS X » History » Version 12
Greg Burri, 05/07/2012 11:44 PM
1 | 1 | Greg Burri | h1. Howtos - Hack on Mac OS X |
---|---|---|---|
2 | |||
3 | h2. Snow Leopard |
||
4 | 2 | Greg Burri | |
5 | 1 | Greg Burri | * Install "git":http://code.google.com/p/git-osx-installer/ |
6 | 12 | Greg Burri | * Install Xcode 4 |
7 | * Open Xcode preferences dialog and install the command line tools in the _Downloads_ tab |
||
8 | 4 | Greg Burri | * Install "Qt SDK":http://qt.nokia.com/downloads/sdk-mac-os-cpp |
9 | 5 | Greg Burri | * Download and install "Protocol Buffer":http://code.google.com/p/protobuf/. Basically, you just have to do : <pre>./configure |
10 | make |
||
11 | 1 | Greg Burri | make check |
12 | 5 | Greg Burri | sudo make install |
13 | </pre> |
||
14 | 12 | Greg Burri | * Create a file called _qt_ in @/etc/paths.d@ containing @/Users/<user>/QtSDK/Desktop/Qt/4.8.1/gcc/bin/@ |
15 | 6 | Greg Burri | * Set up _Qt Creator_ |
16 | ** Launch Qt Creator |
||
17 | ** Open the projects @D-LAN/application/GUI.pro@ and @D-LAN/application/Core.pro@ |
||
18 | ** For both projects: |
||
19 | *** Uncheck _Shadow build_ in the _Build Settings_ tab. |
||
20 | *** Add the argument @-f Makefile-Core@ to _Make_ for the build configuration _Debug_ . Replace _'Core'_ by _'GUI'_ for the _GUI_ project. |
||
21 | ** Add @-e@ as an argument in the _Run Settings_ tab of the _Core_ project. |
||
22 | 8 | olivier morel | ** Run the shell script 1.generate_protos_cpp.sh located in the application directory |
23 | 6 | Greg Burri | ** You can now compile and run the two projects. |