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

Custom QML types are limited to 50

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: dev
    • Fix Version/s: None
    • Component/s: PySide
    • Labels:
      None
    • Platform/s:
      All

      Description

      At the moment the number of custom QML types is limited to 50. This limit is arbitrary and far too small for any serious QML development. E.g. I'm currently working on a project where I have more than 60 custom Python QML types, and the project is still under development and growing.

       

      See: http://code.qt.io/cgit/pyside/pyside-setup.git/tree/sources/pyside2/PySide2/QtQml/pysideqmlregistertype.cpp#n59

       

      I suggest fixing the core problem of not being able to create QML types at runtime. Someone already attempted to do this: https://github.com/msorvig/qt-quick-bindings/blob/master/0001-WIP-Support-run-time-QML-type-creation.patch

       

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              crmaurei Cristian Maureira-Fredes
              Reporter:
              strahlex Alexander Rössler
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes