Qt & Android: even if Release target selected apk name contains 'debug'



  • Is it normal that apk name contains 'debug' even is release target was selected (Qt 5.1, latest release SDK)?
    How to enforce 'real' release build if not?

    BTW. how can I generate apk file without having real android device attached? If no device attached Creator just 'hangs up' - white screen, no response and no apk is generated...



  • I've checked the buil log and I think it sill generates debug codce regardless selected build target is release...

    "[echo] Building Libraries with 'debug'..."

    Any Idea?

    @-build-setup:
    [getbuildtools] Using latest Build Tools: 17.0.0
    [echo] Resolving Build Target for iQSliderPro...
    [gettarget] Project Target: Android 2.3.3
    [gettarget] API level: 10
    [gettarget] WARNING: No minSdkVersion value set. Application will install on all Android versions.
    [echo] ----------
    [echo] Creating output directories if needed...
    [mkdir] Created dir: F:\Users\zlutor\Qt_Android\Qt.5.1\experimental\iqchallengesliderpro\android\bin
    [mkdir] Created dir: F:\Users\zlutor\Qt_Android\Qt.5.1\experimental\iqchallengesliderpro\android\bin\res
    [mkdir] Created dir: F:\Users\zlutor\Qt_Android\Qt.5.1\experimental\iqchallengesliderpro\android\gen
    [mkdir] Created dir: F:\Users\zlutor\Qt_Android\Qt.5.1\experimental\iqchallengesliderpro\android\bin\classes
    [mkdir] Created dir: F:\Users\zlutor\Qt_Android\Qt.5.1\experimental\iqchallengesliderpro\android\bin\dexedLibs
    [echo] ----------
    [echo] Resolving Dependencies for iQSliderPro...
    [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.@



  • It might just be a bug. I mean, this is still a preview of the android support.
    You might want to try qt 5.1.1, but I doubt they fixed that yet
    http://download.qt-project.org/snapshots/qt/5.1/5.1.1-rc1/backups/2013-07-17-81/



  • any idea who to contact then?
    Some bugzilla link?

    I'm sorry for newbie questions but I've just started my Qt&Android jurney...



  • This happened to me out realese you need to include in your project keystore.



  • thanks, i will give it a try.

    I think it is the way how to get signing key: http://developer.android.com/tools/publishing/app-signing.html


Log in to reply
 

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