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

pyside option to enable/disable pyi files generation

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 6.3.2
    • Build System
    • None
    • All

    Description

      because pyi file generation may fail on some platforms

      (see https://bugreports.qt.io/browse/PYSIDE-1193, or on conda/windows)

      I propose to add an option to enable/disable pyi files generation to opt-out on the problematic platforms

       

      if (PYSIDE_IS_CROSS_BUILD) 
        option (PYSIDE_GENERATE_PYI "generate pyi files" OFF) 
      else () 
        option (PYSIDE_GENERATE_PYI "generate pyi files" ON) 
      endif () 
      if(PYSIDE_GENERATE_PYI) 
           ...

       

      here is a proposition of patch, which keeps the current default

       

      cc ctismer

       

       

      Attachments

        Issue Links

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

          Activity

            People

              crmaurei Cristian Maureira-Fredes
              jschueller Julien Schueller
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes