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

Allow skipping/ignoring installed Qt modules from setup.py

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Incomplete
    • P4: Low
    • 5.6, 5.9, 6.0
    • 5.6, 5.9
    • PySide

    Description

      I mentioned this first on PYSIDE-502 which I didn't realise was fixed already (sorry about that!).

      In summary I have an application with an embedded python interpreter and I want to use PySide2 to expose only QtCore, QtGui and QtWidgets to the scripts to allow them to extend the UI.

      However currently PySide2 always compiles in support for every module that it finds, and this means on windows I end up having to distribute more Qt modules that I don't use or want like QtQml and QtNetwork, because support has been compiled so there's a dependency on them.

      Everything works fine if I pretend the other modules aren't found by hacking the CMakeLists.txt, but it would be nice to have the ability to exclude modules I don't want from the build process.

      Attachments

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

        Activity

          People

            ctismer Christian Tismer
            baldurk Baldur Karlsson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes