Solved How to modify .pro or .pri file to differentiate between kits
-
Hi,
I am working with two kits (PC and Pi2) to test the examples on both machines.
On the Pi2, the target.path is different than on the PC, and I would like to modify the .pro or .pri files to automatically select the correct target.path depending on the kit chosen.Is there a variable I can use in the project file to use with an "if" switch?
Thanks! -
linux { // things for linux } pi2-mk-spec { // things for target pi2-mk-spec (you should correct it to have the exact name of the mkspec though) }
-
linux { // things for linux } pi2-mk-spec { // things for target pi2-mk-spec (you should correct it to have the exact name of the mkspec though) }
-
@kshegunov
Thanks very much! I'll give it a try.
Have a nice day.