summaryrefslogtreecommitdiffstats
path: root/src/serialport/qserialport_wince.cpp
diff options
context:
space:
mode:
authorDenis Shienkov <denis.shienkov@gmail.com>2013-10-09 18:25:20 +0400
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-10-17 14:48:06 +0200
commitbd74c95366a33210b6091f9a1ca60db2766a83a1 (patch)
tree56651b3194eb8862fb9984768c5e1525ca05cd34 /src/serialport/qserialport_wince.cpp
parent00422cd2b723a9704ea3b705dd4fda5fa70723a6 (diff)
Add the Q_OBJECT macro to the notifiers
The notifiers are derived from QObject and shall have the Q_OBJECT macro. Tested the build on Windows, Windows CE, Android with Qt4 and then Qt5. Change-Id: Ie860a02cb5e73b9af62e0f0b5de379e34c077c0e Reviewed-by: Laszlo Papp <lpapp@kde.org> Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
Diffstat (limited to 'src/serialport/qserialport_wince.cpp')
-rw-r--r--src/serialport/qserialport_wince.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/serialport/qserialport_wince.cpp b/src/serialport/qserialport_wince.cpp
index bc4c5269..ed13a9c7 100644
--- a/src/serialport/qserialport_wince.cpp
+++ b/src/serialport/qserialport_wince.cpp
@@ -154,6 +154,8 @@ private:
mutable bool worked;
};
+#include "qserialport_wince.moc"
+
QSerialPortPrivate::QSerialPortPrivate(QSerialPort *q)
: QSerialPortPrivateData(q)
, descriptor(INVALID_HANDLE_VALUE)
@@ -518,6 +520,4 @@ QString QSerialPortPrivate::portNameFromSystemLocation(const QString &location)
return ret;
}
-#include "qserialport_wince.moc"
-
QT_END_NAMESPACE