Quelqu'un a réussi à compiler la bibliothèque QtOpenCL en utilisant Qt5 (éventuellement sous Window)?Compilation QtOpenCL avec QT5
éditer: J'ai réussi à compiler le code en le portant sur QT5. Je laisse ici dans la question les parties sales que je voudrais remplacer dans ma méthode et décrivez ce que j'ai fait dans la réponse.
je n'étais pas en mesure de fournir le chemin d'inclusion à mon installation OpenCL donc je
modifié manuellement src/OpenCL/opencl.pro en ajoutant la ligne
INCLUDEPATH += " *[absolute path to the openCL include folder]* "
QMAKE_LIBDIR_OPENCL = "*[absolute path to the opencl lib folder]*"
modifié manuellement src/openclgl/openclgl .pro en ajoutant la ligne
INCPATH += " *[absolute path to the openCL include folder]* "
QMAKE_LIBDIR_OPENCL = "*[absolute path to the opencl lib folder]*"
Quelqu'un sait comment résoudre ce problème d'une manière plus propre?
Je voudrais juste ajouter que J'ai aussi dû modifier 'static void qt_cl_context_notify (...' dans 'qclcontext.cpp' à' static void CL_CALLBACK qt_cl_context_notify (... 'et' static void qt_clgl_context_notify (... 'à' static void CL_CALLBACK qt_clgl_context_notify (.. .' dans 'qclc ontextgl.cpp' – jcxz