Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt Installer non-interactive generic deselectComponent
Forum Updated to NodeBB v4.3 + New Features

Qt Installer non-interactive generic deselectComponent

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
1 Posts 1 Posters 424 Views
  • 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.
  • G Offline
    G Offline
    Gluttony
    wrote on 6 Mar 2019, 15:23 last edited by
    #1

    Hi,

    I'm writting a bash script to install Qt without any user interaction for a given version (that I store in the QT_INSTALL_VERSION variable), basically, it runs /path/to/qt-opensource-linux-x64-${QT_INSTALL_VERSION}.run --script qt-installer-script.qs --platform minimal --verbose (for example /path/to/qt-opensource-linux-x64-5.12.1.run --script qt-installer-script.qs --platform minimal --verbose), this works well, except for a small issue, I can't get qt-installer-script.qs to actually be generic, indeed, I want to deselect some components, that, unfortunately, are version dependent, for example to remove Android ARMv7 I need to call deselectComponent("qt.qt5.5121.android_armv7").
    Is there a more generic name for the component, for example I would expect simply calling it on "qt.android_armv7" (I know I can do some tricks with QT_INSTALL_VERSION variable to build component name but I would like to have it completely generic).

    Also, is there a way to find all possible component names other that installing all then looking at /path/to/QtInstall/components.xml and search for what we want to remove (I couldn't find anything in https://doc.qt.io/qtinstallerframework/noninteractive.html)?

    Thanks

    1 Reply Last reply
    0

    1/1

    6 Mar 2019, 15:23

    • Login

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