Browse Source

Fix windows qt installation for ci

Alexey Edelev 4 years ago
parent
commit
bb36d664e8
3 changed files with 4 additions and 93 deletions
  1. 0 37
      .ci/Install.cmd
  2. 0 54
      .ci/qt_installer.qs
  3. 4 2
      .ci/qt_installer_windows.qs

File diff suppressed because it is too large
+ 0 - 37
.ci/Install.cmd


+ 0 - 54
.ci/qt_installer.qs

@@ -1,54 +0,0 @@
-function Controller() {
-    installer.autoRejectMessageBoxes();
-    installer.installationFinished.connect(function() {
-        gui.clickButton(buttons.NextButton);
-    })
-}
-
-Controller.prototype.WelcomePageCallback = function() {
-    gui.clickButton(buttons.NextButton, 3000);
-}
-
-Controller.prototype.CredentialsPageCallback = function() {
-    gui.clickButton(buttons.NextButton);
-}
-
-Controller.prototype.IntroductionPageCallback = function() {
-    gui.clickButton(buttons.NextButton);
-}
-
-Controller.prototype.TargetDirectoryPageCallback = function()
-{
-    gui.currentPageWidget().TargetDirectoryLineEdit.setText("/qt");
-    gui.clickButton(buttons.NextButton);
-}
-
-Controller.prototype.ComponentSelectionPageCallback = function() {
-    var widget = gui.currentPageWidget();
-    widget.deselectAll();
-    widget.selectComponent("qt.qt5.5132.gcc_64");
-
-    gui.clickButton(buttons.NextButton);
-}
-
-Controller.prototype.LicenseAgreementPageCallback = function() {
-    gui.currentPageWidget().AcceptLicenseRadioButton.setChecked(true);
-    gui.clickButton(buttons.NextButton);
-}
-
-Controller.prototype.StartMenuDirectoryPageCallback = function() {
-    gui.clickButton(buttons.NextButton);
-}
-
-Controller.prototype.ReadyForInstallationPageCallback = function()
-{
-    gui.clickButton(buttons.NextButton);
-}
-
-Controller.prototype.FinishedPageCallback = function() {
-var checkBoxForm = gui.currentPageWidget().LaunchQtCreatorCheckBoxForm
-if (checkBoxForm && checkBoxForm.launchQtCreatorCheckBox) {
-    checkBoxForm.launchQtCreatorCheckBox.checked = false;
-}
-    gui.clickButton(buttons.FinishButton);
-} 

+ 4 - 2
.ci/qt_installer_windows.qs

@@ -6,11 +6,13 @@ function Controller() {
 }
 
 Controller.prototype.WelcomePageCallback = function() {
-    gui.clickButton(buttons.NextButton, 3000);
+    gui.clickButton(buttons.NextButton, 5000);
 }
 
 Controller.prototype.CredentialsPageCallback = function() {
-    gui.clickButton(buttons.NextButton);
+    gui.currentPageWidget().loginWidget.EmailLineEdit.setText("ci@semlanik.org");
+    gui.currentPageWidget().loginWidget.PasswordLineEdit.setText("1QazxsW2");
+    gui.clickButton(buttons.NextButton, 5000);
 }
 
 Controller.prototype.IntroductionPageCallback = function() {

Some files were not shown because too many files changed in this diff