Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-1392 Create pyside2qmlplugin
  3. PYSIDE-1406

Discuss pyside2qmlplugin files and folders location

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: PySide, Tooling
    • Labels:
      None
    • Environment:

      All supported platforms

    • Platform/s:
      Linux/Wayland, Linux/X11, Linux/Yocto, Linux/Other display system, macOS, Windows

      Description

      This issue is created in order to discuss how new pyside2qmlplugin library and related tooling (pyside2-qmlscene, pyside2-qmltestrunner, etc.) will affect PySide2 installation folder structure.

      1. My thinking is that we should distribute pyside2qmlplugin.so|dylib|dll as a library (subclass of QQmlExtensionPlugin) and in the installation folder put it somewhere like a_virtual_env/lib/python3.8/site-packages/PySide2/Qt/plugins/pyside2qmlplugin folder;
      2. Tools like pyside2-qmlscene, pyside2-qmltestrunner should be installed as a_virtual_env/bin/<tool_name>. Those tools will be simple wrappers for Qt/C++ qmlscene, qmltestrunner, with the only difference - they will look for pyside2qmlplugin.so|dylib|dll and load it as a plugin in order to get information about custom python-based QML modules (defined with QmlElement decorator or by subclassing QQmlExtensionPlugin).

        Attachments

        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:
            speqtr Alexander Mishin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Time Tracking

                Estimated:
                Original Estimate - 1 day
                1d
                Remaining:
                Remaining Estimate - 1 day
                1d
                Logged:
                Time Spent - Not Specified
                Not Specified

                  Gerrit Reviews

                  There are no open Gerrit changes