diff options
author | 2019-08-31 11:51:36 -0700 | |
---|---|---|
committer | 2019-09-05 17:54:09 -0700 | |
commit | 373415bb52c50316f07f3f95a8c736d8ab94b425 (patch) | |
tree | 623c82af642e2e66cbad7a851e9a0c5ad22849c7 /scripts/docker/trusty-qt512/qtifwsilent.qs | |
parent | 8401658af2d48aabd09ec57309fcdb956fb0aa54 (diff) | |
download | subsurface-373415bb52c50316f07f3f95a8c736d8ab94b425.tar.gz |
build-system: add Dockerfile for Qt 5.12 on Trusty
We'll use this to create a better AppImage on Travis.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'scripts/docker/trusty-qt512/qtifwsilent.qs')
-rw-r--r-- | scripts/docker/trusty-qt512/qtifwsilent.qs | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/scripts/docker/trusty-qt512/qtifwsilent.qs b/scripts/docker/trusty-qt512/qtifwsilent.qs new file mode 100644 index 000000000..e9d5976ca --- /dev/null +++ b/scripts/docker/trusty-qt512/qtifwsilent.qs @@ -0,0 +1,51 @@ +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(installer.environmentVariable("QT_INSTALL_DIR")); + gui.clickButton(buttons.NextButton); +} + +Controller.prototype.ComponentSelectionPageCallback = function() { + var widget = gui.currentPageWidget(); + widget.deselectAll(); + widget.selectComponent("qt.qt5.5124.gcc_64"); + widget.selectComponent("qt.qt5.5124.qtscript"); + 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); +} |