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

qmake2cmake doesn't convert the variable definition

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.4.2
    • None
    • Ubuntu 22.0.4
    • Linux/Wayland
    • 38aa9205d (dev)

    Description

      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.

       

      Attachments

        Issue Links

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

          Activity

            People

              mrmsdbdl Amir Masoud Abdol
              mikio_hirai Mikio Hirai
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes