Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-25337

Display SDK version mismatch in Options Dialog

XMLWordPrintable

      With QTCREATORBUG-25258 merged, when there are kit description files corresponding to unsupported versions of Qt for MCUs (that is <1.3), an error message is displayed. Example:

      Qt for MCUs: Skipped kits/armgcc-nxp-mimxrt1050-evk-baremetal.json - Unsupported version "1.1" (should be >= 1.3)

       

      If no valid description files were found, the dialog displays an error message:

      No valid kit descriptions found at $$$
      

      where $$$ is the path of kits directory of the Qt for MCUs SDK.

       
      The task is to introduce a new check:

      • The highest kit version found is assumed to be the version of the SDK (the usual case should be that all kit files correspond to the same version anyway).
      • If the version is not high enough, the error message should indicate which version of QtCreator supports that version of the SDK.
      • Said error message should appear in the logs when performing automatic kit creation, as well as in the dialog.
      Qt for MCUs version XX not supported. Please use Qt Creator YY, or upgrade to Qt for MCUs version ZZ or later.
      

      Where ZZ is the minimum supported version (1.3 as of now), XX is the detected version of the SDK and YY is the version of Qt Creator that supports XX, according to this picture:

      • Additionally, the title of the dialog should not mention the version anymore (because it looks like it's the current version of the SDK, instead of the minimum supported version).  Replace it with "Qt for MCUs SDK"
      • The target selection section should also be titled "Targets supported by the Qt for MCUs SDK", without explicit mention of the minimum supported version. If the user is seeing that section, it means that valid-version kits have already been detected anyway.

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

            christiaan.janssen Christiaan Janssen
            christiaan.janssen Christiaan Janssen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes