summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Wolff <oliver.wolff@qt.io>2017-12-18 12:10:22 +0100
committerLiang Qi <liang.qi@qt.io>2018-04-18 18:16:28 +0000
commita37f4a2485d30710d743cecdaf1775b43792ed83 (patch)
tree9087bc1fbe4cc7ca30b53b4b1312879778bbfba1
parent34cf0234b9fa47cedacd2c2408f80b3bbf1c12c1 (diff)
Windows 10: Enable developer modewip/qtsaferenderer/1.0
Developer mode is required by RTA for testing. Change-Id: I4f20fb8d694d5148b7f976c1ef4bb23ff2fb57ba (cherry picked from commit f51fd755b5b1594744b6e68f630dd4d6c8167b6b) Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
-rw-r--r--coin/provisioning/common/windows/win10-enable-devmode.ps15
-rw-r--r--coin/provisioning/qtci-windows-10-x86/30-enable-devmode.ps11
-rw-r--r--coin/provisioning/qtci-windows-10-x86_64/30-enable-devmode.ps11
3 files changed, 7 insertions, 0 deletions
diff --git a/coin/provisioning/common/windows/win10-enable-devmode.ps1 b/coin/provisioning/common/windows/win10-enable-devmode.ps1
new file mode 100644
index 00000000..022adc52
--- /dev/null
+++ b/coin/provisioning/common/windows/win10-enable-devmode.ps1
@@ -0,0 +1,5 @@
+# Turning on developer mode.
+#
+# In order to run auto tests for UWP, we have to enable developer mode on Windows 10 machines.
+# https://docs.microsoft.com/en-us/windows/uwp/get-started/enable-your-device-for-development
+REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock" /V AllowDevelopmentWithoutDevLicense /T REG_DWORD /D 1 /F
diff --git a/coin/provisioning/qtci-windows-10-x86/30-enable-devmode.ps1 b/coin/provisioning/qtci-windows-10-x86/30-enable-devmode.ps1
new file mode 100644
index 00000000..01e6f8b0
--- /dev/null
+++ b/coin/provisioning/qtci-windows-10-x86/30-enable-devmode.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\win10-enable-devmode.ps1"
diff --git a/coin/provisioning/qtci-windows-10-x86_64/30-enable-devmode.ps1 b/coin/provisioning/qtci-windows-10-x86_64/30-enable-devmode.ps1
new file mode 100644
index 00000000..01e6f8b0
--- /dev/null
+++ b/coin/provisioning/qtci-windows-10-x86_64/30-enable-devmode.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\win10-enable-devmode.ps1"