Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Simple example with OpenCL
I am looking for a simple example of Qt for smartphone to use NDK and OpenCL.
I compile easily the sample on Qt on my smartphone but I don't know how to setup NDK qtcreator. How can I use OpenCL function on it?
What smartphone are you talking about ? Which version of Qt ?
I want to program my Moto Z with Qt 5.7
@SGaist thanks you for the answer. But I already do it on eclipse but I don't know how to do it on qtcreator.
Where should I add the so library un qtcreator? How to properly include it into the project?
Add the path to the library in your .pro file as well as link line.
LIBS += -L/path/to/folder_that_contains_OpenCL_lib/ -lOpenCL (or replace with name of the library)
Ok thank you I will try it.
I thought it was more complicated to add it to the project like in Eclipse.