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

signal/slot in plugins not work in Qt Designer

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 4.2.0
    • Widget Designer
    • None
    • Win8.1

      Qt5.7.0-opensource-msvc

      VS2015 community

    Description

      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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes