Installing Qt Android Extras - JNI (Win 7/MinGW)



  • Greetings,

    I have downloaded Qt 5.2, created my first Qt Quick app, have it running on PC, phone and tablet and now I want to tie it in with some Java functionality using the Qt Android Extras JNI interface.

    So I went back to my Qt 5.2 Maintenance Tool and downloaded the Src which includes this module. I imagine I am going to need to build this module but I am not sure what steps are required to do this. Any direction would be appreciated. The documentation is a little sparse on this topic.

    I have opened all the .pro files in this Src location associated with the "extras" using Creator and nothing builds.

    Thanks!



  • When I qmake the Notification example project file
    "-1: error: Unknown module(s) in QT: androidextras"

    It has this in it's project file:
    "QT += quick androidextras"



  • What do I have to do to get this example to work?

    http://qt-project.org/doc/qt-5/qtandroidextras-notification-example.html

    still stuck



  • Can you deploy the app? Because I can deploy it and click on the images, but no notifcation pops up.

    I just installed the android extras with the maintenance tool (qt 5.2.1->source components->addons->android extras) and didnt have to build it. Maybe that helps and you can atleast deploy the app.



  • Ahhh, I only have 5.2.1 so maybe it is included in the latest release!!

    Thanks for letting me know. I will check that out right now. My entire project got put on hold because of this.

    I really appreciate the response!!



  • Sorry, but 5.2.2 was a typo. But nevertheless it works with 5.2.1 for me. At least, as far as I described :)



  • I know this issue is quite old but the owner didn't write if he has solved his problem. I have been stuck on this issue for a little while. My Desktop build could not find the 'androidextras' however when i switched build to Android build, obviously, everythink went fine. Hope it helps :)


Log in to reply
 

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