Fix a warning treated as error - 'importDevice not used'

Change-Id: Id48ff52d6532cf3585648addd498cdddccbcb994
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
This commit is contained in:
Timur Pocheptsov 2019-07-03 10:40:30 +02:00
parent e1c9276c77
commit 33fdd5c833

View File

@ -3829,6 +3829,7 @@ QRhi *QRhi::create(Implementation impl, QRhiInitParams *params, Flags flags, QRh
static_cast<QRhiVulkanNativeHandles *>(importDevice));
break;
#else
Q_UNUSED(importDevice);
qWarning("This build of Qt has no Vulkan support");
break;
#endif