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

Qt version check in *.pro file does not work correctly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 4.8.4
    • 4.8.3
    • Build tools: qmake
    • None
    • Windows XP 32-bit SP3 Qt 4.8.3 libraries compiled from source and using MinGW.

    Description

      When you put the following code in a *.pro file, Qmake will exit with an error:

      !contains(QT_MAJOR_VERSION, 4) {
      error("you are using an old version of Qt")
      }

      On Linux with Qt 4.8.3 libs compiled from source, it works fine.
      On windows with Qt 4.8.2 libs compiled form source (and the same MinGW compiler), it works fine.

      Attachments

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

        Activity

          People

            buddenha Oswald Buddenhagen
            trino trino
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes