Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-694

Wrong QtCore.QLibraryInfo.PrefixPath and all other related paths

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.9, 5.11.0, dev
    • Fix Version/s: 5.11.1
    • Component/s: PySide
    • Labels:
    • Environment:
      macOS 10.11, 10.12, and 10.13
      Python 2.7.15
    • Commits:
      493d8e821b2d8f8a9f14f4f5f48671887a9eef84

      Description

      Using pre-release wheels downloaded from download.qt.io, PySide2 provides incorrect values for QtCore.QLibraryInfo.PrefixPath and for all the other paths (HeadersPath, PluginsPath, etc.) there are presumably derived from it.

      Steps to reproduce:

      from PySide2 import QtCore
      print QtCore.QLibraryInfo.location(QtCore.QLibraryInfo.PrefixPath)
      

      Result

      :
      /Users/qt/work/install
      

      This path does not reflect the actual installation on my system and is probably retained from the wheel creation platform.

        Attachments

          Issue Links

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

            Activity

              People

              • Assignee:
                crmaurei Cristian Maureira-Fredes
                Reporter:
                alby128 Alberto Sottile
              • Votes:
                3 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes