Specify android platform setting by qmake



  • qmake support something like win32 and mac, it is quite different to
    specify some platform specific setting

    @win32{

    DEFINES += WIN_OS

    INCLUDEPATH += ../../../3rdLibs/openCV/OpenCV-2.4.5/build/include

    LIBS += -L../../../3rdLibs/openCV/OpenCV-2.4.5/builded/bin -lopencv_core245
    LIBS += -L../../../3rdLibs/openCV/OpenCV-2.4.5/builded/bin -lopencv_imgproc245
    }
    mac{

    CONFIG -= app_bundle
    CONFIG += qwt

    DEFINES += MAC_OS

    INCLUDEPATH += /usr/local/include

    LIBS += -L/usr/local/lib/ -lopencv_core.2.4.5
    LIBS += -L/usr/local/lib/ -lopencv_imgproc.2.4.5
    }@

    do qmake support something like

    @android{
    //.....
    }@

    or better

    @android_armeabi{
    }

    android_armeabi_v7a{
    }@


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.