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

pro2cmake handles conditions differently than qmake

    XMLWordPrintable

Details

    Description

      While qmake does not know operator precedence and evaluates conditions from left to right, these conditions are put in parentheses in the created CMakeLists.txt.

      An example would be "true|false:false". In qmake this evaluates to false, while the resulting cmake code would be (something like): extend_target(... CONDITION true OR (false AND false) which evaluates to true.

      Attachments

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

        Activity

          People

            jbornema Joerg Bornemann
            owolff Oliver Wolff
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes