mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 13:10:19 +00:00
bb895f1896
The main reason for upgrading of the Qt version is the hunt for a broken BT/BLE stack, preventing downloads from BT/BLE enabled DCs, in relation to arm64 architecture builds. (And the absolute need for an arm64 build in relation to the publication of the Android app in Googles Play store). In addition, Qt 5.12.4 starts supporting OpenSSL 1.1.1c, and trying to use our current OpenSSL 1.0 series is highly discouraged by Qt (and OpenSSL itself). So, upgrade both in unison. But ... be careful bisecting issues on this commit, as it does break our build. That will be fixed in the next commit. This fixes the BT/BLE download for arm64! Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
61 lines
2 KiB
Text
61 lines
2 KiB
Text
// http://stackoverflow.com/a/34032216/78204
|
|
|
|
function Controller() {
|
|
installer.autoRejectMessageBoxes();
|
|
installer.setMessageBoxAutomaticAnswer("OverwriteTargetDirectory", QMessageBox.Yes);
|
|
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.value("HomeDir") + "/Qt");
|
|
gui.currentPageWidget().TargetDirectoryLineEdit.setText(installer.value("InstallerDirPath") + "/Qt");
|
|
//gui.currentPageWidget().TargetDirectoryLineEdit.setText("/scratch/Qt");
|
|
gui.clickButton(buttons.NextButton);
|
|
}
|
|
|
|
Controller.prototype.ComponentSelectionPageCallback = function() {
|
|
var widget = gui.currentPageWidget();
|
|
|
|
widget.deselectAll();
|
|
widget.selectComponent('qt.qt5.5124.android_armv7');
|
|
widget.selectComponent('qt.qt5.5124.android_arm64_v8a');
|
|
|
|
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);
|
|
}
|