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

Failed to generate code for QFlags on hidden (1st order) namespace

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: dev
    • Fix Version/s: None
    • Component/s: PySide, Shiboken
    • Labels:
      None
    • Commits:
      e5413e235d1227b906f5e6a4018a257935cdd570 (pyside/pyside-setup/5.15)

      Description

      The code generated for a QFlag that is inside of a "no" generated namespace does not compile. 

       

      Unit test attached ( 0001-Unit-test-for-QFlags-on-hidden-namespace.patch ).

      error: ‘Sbktestbinding_FlagsNamespace_Option_number_slots’ was not declared in this scope
        523 | LAGS_FLAGSNAMESPACE_OPTION_IDX] = PySide::QFlags::create("1:testbinding.Options", Sbktestbinding_FlagsNamespace_Option_number_slots);
      

        Attachments

          Issue Links

          For Gerrit Dashboard: PYSIDE-1326
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              kleint Friedemann Kleint
              Reporter:
              renatofilho renato araujo oliveira filho
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes