Actions
Howtos - Hack on Mac OS X » History » Revision 10
« Previous |
Revision 10/12
(diff)
| Next »
Greg Burri, 05/07/2012 10:33 PM
Howtos - Hack on Mac OS X¶
Snow Leopard¶
- Install git
- Install Xcode 4 and add the following line in your
~/.bash_profile
file:export PATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:$PATH
- Install Qt SDK
- Download and install Protocol Buffer. Basically, you just have to do :
./configure make make check sudo make install
- Add the path
/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
andD-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.
Updated by Greg Burri over 12 years ago · 10 revisions