Simple example with OpenCL
Unsolved
Mobile and Embedded
-
wrote on 8 Feb 2017, 14:34 last edited by
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 ?
-
wrote on 9 Feb 2017, 12:36 last edited by
I want to program my Moto Z with Qt 5.7
-
-
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)
-
wrote on 15 Feb 2017, 15:48 last edited by
Ok thank you I will try it.
I thought it was more complicated to add it to the project like in Eclipse.
1/7