Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Specify android platform setting by qmake
Qt 6.11 is out! See what's new in the release blog

Specify android platform setting by qmake

Scheduled Pinned Locked Moved Mobile and Embedded
1 Posts 1 Posters 1.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    stereomatching
    wrote on last edited by
    #1

    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{
    }@

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved