Is qt5 support API 10 for android?



  • I tried to build the application, using the latest version qt5.1.0 rc1.
    And that's what gave ant:
    @[getbuildtools] Using latest Build Tools: 17.0.0
    [echo] Resolving Build Target for Untitled...
    [gettarget] Project Target: Android 2.3.3
    [gettarget] API level: 10
    [echo] ----------
    [echo] Creating output directories if needed...
    [mkdir] Created dir: e:\dev\cpp\untitled\android\bin
    [mkdir] Created dir: e:\dev\cpp\untitled\android\bin\res
    [mkdir] Created dir: e:\dev\cpp\untitled\android\gen
    [mkdir] Created dir: e:\dev\cpp\untitled\android\bin\classes
    [mkdir] Created dir: e:\dev\cpp\untitled\android\bin\dexedLibs
    [echo] ----------
    [echo] Resolving Dependencies for Untitled...
    [dependency] Ordered libraries:
    [dependency]
    [dependency] ------------------
    [dependency] API<=15: Adding annotations.jar to the classpath.
    [echo] ----------
    [echo] Building Libraries with 'debug'...
    [subant] No sub-builds to iterate on

    -code-gen:
    [mergemanifest] Merging AndroidManifest files into one.
    [mergemanifest] Manifest merger disabled. Using project manifest only.
    [echo] Handling aidl files...
    [aidl] Found 2 AIDL files.
    [aidl] Compiling 2 AIDL files.
    [echo] ----------
    [echo] Handling RenderScript files...
    [renderscript] No RenderScript files to compile.
    [echo] ----------
    [echo] Handling Resources...
    [aapt] Generating resource IDs...
    [echo] ----------
    [echo] Handling BuildConfig class...
    [buildconfig] Generating BuildConfig class.

    -pre-compile:

    -compile:
    [javac] Compiling 6 source files to e:\dev\cpp\untitled\android\bin\classes
    [javac] e:\dev\cpp\untitled\android\src\org\qtproject\qt5\android\bindings\Q
    tActivity.java:77: error: cannot find symbol
    [javac] import android.app.Fragment;
    [javac] ^
    [javac] symbol: class Fragment
    [javac] location: package android.app
    [javac] e:\dev\cpp\untitled\android\src\org\qtproject\qt5\android\bindings\Q
    tActivity.java:78: error: cannot find symbol
    [javac] import android.view.ActionMode;
    [javac] ^
    [javac] symbol: class ActionMode
    [javac] location: package android.view
    [javac] e:\dev\cpp\untitled\android\src\org\qtproject\qt5\android\bindings\Q
    tActivity.java:79: error: package android.view.ActionMode does not exist
    [javac] import android.view.ActionMode.Callback;
    ..............@

    For example android.app.Fragment only supported api 11


Log in to reply
 

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