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. WidgetPlugin.pro.user
          23 kB
        2. WidgetPlugin.pro
          0.5 kB
        3. myeditor.h
          0.6 kB
        4. myeditor.cpp
          0.3 kB
        5. image-2017-05-22-14-33-33-950.png
          image-2017-05-22-14-33-33-950.png
          117 kB
        6. image-2017-05-22-14-31-11-444.png
          image-2017-05-22-14-31-11-444.png
          124 kB
        7. image-2017-05-22-14-30-14-813.png
          image-2017-05-22-14-30-14-813.png
          100 kB
        8. icon.jpg
          icon.jpg
          320 kB
        9. editorplugin.qrc
          0.1 kB
        10. editorplugin.json
          0.0 kB
        11. editorplugin.h
          1.0 kB
        12. editorplugin.cpp
          1 kB
        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