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

qmake could not resolve Info.plist, sometimes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • None
    • 5.2.0 RC1
    • Build tools: qmake
    • None
    • Mac OS X 10.9, macx-clang

    Description

      When qmake generates Makefile, it sometimes complains:
      "WARNING: Could not resolve Info.plist: '../../../lib/qt-5.2/5.2.0-rc1/clang_64/mkspecs/macx-clang/Info.plist.app'. Check if QMAKE_INFO_PLIST points to a valid file."
      (The ../../../lib/qt-5.2/5.2.0-rc1/clang_64/mkspecs/macx-clang/Info.plist.app does exist on my machine)

      While, with another almost identical project (with different folder name), which does not complain this warning. This error caused the Info.plist not copied to the final bundle, thus the compiled application would show up as non-hires in Retina Macbook Pro.

      I looked around a bit, and found that when it's complaining, the Makefiles generated are using relative paths for include/mkspecs; comparing to when it's not complaining, the Makefiles are using absolute paths.

      It looks like a weird behavior to me. Lemme know what further info I can provide.

      Attachments

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

        Activity

          People

            vestbo Tor Arne Vestbø
            azurvii Vincent
            Votes:
            6 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes