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

qmake2cmake doesn't convert the variable definition

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2: Important P2: Important
    • None
    • 6.4.2
    • None
    • Ubuntu 22.0.4
    • Linux/Wayland
    • 38aa9205d (dev), 28f9e0c8e (dev)

      I executed 

      qmake2cmake ./ghQmlDemo4115.pro --min-qt-version 6.4

      and CMakeLists.txt was generated.

      However, when I compiled the app, it said it couldn't find some headers.

      I checked the CMakeLists.txt and found out that the variable defined and used for path in .pro was not defined in CMakeLists.txt and therefore not used in the path, which leads to the wrong include path in CMakeLists.txt and the app didn't build.

       

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

            jbornema Joerg Bornemann
            mikio_hirai Mikio Hirai
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes