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

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • None
    • None
    • PySide, Shiboken
    • None
    • 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

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

          Activity

            People

              kleint Friedemann Kleint
              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