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

Issue in wrapping a minimal custom QMainWindow

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.6
    • Fix Version/s: 5.9
    • Component/s: Shiboken
    • Labels:
      None
    • Environment:
      Windows 10 x64, Anaconda, Python 3.6 x64, [conda-forge pyside2 package|https://anaconda.org/conda-forge/pyside2].
    • Commits:
      2004278e04081b445686712a42698480bfce33e1

      Description

      This GitHub repo has a minimal example that describes the issue.

      The CMakelists.txt is based on the `scriptableapplication` in the 5.9 branch for the shiboken settings.

      The code generation triggers a lot of warnings that are listed here. At compilation, this error occurs.

      Finally, I believe that the addition of a simple CMake-based `foopy` example to the project would be very helpful to newbies (since the `scriptableapplication` example does a bit more than just binding a class).

        Attachments

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

          Activity

            People

            • Assignee:
              alexandru.croitor Alexandru Croitor
              Reporter:
              giumas giu mas
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes