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

qmake2cmake: do not inline .pri files

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.4.0 Beta4
    • Build tools: Other
    • None
    • All

    Description

      From a comment at https://www.qt.io/blog/introducing-qmake2cmake

      I have a large qmake based project which has a number (~50) of modules defined in .pri files which are included in one or more of the dozen or so .pro files in the overall project... qmake2cmake_all doesn't keep the contents of these .pri files modular but rather inlines them with their respective .pro files which makes maintenance quite a bit harder (change in the module that used to be defined in a single .pri file may now appear in 8 to 10 CMakeLists.txt files).

      Any chance of an option to keep the .pri files represented in a modular fashion in the generated CMakeLists.txt files?

      Attachments

        Activity

          People

            qtbuildsystem Qt Build System Team
            jbornema Joerg Bornemann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: