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

signal/slot in plugins not work in Qt Designer

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • Qt Creator 4.2.0
    • Widget Designer
    • Win8.1

      Qt5.7.0-opensource-msvc

      VS2015 community

      i created a plugin using command line tools of Qt, it was build and installed successfully. ThenĀ i opened the designer, when i clicked theĀ custom widget, a warning appears:

      Although warned, everything works well until the signal/slot functionality is used:

      i cannot connect signals to slots. My custom widget and plugin code is given in the attachment.

        1. image-2017-05-22-14-30-14-813.png
          100 kB
          Gaoxin Lin
        2. image-2017-05-22-14-31-11-444.png
          124 kB
          Gaoxin Lin
        3. image-2017-05-22-14-33-33-950.png
          117 kB
          Gaoxin Lin
        4. editorplugin.h
          1.0 kB
          Gaoxin Lin
        5. editorplugin.json
          0.0 kB
          Gaoxin Lin
        6. editorplugin.qrc
          0.1 kB
          Gaoxin Lin
        7. WidgetPlugin.pro
          0.5 kB
          Gaoxin Lin
        8. editorplugin.cpp
          1 kB
          Gaoxin Lin
        9. myeditor.h
          0.6 kB
          Gaoxin Lin
        10. WidgetPlugin.pro.user
          23 kB
          Gaoxin Lin
        11. myeditor.cpp
          0.3 kB
          Gaoxin Lin
        12. icon.jpg
          320 kB
          Gaoxin Lin
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            portale Alessandro Portale
            lgxzj Gaoxin Lin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes