Really switch to VTK8.
Pro-tip: cmake and qmake are two build systems, do not mix them together, or this could produce unexpected results.