Fixed incorrect QXT_INSTALL_FEATURES initialization with Qt5 on Windows.
Alexandr Zarubkin
Branch: azarubkin/libqxt:master
azarubkin/libqxt:master
Branch: libqxt/libqxt:master
libqxt/libqxt:master
Open
#37 · Created  · Last updated
Description
The Windows command processor substitutes variables' values all at once before it executes the next line in batch file. This leads to incorrect initialization of QXT_INSTALL_FEATURES - it is updated twice in single line, and the second update ignores the result of the first, though it should to depend on it. It is fixed by enabling delayed variables' values expansion (see diff and comments inside batch file).
The Windows command processor substitutes variables' values all at once before it executes the next line in batch file. This leads to incorrect initialization of QXT_INSTALL_FEATURES - it is updated twice in single line, and the second update ignores the result of the first, though it should to depend on it. It is fixed by enabling delayed variables' values expansion (see diff and comments inside batch file).