f1a23a5467
For Android, Windows and xcb. Verified on Win10 with NVIDIA, Win10 with AMD, Android with Tegra K1, Android aarch64 with Tegra X1, and Linux aarch64 with Tegra X1 (Jetson TX1, L4T). Introduce QPA-based Vulkan library loader, core function resolver, and instance creation support. In addition to creating a new VkInstance, adopting an existing one from an external engine is supported as well. The WSI specifics are hidden in the platform plugins. Vulkan-capable windows use the new surface type VulkanSurface and are associated with a QVulkanInstance. On Windows VULKAN_SDK is picked up automatically so finding vulkan.h needs no additional manual steps once the LunarG SDK is installed. [ChangeLog][QtGui] Added support for rendering to QWindow via the Vulkan graphics API. Task-number: QTBUG-55981 Change-Id: I50fa92d313fa440e0cc73939c6d7510ca317fbc9 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Andy Nichols <andy.nichols@qt.io>
65 lines
1.9 KiB
Plaintext
65 lines
1.9 KiB
Plaintext
#
|
|
# qmake configuration for win32-icc
|
|
#
|
|
# Written for Intel C++
|
|
#
|
|
|
|
# Use the Visual Studio configuration
|
|
|
|
include(../common/msvc-desktop.conf)
|
|
|
|
# Now override with the Intel compiler settings
|
|
|
|
QMAKE_COMPILER += intel_icl # icl pretends to be msvc
|
|
|
|
QMAKE_CC = icl
|
|
QMAKE_CFLAGS = -nologo -Zm200 /Qprec /Qwd1744,1738,809,3373
|
|
QMAKE_CFLAGS_WARN_ON = -W3 /Qwd673
|
|
QMAKE_CFLAGS_WARN_OFF = -W0 /Qwd673
|
|
QMAKE_CFLAGS_DEBUG = -Zi -MDd -Od
|
|
QMAKE_CFLAGS_LTCG = -Qipo
|
|
QMAKE_CFLAGS_DISABLE_LTCG = -Qno-ipo
|
|
QMAKE_CFLAGS_SSE2 = -QxSSE2
|
|
QMAKE_CFLAGS_SSE3 = -QxSSE3
|
|
QMAKE_CFLAGS_SSSE3 = -QxSSSE3
|
|
QMAKE_CFLAGS_SSE4_1 = -QxSSE4.1
|
|
QMAKE_CFLAGS_SSE4_2 = -QxSSE4.2
|
|
QMAKE_CFLAGS_AVX = -QxAVX
|
|
QMAKE_CFLAGS_AVX2 = -QxCORE-AVX2
|
|
QMAKE_CFLAGS_AVX512F += -QxCOMMON-AVX512
|
|
QMAKE_CFLAGS_AVX512CD += -QxCOMMON-AVX512
|
|
QMAKE_CFLAGS_AVX512ER += -QxMIC-AVX512
|
|
QMAKE_CFLAGS_AVX512PF += -QxMIC-AVX512
|
|
QMAKE_CFLAGS_AVX512DQ += -QxCORE-AVX512
|
|
QMAKE_CFLAGS_AVX512BW += -QxCORE-AVX512
|
|
QMAKE_CFLAGS_AVX512VL += -QxCORE-AVX512
|
|
QMAKE_CFLAGS_AESNI = -QxSSE2
|
|
QMAKE_CFLAGS_SHANI = -QxSSE4.2
|
|
|
|
QMAKE_CXX = $$QMAKE_CC
|
|
QMAKE_CXXFLAGS = $$QMAKE_CFLAGS /Zc:forScope
|
|
QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
|
|
QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF
|
|
QMAKE_CXXFLAGS_CXX11 = -Qstd=c++11
|
|
# ICC supports the following but Qt won't compile
|
|
#QMAKE_CXXFLAGS_CXX14 = -Qstd=c++14
|
|
#QMAKE_CXXFLAGS_CXX1Z = -Qstd=c++1z
|
|
QMAKE_CXXFLAGS_LTCG = $$QMAKE_CFLAGS_LTCG
|
|
QMAKE_CXXFLAGS_DISABLE_LTCG = $$QMAKE_CFLAGS_DISABLE_LTCG
|
|
|
|
QMAKE_LINK = xilink
|
|
QMAKE_LFLAGS = /NOLOGO
|
|
QMAKE_LFLAGS_RELEASE =
|
|
QMAKE_LFLAGS_RELEASE_WITH_DEBUGINFO =
|
|
QMAKE_LFLAGS_DEBUG = /DEBUG
|
|
QMAKE_LFLAGS_LTCG = $$QMAKE_CFLAGS_LTCG
|
|
|
|
QMAKE_LIB = xilib /NOLOGO
|
|
|
|
DSP_EXTENSION = .dsp
|
|
|
|
include(../common/windows-gles.conf)
|
|
include(../common/windows-vulkan.conf)
|
|
|
|
load(qt_config)
|