Qt World Summit: Submit your Presentation

Android cpufeatures library with Qt 5.1

  • I was wondering if there is any way to integrate cpufeatures library from the Android NDK with a Qt 5.1 + qmake based project? I am using Qt Creator if that is any help.

    One way is to separate the functions that use cpufeatures into a separate file, and compile the file into a shared library using the standard NDK build method (specify Android.mk, Application.mk and do ndk-build) outside of the Qt project and then bundle this shared library in the project. But wondering if there is a simpler solution that does not require placing the code outside of the Qt project.

Log in to reply