Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - How to read this scripts?: (1 Item)
   
How to read this scripts?  
The is the deploymment.pri file under qnx660/source/qt/src/MediaPlayer. I am trying to understand how this actually work
. See the comments after arrows. The target is x86 QnX, it is neither Android nor Android with no SDK. Does it mean it 
is Unix? 

  isEmpty(target.path) {
        qnx {
            target.path = /tmp/$${TARGET}/bin
        } else {
            target.path = /opt/$${TARGET}/bin
        }
 

android-no-sdk {               <- For Android with no SDK
    target.path = /data/user/qt
    export(target.path)
    INSTALLS += target
} else:android {                 <- For Android
    x86 {
        target.path = /libs/x86
    } else: armeabi-v7a {
        target.path = /libs/armeabi-v7a
    } else {
        target.path = /libs/armeabi
    }
    export(target.path)
    INSTALLS += target
} else:unix {            <- For Unix.
    isEmpty(target.path) {
        qnx {
            target.path = /tmp/$${TARGET}/bin
        } else {
            target.path = /opt/$${TARGET}/bin
        }
        export(target.path)
    }
    INSTALLS += target
}

export(INSTALLS)