Priority: Not Evaluated
Resolution: Out of scope
Affects Version/s: Qt Creator 2.3.1
Fix Version/s: None
Component/s: Widget Designer
Environment:Windows XP Home SP3
AMD Athlon 64 X2 Dual
MinGW AND VS2008
Single-clicks do work on other applications on my system.
Create a new project. Add a button. Create a new dialog form/class called "Dialog". Add "dialog.h" to the includes for the Main Window. Make the button open the dialog, by choosing "Go To Slot" for the "clicked" slot in the form editor, creating Dialog d; and do its exec(). So far, so good. All standard stuff so far. Open the dialog in the form editor, and choose "Go To Slot" for the accepted(), rejected() and finished() slots. Qt Creator creates new routines in the editor as expected. Create message boxes in them. Compile and run the app. Click the button. Choose OK and/or Cancel. The message boxes never get displayed. Instead, there are warnings in the application output window:
QMetaObject::connectSlotsByName: No matching signal for on_Dialog_accepted()
QMetaObject::connectSlotsByName: No matching signal for on_Dialog_rejected()
QMetaObject::connectSlotsByName: No matching signal for on_Dialog_finished(int)
The same thing happens on both MinGW Debug and VS2008 Release builds. Saving everything, closing it all, and Rebuild All does not fix it. Routines created by the "Go To Slot" dialog do not generally misfire.