Uploaded image for project: 'Qt Installer Framework'
  1. Qt Installer Framework
  2. QTIFW-633

Behavior change: installationRequested() for virtual component returns false even if component is installed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 2.0.0
    • 2.0.0
    • General
    • None
    • 986bb1d89785ad52d791db51199aa31b465521a3

    Description

      The b2qt install scripts contain a virtual component "qt.embedded.b2qt.emulator" that - among other things - should check whether VirtualBox is installed. However, with 2.0 this check is not executed even more ...

      The core logic of the check is as follows:

      function Component()
      {    
           installer.currentPageChanged.connect(this, Component.prototype.reactOnPageChange);
      
      Component.prototype.reactOnPageChange = function(value)
      {
        if (QInstaller.ReadyForInstallation == value) {
          if (component.installationRequested() && !vboxManagePath()) {
            QMessageBox.warning("VirtualBox not installed", "VirtualBox not installed", "VirtualBox was not found on your computer. It is needed to install the Emulator of this SDK. Install VirtualBox first or deselect all Emulator components.");
          }
        }
      }
      

      THat is, the check should only be executed after the user has selected all components. However, component.installationRequested() always returns false, even though the component is selected due to a dependency.

      Attachments

        Activity

          People

            kkohne Kai Köhne
            kkohne Kai Köhne
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: