Kirigami/qmake deployment on Android problems

Camilo Higuita Rodriguez chiguitar at unal.edu.co
Sun Oct 22 20:10:25 UTC 2017


Hi,
I've been trying for the past two days to get my Kirigami application up
and working on Android. It all works fine in the desktop, but when i try to
deploy it to an android device the application dies.

I'm using qmake, because with cmake i haven't been able to get pass this
error:

/usr/share/cmake-3.9/Modules/CMakeTestCCompiler.cmake:51: error: The C
compiler
"/opt/android-sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc"
is not able to compile a simple test program. It fails with the following
output: Change Dir:
/tmp/QtCreator-Dzolzo/qtc-cmake-XXyC6vei/CMakeFiles/CMakeTmp

I'm using QtCreato 4.4.1 and I'm under Arch Linux

Here's the application i'm trying to build:

https://github.com/milohr/medOS-kirigami

Apparently the error comes from here:
On android it dies cause of engine.rootObjects().isEmpty()

 engine.load(QUrl(QLatin1String("qrc:/main.qml")));

    if (engine.rootObjects().isEmpty())

    {

        qDebug()<<"engine.load is empty";

        return -1;

    }else

    {

        qDebug()<<"engine.load is not empty";

    }



Here's the error log:
https://paste.kde.org/prrj64zsd/p2rbd5

Any kind of help would be greatly appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20171022/9c3b8e51/attachment.html>


More information about the Plasma-devel mailing list