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

Wrong QtCore.QLibraryInfo.PrefixPath and all other related paths

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • 5.11.1
    • 5.9, 5.11.0
    • PySide
    • macOS 10.11, 10.12, and 10.13
      Python 2.7.15
    • 493d8e821b2d8f8a9f14f4f5f48671887a9eef84

      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.

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

            crmaurei Cristian Maureira-Fredes
            alby128 Alberto Sottile
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes