Howtos - Hack on Mac OS X » History » Version 6
Greg Burri, 05/09/2011 10:02 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 | 4 | Greg Burri | * Install Xcode 4 |
7 | * Install "Qt SDK":http://qt.nokia.com/downloads/sdk-mac-os-cpp |
||
8 | 5 | Greg Burri | * Download and install "Protocol Buffer":http://code.google.com/p/protobuf/. Basically, you just have to do : <pre>./configure |
9 | make |
||
10 | sudo make install |
||
11 | </pre> |
||
12 | * Add the path @/Users/<user>/QtSDK/Desktop/Qt/473/gcc/bin/@ to your PATH environment variable. |
||
13 | 6 | Greg Burri | * Set up _Qt Creator_ |
14 | ** Launch Qt Creator |
||
15 | ** Open the projects @D-LAN/application/GUI.pro@ and @D-LAN/application/Core.pro@ |
||
16 | ** For both projects: |
||
17 | *** Uncheck _Shadow build_ in the _Build Settings_ tab. |
||
18 | *** Add the argument @-f Makefile-Core@ to _Make_ for the build configuration _Debug_ . Replace _'Core'_ by _'GUI'_ for the _GUI_ project. |
||
19 | ** Add @-e@ as an argument in the _Run Settings_ tab of the _Core_ project. |
||
20 | ** You can now compile and run the two projects. |