Qt5 on android arm64?



  • Has someone tried to build arm 64bit version of Qt5.5 for android ?
    Is it working?
    I built the source successfully, but got
    E/art (22196): No implementation found for void org.qtproject.qt5.android.QtNative.handleOrientationChanged(int, int) (tried Java_org_qtproject_qt5_android_QtNative_handleOrientationChanged and Java_org_qtproject_qt5_android_QtNative_handleOrientationChanged__II)



  • Compile error:

    .obj/run/media/gentoo/sda5/qt-everywhere-opensource-src-5.5.1/qtimageformats/src/3rdparty/libwebp/src/dsp/dec.o:dec.c:function VP8DspInit: error: undefined reference to 'VP8DspInitNEON'
    .obj/run/media/gentoo/sda5/qt-everywhere-opensource-src-5.5.1/qtimageformats/src/3rdparty/libwebp/src/dsp/enc.o:enc.c:function VP8EncDspInit: error: undefined reference to 'VP8EncDspInitNEON'
    .obj/run/media/gentoo/sda5/qt-everywhere-opensource-src-5.5.1/qtimageformats/src/3rdparty/libwebp/src/dsp/lossless.o:lossless.c:function VP8LDspInit: error: undefined reference to 'VP8LDspInitNEON'
    .obj/run/media/gentoo/sda5/qt-everywhere-opensource-src-5.5.1/qtimageformats/src/3rdparty/libwebp/src/dsp/upsampling.o:upsampling.c:function WebPInitUpsamplers: error: undefined reference to 'WebPInitUpsamplersNEON'
    collect2: error: ld returned 1 exit status
    Makefile:286: recipe for target '../../../../plugins/imageformats/libqwebp.so' failed
    make[5]: *** [../../../../plugins/imageformats/libqwebp.so] Error 1
    make[5]: Leaving directory '/run/media/gentoo/sda5/qt-arm64/qtimageformats/src/plugins/imageformats/webp'
    Makefile:224: recipe for target 'sub-webp-make_first' failed
    make[4]: *** [sub-webp-make_first] Error 2
    make[4]: Leaving directory '/run/media/gentoo/sda5/qt-arm64/qtimageformats/src/plugins/imageformats'
    Makefile:42: recipe for target 'sub-imageformats-make_first' failed
    make[3]: *** [sub-imageformats-make_first] Error 2
    make[3]: Leaving directory '/run/media/gentoo/sda5/qt-arm64/qtimageformats/src/plugins'
    Makefile:43: recipe for target 'sub-plugins-make_first' failed
    make[2]: *** [sub-plugins-make_first] Error 2
    make[2]: Leaving directory '/run/media/gentoo/sda5/qt-arm64/qtimageformats/src'
    Makefile:43: recipe for target 'sub-src-make_first' failed
    make[1]: *** [sub-src-make_first] Error 2
    make[1]: Leaving directory '/run/media/gentoo/sda5/qt-arm64/qtimageformats'
    Makefile:508: recipe for target 'module-qtimageformats-make_first' failed
    make: *** [module-qtimageformats-make_first] Error 2
    
    


  • So, how to disable neon ?
    There seems no -no-neon option.



  • @Mr-Pang Why to disable neon?

    Do you have built qtimageformats submodule?

    If not go to qtimageformats folder in your Qt directory, run /path_to_your/qmake , then make and sudo make install.

    Read this article.



  • This post is deleted!

Log in to reply
 

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