Fix checking QT_NO_QWS_MULTIPROCESS before using QWSSharedMemSurface
authorPasi Petäjäjärvi <pasi.petajajarvi@digia.com>
Fri, 18 Jan 2013 09:43:30 +0000 (11:43 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 24 Jan 2013 14:47:54 +0000 (15:47 +0100)
commite32ba05891b34838e918608fe2cb7e2ef66f87dc
treed889f4db244ac25cf7ae2ff534148d58dcc7c162
parentd3e0355c56f39d33e0fdedc5ef12ab9ba4c7202e
Fix checking QT_NO_QWS_MULTIPROCESS before using QWSSharedMemSurface

QWSSharedMemSurface is not available if we don't have multiprocess QWS,
which requires QSharedMemory support. On VxWorks DKM mode, we don't
support QSharedMemory and there no multiprocess QWS.

Change-Id: I647a576ee4d718b3dcddb0dc4d629ffcd2e163f2
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
tests/auto/qwswindowsystem/tst_qwswindowsystem.cpp