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

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • None
    • PySide, Shiboken
    • None
    • e5413e235d1227b906f5e6a4018a257935cdd570 (pyside/pyside-setup/5.15)

      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);
      

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes