Fix compilation with QT_NO_SHAREDMEMORY

If we use QLatin1String we should include qstring.h.

Change-Id: Iebd761b98e515e9cd9cd34b96a0f8a602d00f086
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Ulf Hermann 2016-11-23 12:25:59 +01:00
parent 0979c5304c
commit eaa0063b70

View File

@ -53,6 +53,8 @@
#include "qsharedmemory.h"
#include <QtCore/qstring.h>
#ifdef QT_NO_SHAREDMEMORY
# ifndef QT_NO_SYSTEMSEMAPHORE
namespace QSharedMemoryPrivate