The QT Creator project generator script contains this usage example:
python .~/blender-git/blender/build_files/cmake/cmake_qtcreator_project.py ~/blender-git/cmake
Either ./blender-git or ~/blender-git should be used, but not .~/blender-git. This patch fixes that, by choosing ~/blender-git, in line with the last CLI argument.