Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt silent, unattended install
Forum Updated to NodeBB v4.3 + New Features

Qt silent, unattended install

Scheduled Pinned Locked Moved Unsolved General and Desktop
installerubuntu
4 Posts 4 Posters 3.3k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    samfrances
    wrote on 29 Dec 2020, 16:39 last edited by samfrances
    #1

    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)?

    1 Reply Last reply
    0
    • C Offline
      C Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on 29 Dec 2020, 16:46 last edited by
      #2

      @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.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mrjj
        Lifetime Qt Champion
        wrote on 29 Dec 2020, 16:49 last edited by
        #3

        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

        1 Reply Last reply
        1
        • K Offline
          K Offline
          KH-219Design
          wrote on 29 Dec 2020, 19:00 last edited by
          #4

          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:

          https://github.com/219-design/qt-qml-project-template-with-ci/blob/cb92e69837f9a0dd4155c9462610c60f31bc5e7c/tools/ci/get_qt_libs.sh#L20

          www.219design.com
          Software | Electrical | Mechanical | Product Design

          1 Reply Last reply
          1

          1/4

          29 Dec 2020, 16:39

          • Login

          • Login or register to search.
          1 out of 4
          • First post
            1/4
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved