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

PySide6 Designer Plugin does not respect Qt Plugins Install Path

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.x, 6.5.1.1
    • PySide
    • None
    • All

      If users configure qt6 to have a custom plugins path, it seems that the pyside design plugin ignores it. here is the patch to address this

      Unable to find source-code formatter for language: diff. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      diff --git a/sources/pyside6/plugins/designer/CMakeLists.txt b/sources/pyside6/plugins/designer/CMakeLists.txt
      index 570fee1fe..75f57f40d 100644
      --- a/sources/pyside6/plugins/designer/CMakeLists.txt
      +++ b/sources/pyside6/plugins/designer/CMakeLists.txt
      @@ -53,4 +53,5 @@ target_link_libraries(PySidePlugin PRIVATE
                             Qt::Widgets
                             ${SHIBOKEN_PYTHON_LIBRARIES})
       
      -install(TARGETS PySidePlugin LIBRARY DESTINATION "plugins/designer")
      +install(TARGETS PySidePlugin
      +        LIBRARY DESTINATION "${QT6_INSTALL_PREFIX}/${QT6_INSTALL_PLUGINS}/designer")
      

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

            crmaurei Cristian Maureira-Fredes
            mark.harfouche Mark Harfouche
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes