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

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

      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}

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes