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

Custom QML types are limited to 50

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • None
    • None
    • PySide
    • None
    • All
    • 93a9b331b6100679342e9b0f661bbb37de564d60 (pyside/pyside-setup/dev)

    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

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes