Qt Necessitas error - Can't find Ministro service

后端 未结 1 494
孤城傲影
孤城傲影 2021-01-06 07:25

I downloaded the Necessitas installer for Linux, but I can\'t make my \"Hello World\" Qt application run on the debugger\'s Android VM.

It gives this error:

1条回答
  •  被撕碎了的回忆
    2021-01-06 08:04

    If I remember correctly, you had to use the modified Qt creator that comes with Necessitas and the first time you wanted to deploy your application to Android device, you had to take the following steps:

    1. On the left side of Qt Creator go to Projects
    2. In the projects window in the run tab of Necessitas Qt for android you have to go to Deploy configurations and click to expand details
    3. In details check Install Ministro system wide Qt shared libraries installer and select the APK you downloaded earlier (I think I got it from here http://necessitas.kde.org/necessitas/ministro.php)
    4. Just build and run your program as normally

    enter image description here

    Let me know if the following steps worked for you. I think there is yet another way, which involves ADB and command line, but for that I would have to lookup my notes, which I currently do not have with me...

    0 讨论(0)
提交回复
热议问题