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

qmake2cmake generates QT6 style qt_add_resources even with min QT version set to 5.15

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • None
    • 5.15.2
    • Build tools: Other
    • None
    • 96ad382f5 (dev)

    Description

      I am using qmake2cmake to convert .PRO files to CMake files with the option --min-qt-version 5.15
      In the generated CMakeLists.txt I find this style of qt_add_resources which is not supported in versions of QT <6

      qt_add_resources(simple "qtpropertybrowser"
      PREFIX
      "/qt-project.org/qtpropertybrowser"
      BASE
      "../../src"
      FILES
      ${qtpropertybrowser_resource_files}

      Attachments

        Issue Links

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

          Activity

            People

              jbornema Joerg Bornemann
              acu Andrew Cunningham
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes