title: install qt5.11 headles using the script option
body: <p>My goal is to install Qt 5.11.1 on my headless ubuntu server 18.04.1 running jenkins2.</p>
  
  <p>I am currently testing my current script on a virtual box running ubuntu desktop 18.04.
  note that i have not trouble installing or running qt if install using the gui installer manually</p>
  
  <p>When trying to install qt using the installer gui free approach i get the following problem running using the terminal.</p>
  
  <pre><code>./qt-opensource-linux-x64-5.11.1.run --script qt-installer-noninteractive.qs --platform minimal --verbose
  or
  ./qt-unified-linux-x64-3.0.5-online.run --script qt-installer-noninteractive.qs --platform minimal --verbose
  
  ...
  ...
  [9732] Warning: Other components depend on component qt.tools which has child components. This will not work properly.
  [9745] Warning: Component qt.qt5.5111 depends on other components while having child components. This will not work properly.
  </code></pre>
  
  <p>When The process finish a Qt folder is created containg qtcreator but no qt library is included.</p>
  
  <p>qt-installer-noninteractive.qs</p>
  
  <pre><code>function Controller() {
      installer.autoRejectMessageBoxes();
      installer.installationFinished.connect(function() {
          gui.clickButton(buttons.NextButton,3000);
      })
  }
  
  Controller.prototype.WelcomePageCallback = function() {
      gui.clickButton(buttons.NextButton,3000);
  }
  
  Controller.prototype.CredentialsPageCallback = function() {
      gui.clickButton(buttons.NextButton,3000);
  }
  
  Controller.prototype.IntroductionPageCallback = function() {
      gui.clickButton(buttons.NextButton,3000);
  }
  
  Controller.prototype.TargetDirectoryPageCallback = function()
  {
      gui.currentPageWidget().TargetDirectoryLineEdit.setText(installer.value("HomeDir") + "/Qt");
      gui.clickButton(buttons.NextButton,3000);
  }
  
  Controller.prototype.ComponentSelectionPageCallback = function() {
      var widget = gui.currentPageWidget();
  
      widget.deselectAll();
  
  // pretty sure the line below is the problem, but cant find a list over the proper paths to use for linux.
  
      widget.selectComponent("qt.5111.gcc_64");  
      //widget.selectComponent("qt.55.qtquickcontrols");
  
      // widget.deselectComponent("qt.tools.qtcreator");
      // widget.deselectComponent("qt.55.qt3d");
      // widget.deselectComponent("qt.55.qtcanvas3d");
      // widget.deselectComponent("qt.55.qtlocation");
      // widget.deselectComponent("qt.55.qtquick1");
      // widget.deselectComponent("qt.55.qtscript");
      // widget.deselectComponent("qt.55.qtwebengine");
      // widget.deselectComponent("qt.extras");
      // widget.deselectComponent("qt.tools.doc");
      // widget.deselectComponent("qt.tools.examples");
  
      gui.clickButton(buttons.NextButton,3000);
  }
  
  Controller.prototype.LicenseAgreementPageCallback = function() {
      gui.currentPageWidget().AcceptLicenseRadioButton.setChecked(true);
      gui.clickButton(buttons.NextButton,10000);
  }
  
  Controller.prototype.StartMenuDirectoryPageCallback = function() {
      gui.clickButton(buttons.NextButton,3000);
  }
  
  Controller.prototype.ReadyForInstallationPageCallback = function()
  {
      gui.clickButton(buttons.NextButton,3000);
  }
  
  Controller.prototype.FinishedPageCallback = function() {
  var checkBoxForm = gui.currentPageWidget().LaunchQtCreatorCheckBoxForm
  if (checkBoxForm &amp;&amp; checkBoxForm.launchQtCreatorCheckBox) {
      checkBoxForm.launchQtCreatorCheckBox.checked = false;
  }
      gui.clickButton(buttons.FinishButton);
  }
  </code></pre>
  
  <p>I have used the following resources but without any luck.</p>
  
  <p><a href="https://stackoverflow.com/questions/25105269/silent-install-qt-run-installer-on-ubuntu-server">stack overflow: silent Qt install</a></p>
  
  <p><a href="http://doc.qt.io/qtinstallerframework/noninteractive.html" rel="noreferrer">Qt installer no interactive installer documentation</a></p>
  
  <p><a href="https://stackoverflow.com/questions/35735724/silent-install-qt55-enterprise-on-windows">stack overflow, Silent install for Windows listing a set of commands</a></p>