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

QtQuick.Dialogs import statement compatible with Qt5 and Qt6

    XMLWordPrintable

Details

    Description

      The module QtQuick.Dialogs has mutually exclusive valid import statements for Qt5 and Qt6.

      Qt5 only takes module version numbered from 1.0 to 1.3

      Qt6 only takes 6.4 or 6.5 or no version number.

       

      This makes it impossible to have a single import statement function for both Qt5 and Qt6. This quirk is not listed in the documentation nor is any solution provided for writing code compatible with Qt5 and Qt6 that requires use of this module.

       

      This suggestion is to either add an import statement valid for both or to provide a solution in the documentation.

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            kevin.zhang Kevin Zhang
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes