Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-131807

qmlls options incompatibility from 6.8 to 6.9

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.8.2, 6.9.0 FF
    • 6.8, 6.9
    • QML: Tooling
    • None
    • 236954364 (dev), 1c4c53730 (6.8)

    Description

      The p (documents path) parameter of qmlls does not take a value on 6.8. It's being treated as a flag when QCommandLineOption ctor has an empty default value.

      From the other hand, this issue has been fixed on 6.9 with:

      https://codereview.qt-project.org/c/qt/qtdeclarative/+/603035

      by adding a valueName and also changing p to d as a more meaningful letter.

      To keep 6.9 version compatible with 6.8 and also keep them source compatible we can:

      1. Fix the problem on 6.8 as it's an LTS ( by adding a valueName to QCLO but keeping the option as p)
      2. Add "p" to the same QCLO as "d" on 6.9, making it backward compatible with 6.8. (https://doc.qt.io/qt-6/qcommandlineoption.html#QCommandLineOption-4)

       

      Attachments

        For Gerrit Dashboard: QTBUG-131807
        # Subject Branch Project Status CR V

        Activity

          People

            semih.yavuz Semih Yavuz
            soarmin Soheil Armin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes