Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo 3 Support (Qt 5) › Example not compile

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #21672

    Nicola

    Hi,

    in my applicatio i scan the QrCode, before of the last update of Felgo it wal all ok, now on android when start the camera the app crash (on ios it’s ok); so i downloaded the QtWSummit app, because it use the same library to scan the qrcode, to se what happen in your example, but i have this error:

    Where:

    Build file ‘/Volumes/STORAGE/build-QtWS-Android_for_armeabi_v7a_Clang_Qt_5_12_3_Android_armv7_Felgo-Debug/android-build/build.gradle’ line: 20

    * What went wrong:

    A problem occurred evaluating root project ‘android-build’.

    > Failed to apply plugin [id ‘com.android.application’]

    > Minimum supported Gradle version is 4.6. Current version is 2.10. If using the gradle wrapper, try editing the distributionUrl in /Volumes/STORAGE/build-QtWS-Android_for_armeabi_v7a_Clang_Qt_5_12_3_Android_armv7_Felgo-Debug/android-build/gradle/wrapper/gradle-wrapper.properties to gradle-4.6-all.zip

    * Try:

    Run with –stacktrace option to get the stack trace. Run with –info or –debug option to get more log output.

    — Skipping /Users/nicola/V-PlaySDK/Felgo/android_armv7/plugins/position/libqtposition_serialnmea.so. It has unmet dependencies: lib/libQt5SerialPort.so.

    — Skipping /Users/nicola/V-PlaySDK/Felgo/android_armv7/plugins/iconengines/libqsvgicon.so. It has unmet dependencies: lib/libQt5Svg.so.

    — Skipping /Users/nicola/V-PlaySDK/Felgo/android_armv7/plugins/imageformats/libqsvg.so. It has unmet dependencies: lib/libQt5Svg.so.

    BUILD FAILED

     

    On my system i use gradle 5.x, i removed the old build directory, removed the pro.user, but nothing, i’m happy if you canĀ  compile this apps and test if the qrcode is ok (i think it’s helpful also for you).

    Nicola

     

    #21675

    Nicola

    HI, i resolved the compilation issue changing this:

    #Wed Apr 10 15:27:10 PDT 2013
    distributionBase=GRADLE_USER_HOME
    distributionPath=wrapper/dists
    zipStoreBase=GRADLE_USER_HOME
    zipStorePath=wrapper/dists
    distributionUrl=https://services.gradle.org/distributions/gradle-5.4.1-all.zip
    ~

     

    but also your app crash while reading the qrcode!!!

     

    For me it’s very important thing

     

    D OpenGLRenderer: eglDestroySurface = 0xde985660, 0xb9378800

    D OpenGLRenderer: endAllActiveAnimators on 0xb1b1f880 (RippleDrawable) with handle 0xc292aac0

    D ViewRootImpl@67202f2[VPlayActivity]: dispatchDetachedFromWindow

    D ViewRootImpl@67202f2[VPlayActivity]: Surface release. android.view.ViewRootImpl.doDie:7931 android.view.ViewRootImpl.die:7899 android.view.WindowManagerGlobal.removeViewLocked:497 android.view.WindowManagerGlobal.removeView:435 android.view.WindowManagerImpl.removeViewImmediate:124 android.app.Dialog.dismissDialog:518 android.app.Dialog.dismiss:501 android.support.v7.app.AlertController$ButtonHandler.handleMessage:171

    D InputTransport: Input channel destroyed: fd=123

    D ViewRootImpl@bfc4496[VPlayActivity]: MSG_WINDOW_FOCUS_CHANGED 1 1

    D InputMethodManager: prepareNavigationBarInfo() DecorView@9531817[VPlayActivity]

    D InputMethodManager: getNavigationBarColor() -855310

    E ViewRootImpl: sendUserActionEvent() returned.

    D ViewRootImpl@bfc4496[VPlayActivity]: ViewPostIme pointer 0

    D ViewRootImpl@bfc4496[VPlayActivity]: ViewPostIme pointer 1

    D ViewRootImpl@bfc4496[VPlayActivity]: ViewPostIme pointer 0

    D ViewRootImpl@bfc4496[VPlayActivity]: ViewPostIme pointer 1

    W linker : Warning: “/data/data/net.vplay.demos.qtws2017/qt-reserved-files/qml/QtMultimedia/libdeclarative_multimedia.so” has unsupported flags DT_FLAGS_1=0x80 (ignoring unsupported flags)

    D ViewRootImpl@bfc4496[VPlayActivity]: ViewPostIme pointer 0

    D ViewRootImpl@bfc4496[VPlayActivity]: ViewPostIme pointer 1

    D Dialog : mIsSamsungBasicInteraction = false

    D Dialog : mIsSamsungBasicInteraction = false, isMetaDataInActivity = false

    W linker : Warning: “/data/data/net.vplay.demos.qtws2017/qt-reserved-files/plugins/video/videonode/libqtsgvideonode_android.so” has unsupported flags DT_FLAGS_1=0x80 (ignoring unsupported flags)

    E Camera_APM : : [APM]APM’s Thread is started

    E Camera_APM : : [APM] This app is forground app

    D ScrollView: initGoToTop

    D InputTransport: Input channel constructed: fd=121

    D ViewRootImpl@f0e6f50[VPlayActivity]: setView = DecorView@79b6f[VPlayActivity] TM=true MM=false

    D ViewRootImpl@f0e6f50[VPlayActivity]: dispatchAttachedToWindow

    D ViewRootImpl@f0e6f50[VPlayActivity]: Relayout returned: old=[0,72][1080,2076] new=[27,687][1053,1460] result=0x7 surface={valid=true 3107424256} changed=true

    D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000

    D OpenGLRenderer: eglCreateWindowSurface = 0xde985660, 0xb9378808

    D ScrollView: onsize change changed

    D ViewRootImpl@f0e6f50[VPlayActivity]: MSG_WINDOW_FOCUS_CHANGED 1 1

    D ViewRootImpl@f0e6f50[VPlayActivity]: MSG_RESIZED: frame=Rect(27, 687 – 1053, 1460) ci=Rect(0, 0 – 0, 0) vi=Rect(0, 0 – 0, 0) or=1

    D ViewRootImpl@bfc4496[VPlayActivity]: MSG_WINDOW_FOCUS_CHANGED 0 1

    D InputMethodManager: prepareNavigationBarInfo() DecorView@9531817[VPlayActivity]

    D InputMethodManager: getNavigationBarColor() -855310

    D SensorManager: registerListener :: 1, LSM6DSL Acceleration Sensor, 200000, 0,

    D QtWS 2017: needed to resize

    D QtWS 2017: size: 0 , new size: 6220800

Viewing 2 posts - 1 through 2 (of 2 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded