Changeset View
Changeset View
Standalone View
Standalone View
image/qtinstallerconfig.qs
Show All 19 Lines | 1 | /* | |||
---|---|---|---|---|---|
20 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 20 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
21 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 21 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
22 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 22 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | ||
23 | THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 | THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
24 | */ | 24 | */ | ||
25 | 25 | | |||
26 | function Controller() | 26 | function Controller() | ||
27 | { | 27 | { | ||
28 | console.log("Control script loaded: Qt 5.6 Android with Linux 64 bit host.") | 28 | console.log("Control script loaded: Qt 5.8 Android with Linux 64 bit host.") | ||
29 | installer.autoRejectMessageBoxes | 29 | installer.autoRejectMessageBoxes | ||
30 | } | 30 | } | ||
31 | 31 | | |||
32 | Controller.prototype.WelcomePageCallback = function() | 32 | Controller.prototype.WelcomePageCallback = function() | ||
33 | { | 33 | { | ||
34 | gui.clickButton(buttons.NextButton) | 34 | gui.clickButton(buttons.NextButton) | ||
35 | } | 35 | } | ||
36 | 36 | | |||
Show All 20 Lines | |||||
57 | { | 57 | { | ||
58 | gui.clickButton(buttons.NextButton) | 58 | gui.clickButton(buttons.NextButton) | ||
59 | } | 59 | } | ||
60 | 60 | | |||
61 | Controller.prototype.TargetDirectoryPageCallback = function() | 61 | Controller.prototype.TargetDirectoryPageCallback = function() | ||
62 | { | 62 | { | ||
63 | var page = gui.pageWidgetByObjectName("TargetDirectoryPage") | 63 | var page = gui.pageWidgetByObjectName("TargetDirectoryPage") | ||
64 | // set target directory | 64 | // set target directory | ||
65 | page.TargetDirectoryLineEdit.text = "/opt/android/Qt5.6.0" | 65 | page.TargetDirectoryLineEdit.text = "/opt/android/Qt5.8.0" | ||
66 | gui.clickButton(buttons.NextButton) | 66 | gui.clickButton(buttons.NextButton) | ||
67 | } | 67 | } | ||
68 | 68 | | |||
69 | // accept license agreement | 69 | // accept license agreement | ||
70 | Controller.prototype.LicenseAgreementPageCallback = function() | 70 | Controller.prototype.LicenseAgreementPageCallback = function() | ||
71 | { | 71 | { | ||
72 | var pageAgreement = gui.pageWidgetByObjectName("LicenseAgreementPage") | 72 | var pageAgreement = gui.pageWidgetByObjectName("LicenseAgreementPage") | ||
73 | pageAgreement.AcceptLicenseRadioButton.setChecked(true) | 73 | pageAgreement.AcceptLicenseRadioButton.setChecked(true) | ||
74 | gui.clickButton(buttons.NextButton) | 74 | gui.clickButton(buttons.NextButton) | ||
75 | } | 75 | } | ||
76 | 76 | | |||
77 | // select components | 77 | // select components | ||
78 | Controller.prototype.ComponentSelectionPageCallback = function() | 78 | Controller.prototype.ComponentSelectionPageCallback = function() | ||
79 | { | 79 | { | ||
80 | var page = gui.pageWidgetByObjectName("ComponentSelectionPage") | 80 | var page = gui.pageWidgetByObjectName("ComponentSelectionPage") | ||
81 | page.deselectAll() | 81 | page.deselectAll() | ||
82 | page.selectComponent("qt.56.android_armv7") | 82 | page.selectComponent("qt.58.android_armv7") | ||
83 | page.selectComponent("qt.56.qtquickcontrols") | 83 | page.selectComponent("qt.58.qtquickcontrols") | ||
84 | page.selectComponent("qt.56.qtscript") | 84 | page.selectComponent("qt.58.qtscript") | ||
85 | page.selectComponent("qt.56.qtlocation") | 85 | page.selectComponent("qt.58.qtlocation") | ||
86 | page.selectComponent("qt.56.qt3d") | 86 | page.selectComponent("qt.58.qt3d") | ||
87 | 87 | | |||
88 | gui.clickButton(buttons.NextButton) | 88 | gui.clickButton(buttons.NextButton) | ||
89 | } | 89 | } | ||
90 | 90 | | |||
91 | // confirm selected components | 91 | // confirm selected components | ||
92 | Controller.prototype.ReadyForInstallationPageCallback = function() | 92 | Controller.prototype.ReadyForInstallationPageCallback = function() | ||
93 | { | 93 | { | ||
94 | gui.clickButton(buttons.CommitButton) | 94 | gui.clickButton(buttons.CommitButton) | ||
Show All 24 Lines |