Thank you for the suggestion.
qmake & make from the Qt 4.3.3 Command prompt showed the following:
|
Source code
|
1
2
3
|
obj/moc_qwt_designer.o(.text+0xb5):moc_qwt_designer.cpp: undefined reference to`qwt_designer::on_myButton_pressed()'
collect2: ld returned 1 exit status
mingw32-make[1]: *** [releaseqwt_designer.exe] Error 1
|
Adding the following to qwt_desginer.cpp has fixed the problem.
|
Source code
|
1
2
3
|
void qwt_designer::on_myButton_pressed(){
;
}
|
It's interesting that the combination of "slots in the header file" and "the Qwt plot object in the .ui file" forced the implementation of the function on_myButton_pressed().