set QVTK library in release and debug mode

for demands that need to link libraries in debug mode