Hi all,

I have a crash on connect in constructor

Qt Code:
  1. BuilderAppInstanceUI::BuilderAppInstanceUI(const Workflow &wf)
  2. :ObserverAdapter(wf)
  3. {
  4. connect(Datasets, SIGNAL(currentItemChanged(QListWidgetItem*,QListWidgetItem*)), Variables, SLOT(datasetChanged(QListWidgetItem*,QListWidgetItem*)));
  5. }
To copy to clipboard, switch view to plain text mode 

with
Qt Code:
  1. Datasets
To copy to clipboard, switch view to plain text mode 
and
Qt Code:
  1. Variables
To copy to clipboard, switch view to plain text mode 
two members of
Qt Code:
  1. BuilderAppInstanceUI
To copy to clipboard, switch view to plain text mode 
:

Qt Code:
  1. class BuilderAppInstanceUI : public QWidget
  2. , public ObserverAdapter
  3. {
  4. Q_OBJECT
  5.  
  6. public:
  7. BuilderAppInstanceUI(const Workflow &workflow);
  8. ~BuilderAppInstanceUI();
  9.  
  10. void retranslateUi(QWidget *Form);
  11. void setupUi(QWidget *Form);
  12.  
  13. QStackedWidget *stackedWidget;
  14.  
  15.  
  16. BuilderAppListWidget *Datasets;
  17. QTreeWidget *Variables;
  18.  
  19. private slots:
  20. void datasetChanged(QListWidgetItem* current, QListWidgetItem* previous);
  21.  
  22. };
To copy to clipboard, switch view to plain text mode 

Qt Code:
  1. BuilderAppListWidget
To copy to clipboard, switch view to plain text mode 
inherits from
Qt Code:
To copy to clipboard, switch view to plain text mode 
and as such can emit this signal
Qt Code:
  1. SIGNAL(currentItemChanged(QListWidgetItem*,QListWidgetItem*))
To copy to clipboard, switch view to plain text mode 

Qt Code:
  1. class BuilderAppListWidget : public QListWidget
  2. {
  3. Q_OBJECT
  4.  
  5. public:
  6. BuilderAppListWidget (QWidget* qwdgt = nullptr);
  7. ~BuilderAppListWidget (){};
  8.  
  9. void dragEnterEvent( QDragEnterEvent * event ) ;
  10. void dragMoveEvent( QDragMoveEvent * event ) ;
  11. void dropEvent( QDropEvent * event );
  12. void keyReleaseEvent( QKeyEvent * event ) final ;
  13.  
  14. private:
  15. BuilderAppInstanceUI* m_instance ;
  16.  
  17. };
To copy to clipboard, switch view to plain text mode 

Should I declare explicitly
Qt Code:
  1. currentItemChanged
To copy to clipboard, switch view to plain text mode 
in body for
Qt Code:
  1. BuilderAppListWidget
To copy to clipboard, switch view to plain text mode 
class ? If not, where does problem come from ?

Regards