Details
-
Bug
-
Resolution: Done
-
P2: Important
-
None
-
5.14.0 Beta2
-
None
Description
Using Ubuntu 18.04 LTS (bionic) and its default cross-compiler, configured as
./configure -prefix /home/squinky86/w64/qt -platform linux-g++-64 -xplatform win32-g++ -device-option CROSS_COMPILE=x86_64-w64-mingw32- -opensource -release -confirm-license -opengl desktop -mp -static -static-runtime -no-shared -qt-libpng -qt-libjpeg -qt-zlib -qt-pcre -no-compile-examples -nomake examples -no-icu -optimize-size -openssl-linked -I/home/squinky86/w64/openssl-1.1.1d/include
I attempted to build a static version of qtbase-5.14.0-beta2. During configure, everything involving opengl passed, but when I attempt to build, I get
make[2]: Entering directory '/home/squinky86/w64/qtbase-everywhere-src-5.14.0-beta2/src/gui'
x86_64-w64-mingw32-g++ -c -include .pch/qt_gui_pch.h -pipe -fno-keep-inline-dllexport -Os -std=c++1z -ffunction-sections -fdata-sections -fno-exceptions -Wall -Wextra -Wextra -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DWINVER=0x0601 -D_WIN32_WINNT=0x0601 -DQT_NO_LINKED_LIST -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_GUI_LIB -DQT_BUILDING_QT -D_CRT_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_CORE_LIB -DQT_NO_EXCEPTIONS -I. -I../3rdparty/md4c -I../3rdparty/zlib/src -I../3rdparty/VulkanMemoryAllocator -I../../include -I../../include/QtGui -I../../include/QtGui/5.14.0 -I../../include/QtGui/5.14.0/QtGui -Itmp -I.tracegen -I../../include/QtCore/5.14.0 -I../../include/QtCore/5.14.0/QtCore -I../../include/QtCore -I.moc -I../3rdparty/libpng -I../3rdparty/harfbuzz-ng/include -I/home/squinky86/w64/openssl-1.1.1d/include -I../../mkspecs/win32-g++ -o .obj/qrhi.o rhi/qrhi.cpp
In file included from rhi/qrhi.cpp:49:0:
rhi/qrhid3d11_p_p.h:57:10: fatal error: dxgi1_3.h: No such file or directory
This is because the mingw-w64-x86-64-dev package only includes up to dxgi1_2.h.
I believe that the configuration process should have checked for this and erred had dxgi1_3.h been required.