From 43c28aa9046967abeb4ad042c8be1aa23a19c282 Mon Sep 17 00:00:00 2001 From: Alexey Edelev Date: Thu, 28 Jan 2021 16:06:26 +0100 Subject: Use Core library for qmake instead of the Bootstrap library Move the qmake-specific logic of the QLibraryInfo class to qmake internals. 'qconfig.cpp.in' now stores information about the library info entries to keep them consistent between qmake and the Core library. qmake requires specific features enabled in the Core library, so building qmake will be skipped if the features are not enabled. All flags directly related to the qmake have been removed from Core lib. Remove all bootstrap related sections from qmake CMakeLists.txt Task-number: QTBUG-89369 Change-Id: I26de157d3bfd4a5526699296e9d46e1c180b89ae Reviewed-by: Edward Welbourne Reviewed-by: Kai Koehne --- src/corelib/io/qfilesystemengine_win.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/corelib/io/qfilesystemengine_win.cpp') diff --git a/src/corelib/io/qfilesystemengine_win.cpp b/src/corelib/io/qfilesystemengine_win.cpp index f27040b07c..6fa6ec2dc2 100644 --- a/src/corelib/io/qfilesystemengine_win.cpp +++ b/src/corelib/io/qfilesystemengine_win.cpp @@ -644,7 +644,7 @@ static inline QByteArray fileId(HANDLE handle) // File ID for Windows starting from version 8. QByteArray fileIdWin8(HANDLE handle) { -#if !defined(QT_BOOTSTRAPPED) && !defined(QT_BUILD_QMAKE) +#if !defined(QT_BOOTSTRAPPED) QByteArray result; FILE_ID_INFO infoEx; if (GetFileInformationByHandleEx(handle, @@ -658,7 +658,7 @@ QByteArray fileIdWin8(HANDLE handle) result = fileId(handle); // GetFileInformationByHandleEx() is observed to fail for FAT32, QTBUG-74759 } return result; -#else // !QT_BOOTSTRAPPED && !QT_BUILD_QMAKE +#else // !QT_BOOTSTRAPPED return fileId(handle); #endif } -- cgit v1.2.3