From d59f4db68be6ed5bd65bb23310c4d672e3e3ecf3 Mon Sep 17 00:00:00 2001
From: Lukas Holecek <hluk@email.cz>
Date: Sun, 26 Apr 2020 07:19:19 +0200
Subject: [PATCH] Appveyor: Print Qt and windeployqt versions

Signed-off-by: Lukas Holecek <hluk@email.cz>
---
 utils/appveyor/after_build.bat  | 3 ++-
 utils/appveyor/before_build.bat | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/utils/appveyor/after_build.bat b/utils/appveyor/after_build.bat
index cbea4fb59..24f9710c6 100644
--- a/utils/appveyor/after_build.bat
+++ b/utils/appveyor/after_build.bat
@@ -4,7 +4,6 @@ git describe --tags --always HEAD > _git_tag.tmp || goto :error
 set /p AppVersion=<_git_tag.tmp
 del _git_tag.tmp
 
-set QtRoot=%QTDIR%
 set Source=%APPVEYOR_BUILD_FOLDER%
 set Name=copyq-%AppVersion%
 set Destination=%APPVEYOR_BUILD_FOLDER%\%Name%
@@ -29,6 +28,8 @@ xcopy /F "%BuildRoot%\src\*.qm" "%Destination%\translations" || goto :error
 mkdir "%Destination%\plugins"
 xcopy /F "%BuildPlugins%\*.dll" "%Destination%\plugins" || goto :error
 
+%QTDIR%\bin\windeployqt --version
+%QTDIR%\bin\windeployqt --help
 %QTDIR%\bin\windeployqt --release --no-system-d3d-compiler --no-angle --no-opengl-sw "%Executable%" || goto :error
 
 7z a "%Name%.zip" -r "%Destination%" || goto :error
diff --git a/utils/appveyor/before_build.bat b/utils/appveyor/before_build.bat
index 5dfb2335e..8f8b89aef 100644
--- a/utils/appveyor/before_build.bat
+++ b/utils/appveyor/before_build.bat
@@ -1,3 +1,4 @@
 @echo on
 
+%QTDIR%\bin\qmake --version
 cmake -H. -Bbuild -DWITH_TESTS=ON -DCMAKE_BUILD_TYPE=Release -G "%CMAKE_GENERATOR%" -A "%CMAKE_GENERATOR_ARCH%"
-- 
GitLab