Problem description: error: undefined reference to `Widget::SetTime()' appears in QT:
Cause Analysis:
Because we only declared the function in the header file and did not implement the function under the corresponding (XXX.C) file:
solution:
Just implement this function under the corresponding .c file: