Qt silent, unattended install
-
Hi
I'm having trouble performing an "unattended" silent install of Qt on ubuntu.
This is the command I'm using:
./qt-unified-linux-x64-4.0.1-online.run --platform minimal --accept-licenses --default-answer --verbose install
However, the
--accept-licenses
option isn't working as I would expect. I still get to the following prompt which expects manual input:Please read and accept the Open Source Usage Obligations below. Reading the link below helps you choosing the right license for your project. Choosing the right license for your projects: https://www.qt.io/licensing Buy Qt: https://www.qt.io/buy-product (Lesser) GNU General Public License v3 obligations: * You must not combine code developed with a commercial Qt license with code developed with an open source license of Qt in one project or product * Provide a license copy & explicitly acknowledge Qt use * Make a Qt source code copy available for customers * Accept that Qt source code modifications are non-proprietary * Make consumer devices, which allow users to access to install and run modified versions of the SW inside them * Accept Digital Rights Management terms, please see the GPL FAQ: http://www.gnu.org/licenses/gpl-faq.html#DRMProhibited * Take special consideration when attempting to enforce software patents: https://www.gnu.org/licenses/gpl-faq.html#v3PatentRetaliation * For further information, please refer to GPLv3: https://www.gnu.org/licenses/gpl-3.0.html and LGPLv3: https://www.gnu.org/licenses/lgpl-3.0.en.html [2649] Accept|Reject
Is there a way I'm missing to automatically pass this prompt (and subsequent prompts)?
-
@samfrances said in Qt silent, unattended install:
--accept-licenses
Correctly written? If so I would suggest asking the Qt support - we can't help here since we don't have anything to do with TQtC.
-
Hi
Im not sure it allows silent installs out of the box.
Some one tried here
https://forum.qt.io/topic/117066/qt-silent-installation-on-linux-server
Please note the
https://github.com/miurahr/aqtinstall -
I can also vouch for the ease of using aqt on linux (and other platforms, too).
Pretty sure this qualifies as an unofficial/unsupported method, but it works: