Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-30430

Custom Qt Designer widget plugin not shown in Designer embedded in Qt Creator

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • Qt Creator 13.0.0-beta2
    • Widget Designer
    • None
    • Windows

    Description

      PRE-REQUISITES:

      • Qt Creator 13 beta2-64 installed (Based on Qt 6.6.2 (MSVC 2019, x86_64)
      • Qt 6.6.2 is installed from Qt online installer (Qt MSVC 2019 64 bit) - Same version that Qt Creator is built from.

       

      STEPS:

      • Create a Qt Custom Designer Widget (designerplugin) 
        • Select Create Project -> Other Project -> Qt Custom Designer Widget
        • Select Kit Qt MSVC 2019 64 bit
        • Create class 'MyClass' and select 'Create skeleton'
        • To the build steps add 'Make' step with 'install' as argument
        • Build the project in 'Release' mode
        • The plugin should now built and installed to "<QtDir>6.6.2\msvc2019_64\plugins\designer"

      • Create a test app to test the plugin (designertestapp)
        • Select Create Project -> Application(Qt) -> Qt Widgets Application
        • Create the project with form file (.ui)
        • Select qmake as build system
        • Select the Kit 'Qt MSVC 2019 64 bit' with which the Qt Creator is built
        • Go to Forms and open mainwindow.ui in Qt Creator
        • Form should open in Qt Designer embedded in Qt Creator
        • Observe that there is no 'MyClass' plugin widget available

        • Go to Tools->Form Editor-> About Qt Designer Plugins, click refresh
        • Observe that there is no  'MyClass' plugin listed

      • Check in standalone Qt Designer
        • Go to '<QtDir>6.6.2\msvc2019_64\bin' dir and open 'designer.exe'
        • Observe that there is 'MyClass' available as a Custom widget.

        • Go to Help->About Plugins
        • Observe that 'myclassplugin.dll' is listed in the loaded plugins list
            
              

      OBSERVED:

      • The plugin is not listed in Qt designer when embedded in Qt Creator, even though the Qt version used to build plugin and test app is same as the version with which the Qt Creator is built
      • The plugin is listed as custom widget if the designer is run as a standlaone application

      EXPECTED:

      • The plugin should also be listed in designer when embedded in Qt Creator

      NOTES:

      • The Qt version used to build plugin and test app is same as the version with which the Qt Creator is built
      • Qt 6.6.2 was installed using Qt Installer, 6.6.2 was freshly installed on 22 Feb 2024
      • Is there something else we need verify ?
      • Following page was referred for installing Qt Designer plugin - https://doc.qt.io/qtcreator/adding-plugins.html 

       

      Attachments

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

        Activity

          People

            kleint Friedemann Kleint
            aamershaikh23 Aamer Shaikh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes