QLocalSocket: fix inclusions in namespaced builds
An include statement appeared after opening the Qt namespace, thus injecting symbols in there. Move it outside. Change-Id: I8e95e821b36ad4e4ceed5b0645bf8ebf7e531e06 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> (cherry picked from commit 99e95a2cc6ddec5ebd7f69489811be2e9aef98b9) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
363c407587
commit
81c6597fc3
@ -44,6 +44,10 @@
|
||||
#include <QtCore/qiodevice.h>
|
||||
#include <QtNetwork/qabstractsocket.h>
|
||||
|
||||
#ifndef QT_NO_DEBUG_STREAM
|
||||
#include <QtCore/qdebug.h>
|
||||
#endif
|
||||
|
||||
QT_REQUIRE_CONFIG(localserver);
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
@ -143,7 +147,6 @@ private:
|
||||
};
|
||||
|
||||
#ifndef QT_NO_DEBUG_STREAM
|
||||
#include <QtCore/qdebug.h>
|
||||
Q_NETWORK_EXPORT QDebug operator<<(QDebug, QLocalSocket::LocalSocketError);
|
||||
Q_NETWORK_EXPORT QDebug operator<<(QDebug, QLocalSocket::LocalSocketState);
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user