Hi all.
I am compiling my app for 2 platforms, Destop and Android. The app uses a library. Right now I specify double library paths like this:

LIBS += -L/home/niko/wrkgr/intel/wrklib -L/home/niko/wrkgr/android/wrklib

How would I mofify the config file so the library path is included depending on the build architecture ?

something like:

Qt Code:
  1. IF (INTEL) {
  2. LIBS += -L/home/niko/wrkgr/intel/wrklib
  3. ENDIF
  4.  
  5. IF (ANDROID_ARM) {
  6. LIBS += -L/home/niko/wrkgr/intel/wrklib
  7. }
  8.  
  9. IF (ANDROID_X86 {
  10. LIBS += -L/home/niko/wrkgr/intel/wrklib
  11. }
To copy to clipboard, switch view to plain text mode 

What is the correct syntax?