summaryrefslogtreecommitdiff
path: root/src/serialport.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/serialport.cpp')
-rw-r--r--src/serialport.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/serialport.cpp b/src/serialport.cpp
index 308a461..3fe766b 100644
--- a/src/serialport.cpp
+++ b/src/serialport.cpp
@@ -17,7 +17,7 @@
# define SERIALPORT_BUFFERSIZE 16384
#endif
-QT_USE_NAMESPACE
+QT_BEGIN_NAMESPACE_SERIALPORT
//----------------------------------------------------------------
@@ -1779,3 +1779,7 @@ qint64 SerialPort::writeData(const char *data, qint64 maxSize)
\sa setBreak(), sendBreak()
*/
+
+#include "moc_serialport.cpp"
+
+QT_END_NAMESPACE_SERIALPORT