Can't debug cpp code under Qt Creator when linking with CUDA libs.

I have a problem with debugging a simple cpp code (it calls functions like cuInit(), cuDeviceGetCount()…). When I put a break point into the CPP code and start debugging I get this message:

This does not seem to be a “Debug” build.

When I remove all the CUDA-calls and do not link the program against the cuda.lib and cudart.lib then the code is debuggable.


Qt Creator 3.2.2
CUDA v6.0
CPP Compiler: VC++ 2010
Debugger: C:\Program Files (x86)\Windows Kits\8.1\Debuggers\x86\cdb.exe
Qt 5.3.2 (compiled by VC++2010, 32bit)

Can anyone give me a suggestion where could be the problem?
Thank you.