Qt silent installation on Linux server
-
@mrjj,
Hi,if i add the part
var page = gui.pageWidgetByObjectName("ComponentSelectionPage"); var archiveCheckBox = gui.findChild(page, "Archive"); var latestCheckBox = gui.findChild(page, "Latest releases"); var fetchButton = gui.findChild(page, "FetchCategoryButton"); archiveCheckBox.click(); latestCheckBox.click(); fetchButton.click(); // ...
it give error for click() as function doesn't exist
-
@Kallappa
Hmm thats odd. it should work.Do you need a special Qt or jus the newest ?
maybe you can just change the script to do that and ignore the Archive thing.
-
@mrjj
Hi,
yes, i just need Qt5.14.0 or Qt5.14.2 installation on server,
thats it.if any other ways kindly suggest here or the Qt's reference doc if any for command line installation in ubuntu
@Kallappa
sadly there is no commandline install version.We need to change these lines
widget.selectComponent("qt.qt5.5130");
widget.selectComponent("qt.qt5.5130.gcc_64");
but I not sure what names should be for
Qt5.14.0
or if they will be in Archive.Do you use the newest online installer from Qt site ?
It seems to have Qt5.14.0 in front
-
hi
You can try
widget.selectComponent("qt.qt5.14.2");
widget.selectComponent("qt.qt5.14.2.gcc_64");
and see if that works.I hope "Latest releases" is checked by default when running with this script else it wont work as nothing in list then.
-
hi
You can try
widget.selectComponent("qt.qt5.14.2");
widget.selectComponent("qt.qt5.14.2.gcc_64");
and see if that works.I hope "Latest releases" is checked by default when running with this script else it wont work as nothing in list then.
-
yes sure, Thanks, for your time
just now i tried with widget.selectAll(); instead of selecting each one
it works for me on Local system and now i will try on server.thanks again
-
Do yourself a favor and DO NOT USE the offical Qt installers anymore. Use aqt install: https://github.com/miurahr/aqtinstall - Works perfectly on every platform.
-
@Kallappa
Ok, i cross fingers.
You might get a shitload of other stuff but hopefully, that won't matter :) -
@Kallappa
Good to hear :)
So did it install tons of stuff or just a few ?
I wonder what one will get with selectAll :)