I feel I'm missing something obvious here, but I just can't see it. I have a cmd window open, and here's what I run:
set QTDIR32=C:\Qt\5.10.1\msvc2015
%QTDIR32%\bin\qmake.exe -v
C:\Qt\5.10.1\msvc2015\bin\qmake.exe is a valid path to an executable tool.
Expected: the tool's output.
Observed:
'C:\Qt\5.10.1\msvc2015' is not recognized as an internal or external command, operable program or batch file.
Tried various combinations of quotes around different parts of the command; tried start %QTDIR32%\bin\qmake.exe -v - it opens the 'C:\Qt\5.10.1\msvc2015' folder in Explorer.
echo %QTDIR32% prints the expected output.
What am I missing?
cmd.exeand typed these commands by hand. Then copied them and posted here.