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

Showing product images fails silently when image type is jpg

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • 4.3.0
    • 4.2.0
    • General
    • macOS, Windows
    • Qt Installer Sprint 48

    Description

      When I configured in config.xml images which were in .jpg format

          <ProductImages>
              <Image>product-image-1.jpg</Image>
              <Image>product-image-2.jpg</Image>
              <Image>product-image-3.jpg</Image>
          </ProductImages>
      

      They did not appeared during installation on the PerformInstallationPage as I expected them to. There was no error anywhere to be found (the binary creator has succeed without issues and the installer in verbose mode has not reported any error). It took several hours of guessing what could be the issue, until I changed their type to .png and it started working.

      The documentation does not explicitly mentions allowed image types: https://doc.qt.io/qtinstallerframework/ifw-globalconfig.html (so I had no way to know it since Qt normally allows .jpg type)

      I do not have problem that the QTIFW does not supports .jpg extension (if that is the intended behavior), but it would be nice if the issue appeared somewhere as a warning and was not silently ignored. The expectation is that when there is invalid input, you let user know.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            arttu.tarkiainen Arttu Tarkiainen
            rastislav_kamenicky Rastislav Kamenicky
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes