Added qt scripts for noninteractive installs.
This commit is contained in:
		
							
								
								
									
										53
									
								
								buildscripts/qt-noninteractive.qs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										53
									
								
								buildscripts/qt-noninteractive.qs
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,53 @@
 | 
				
			|||||||
 | 
					function Controller() {
 | 
				
			||||||
 | 
					    installer.autoRejectMessageBoxes();
 | 
				
			||||||
 | 
					    installer.installationFinished.connect(function() {
 | 
				
			||||||
 | 
					        gui.clickButton(buttons.NextButton);
 | 
				
			||||||
 | 
					    })
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Controller.prototype.WelcomePageCallback = function() {
 | 
				
			||||||
 | 
					    gui.clickButton(buttons.NextButton);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Controller.prototype.CredentialsPageCallback = function() {
 | 
				
			||||||
 | 
					    gui.clickButton(buttons.NextButton);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Controller.prototype.IntroductionPageCallback = function() {
 | 
				
			||||||
 | 
					    gui.clickButton(buttons.NextButton);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Controller.prototype.TargetDirectoryPageCallback = function()
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					    gui.clickButton(buttons.NextButton);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Controller.prototype.ComponentSelectionPageCallback = function() {
 | 
				
			||||||
 | 
					    var widget = gui.currentPageWidget();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    widget.deselectAll();
 | 
				
			||||||
 | 
					    widget.selectComponent("qt.57.clang_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);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										55
									
								
								buildscripts/qt-noninteractive32.qs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										55
									
								
								buildscripts/qt-noninteractive32.qs
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,55 @@
 | 
				
			|||||||
 | 
					function Controller() {
 | 
				
			||||||
 | 
					    installer.autoRejectMessageBoxes();
 | 
				
			||||||
 | 
					    installer.installationFinished.connect(function() {
 | 
				
			||||||
 | 
					        gui.clickButton(buttons.NextButton);
 | 
				
			||||||
 | 
					    })
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Controller.prototype.WelcomePageCallback = function() {
 | 
				
			||||||
 | 
					    gui.clickButton(buttons.NextButton);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Controller.prototype.CredentialsPageCallback = function() {
 | 
				
			||||||
 | 
					    gui.clickButton(buttons.NextButton);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Controller.prototype.IntroductionPageCallback = function() {
 | 
				
			||||||
 | 
					    gui.clickButton(buttons.NextButton);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Controller.prototype.TargetDirectoryPageCallback = function()
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					    gui.currentPageWidget().TargetDirectoryLineEdit.setText("C:/Qt/Qt5.7.0_32");
 | 
				
			||||||
 | 
					    gui.clickButton(buttons.NextButton);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Controller.prototype.ComponentSelectionPageCallback = function() {
 | 
				
			||||||
 | 
					    var widget = gui.currentPageWidget();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    widget.deselectAll();
 | 
				
			||||||
 | 
					    widget.selectComponent("qt.57.win32_msvc2015");
 | 
				
			||||||
 | 
					    gui.clickButton(buttons.NextButton);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Controller.prototype.LicenseAgreementPageCallback = function() {
 | 
				
			||||||
 | 
					    gui.currentPageWidget().AcceptLicenseRadioButton.setChecked(true);
 | 
				
			||||||
 | 
					    gui.clickButton(buttons.NextButton);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Controller.prototype.StartMenuDirectoryPageCallback = function() {
 | 
				
			||||||
 | 
					    gui.currentPageWidget().StartMenuPathLineEdit.setText("Qt5.7.0_32");
 | 
				
			||||||
 | 
					    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);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										55
									
								
								buildscripts/qt-noninteractive64.qs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										55
									
								
								buildscripts/qt-noninteractive64.qs
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,55 @@
 | 
				
			|||||||
 | 
					function Controller() {
 | 
				
			||||||
 | 
					    installer.autoRejectMessageBoxes();
 | 
				
			||||||
 | 
					    installer.installationFinished.connect(function() {
 | 
				
			||||||
 | 
					        gui.clickButton(buttons.NextButton);
 | 
				
			||||||
 | 
					    })
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Controller.prototype.WelcomePageCallback = function() {
 | 
				
			||||||
 | 
					    gui.clickButton(buttons.NextButton);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Controller.prototype.CredentialsPageCallback = function() {
 | 
				
			||||||
 | 
					    gui.clickButton(buttons.NextButton);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Controller.prototype.IntroductionPageCallback = function() {
 | 
				
			||||||
 | 
					    gui.clickButton(buttons.NextButton);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Controller.prototype.TargetDirectoryPageCallback = function()
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					    gui.currentPageWidget().TargetDirectoryLineEdit.setText("C:/Qt/Qt5.7.0_64");
 | 
				
			||||||
 | 
					    gui.clickButton(buttons.NextButton);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Controller.prototype.ComponentSelectionPageCallback = function() {
 | 
				
			||||||
 | 
					    var widget = gui.currentPageWidget();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    widget.deselectAll();
 | 
				
			||||||
 | 
					    widget.selectComponent("qt.57.win64_msvc2015_64");
 | 
				
			||||||
 | 
					    gui.clickButton(buttons.NextButton);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Controller.prototype.LicenseAgreementPageCallback = function() {
 | 
				
			||||||
 | 
					    gui.currentPageWidget().AcceptLicenseRadioButton.setChecked(true);
 | 
				
			||||||
 | 
					    gui.clickButton(buttons.NextButton);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Controller.prototype.StartMenuDirectoryPageCallback = function() {
 | 
				
			||||||
 | 
					    gui.currentPageWidget().StartMenuPathLineEdit.setText("Qt5.7.0_64");
 | 
				
			||||||
 | 
					    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);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
		Reference in New Issue
	
	Block a user