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

qmake2cmake doesn't convert the variable definition

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • 6.4.2
    • None
    • Ubuntu 22.0.4
    • Linux/Wayland

    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

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes