build/moc_messagepage.o:(.data.rel.ro._ZTV11MessagePage[_ZTV11MessagePage]+0xfc): undefined reference to `non-virtual thunk to QWidget::sharedPainter() const'
build/moc_sendmessagesdialog.o:(.data.rel.ro._ZTV18SendMessagesDialog[_ZTV18SendMessagesDialog]+0xfc): undefined reference to `non-virtual thunk to QWidget::devType() const'
build/moc_sendmessagesdialog.o:(.data.rel.ro._ZTV18SendMessagesDialog[_ZTV18SendMessagesDialog]+0x100): undefined reference to `non-virtual thunk to QWidget::paintEngine() const'
build/moc_sendmessagesdialog.o:(.data.rel.ro._ZTV18SendMessagesDialog[_ZTV18SendMessagesDialog]+0x104): undefined reference to `non-virtual thunk to QWidget::metric(QPaintDevice::PaintDeviceMetric) const'
build/moc_sendmessagesdialog.o:(.data.rel.ro._ZTV18SendMessagesDialog[_ZTV18SendMessagesDialog]+0x108): undefined reference to `non-virtual thunk to QWidget::initPainter(QPainter*) const'
build/moc_sendmessagesdialog.o:(.data.rel.ro._ZTV18SendMessagesDialog[_ZTV18SendMessagesDialog]+0x10c): undefined reference to `non-virtual thunk to QWidget::redirected(QPoint*) const'
build/moc_sendmessagesdialog.o:(.data.rel.ro._ZTV18SendMessagesDialog[_ZTV18SendMessagesDialog]+0x110): undefined reference to `non-virtual thunk to QWidget::sharedPainter() const'
build/moc_sendmessagesentry.o:(.data.rel.ro._ZTV17SendMessagesEntry[_ZTV17SendMessagesEntry]+0xe8): undefined reference to `non-virtual thunk to QWidget::devType() const'
build/moc_sendmessagesentry.o:(.data.rel.ro._ZTV17SendMessagesEntry[_ZTV17SendMessagesEntry]+0xec): undefined reference to `non-virtual thunk to QWidget::paintEngine() const'
build/moc_sendmessagesentry.o:(.data.rel.ro._ZTV17SendMessagesEntry[_ZTV17SendMessagesEntry]+0xf0): undefined reference to `non-virtual thunk to QWidget::metric(QPaintDevice::PaintDeviceMetric) const'
build/moc_sendmessagesentry.o:(.data.rel.ro._ZTV17SendMessagesEntry[_ZTV17SendMessagesEntry]+0xf4): undefined reference to `non-virtual thunk to QWidget::initPainter(QPainter*) const'
build/moc_sendmessagesentry.o:(.data.rel.ro._ZTV17SendMessagesEntry[_ZTV17SendMessagesEntry]+0xf8): undefined reference to `non-virtual thunk to QWidget::redirected(QPoint*) const'
build/moc_sendmessagesentry.o:(.data.rel.ro._ZTV17SendMessagesEntry[_ZTV17SendMessagesEntry]+0xfc): undefined reference to `non-virtual thunk to QWidget::sharedPainter() const'
Then errors out with