How can I use CUDA calls to accelerate algorithms in Qt Creator software?

I want to use Qt creator to create software interface, and use Jetson Nano’s CUDA to speed up some algorithms. How should I configure it in the project file of Qt creator? I look forward to receiving your reply. Thank you very much.


QT creator use OpenCV library.
So you can build OpenCV from source with CUDA support.

Here is a related topic for your reference:
[url]Qt + CUDA _ GPU works on TX1 but not on TX2 - Jetson TX2 - NVIDIA Developer Forums


In JetPack 4.4, is the pre-built OpenCV with CUDA and OpenCL support?