Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Hello,
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?
Hi,
What smartphone are you talking about ? Which version of Qt ?
I want to program my Moto Z with Qt 5.7
Some pointers here and there about OpenCL on Android.
@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.
i.e.
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.