uCtrl/Software — pull request #30 by jpgauthier (2014-03-14 05:08:20+00:00)
Title: QMAKE BUILD

- Added build logic (dependencies) in .pro files instead of .shared
- Reduced shared files to bare minimum (code style only)
- Added a global file
- PLEASE SET YOUR PATHS RIGHT FROM THE BEGINNING

**Follow these steps for a happy life**
1. git checkout QMake_Build
2. Delete all those .pro.user files (cleaner, it's optional)
3. Click on uCtrl.pro file and change the paths for debug and release to:
3.1. Debug: ../build/debug or the absolute path
3.2. Release: ../build/release or the absolute path
4. Click on uCtrlCore.pro file and change the paths for debug and release to:
4.1. Debug: ../../build/debug/uCtrlCore or the absolute path
4.2. Release: ../../build/release/uCtrlCore or the absolute path
5. Click on uCtrlDesktop.pro file and change the paths for debug and release to:
5.1. Debug: ../../build/debug/uCtrlDesktop or the absolute path
5.2. Release: ../../build/release/uCtrlDesktop or the absolute path
5. Click on uCtrServiceBrowser.pro file and change the paths for debug and release to:
5.1. Debug: ../../build/debug/uCtrlServiceBrowser or the absolute path
5.2. Release: ../../build/release/uCtrlServiceBrowser or the absolute path
6. You are done, have a happy life!

**You can leave the paths as is when you open the .pro file, it will work, but the compiled apps paths, libs paths and everything might be a little bit awkward**

**Also, i'll need a windows test ( @Msonic77 @frankbew ) + linux test ( @ofrogon ) on that one**

If we really need it, I can write a bootstrap script to swap these default paths to the one from the steps, but it might be a bit overkill. Please tell me if you really want one.

![](http://31.media.tumblr.com/c5bd883a59c6587f20c772bcde911708/tumblr_mo52l6Ja1f1sp9fcho1_500.gif)