Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.7.0
-
None
Description
I get the following build error for Qt 6.7.0 on macOS 15 Beta with Apple's system compiler (clang 16 beta):
[1/9995] cd /tmp/qt-20240902-2507-kxd2up/qt-everywhere-src-6.7.0/qtbase/src/gui && /tmp/qt-20240902-2507-kxd2up/qt-everywhere-src-6.7.0/qtbase/share/qt/libexec/syncqt @/private/tmp/qt-20240902-2507-kxd2up/qt-everywhere-src-6.7.0/qtbase/src/gui/Gui_syncqt_args && /opt/homebrew/Cellar/cmake/3.30.3/bin/cmake -E touch /tmp/qt-20240902-2507-kxd2up/qt-everywhere-src-6.7.0/qtbase/src/gui/Gui_syncqt_timestamp FAILED: qtbase/src/gui/Gui_syncqt_timestamp qtbase/include/QtGui/QtGuiVersion qtbase/include/QtGui/qtguiversion.h qtbase/include/QtGui/QtGui /tmp/qt-20240902-2507-kxd2up/qt-everywhere-src-6.7.0/qtbase/src/gui/Gui_syncqt_timestamp /tmp/qt-20240902-2507-kxd2up/qt-everywhere-src-6.7.0/qtbase/include/QtGui/QtGuiVersion /tmp/qt-20240902-2507-kxd2up/qt-everywhere-src-6.7.0/qtbase/include/QtGui/qtguiversion.h /tmp/qt-20240902-2507-kxd2up/qt-everywhere-src-6.7.0/qtbase/include/QtGui/QtGui cd /tmp/qt-20240902-2507-kxd2up/qt-everywhere-src-6.7.0/qtbase/src/gui && /tmp/qt-20240902-2507-kxd2up/qt-everywhere-src-6.7.0/qtbase/share/qt/libexec/syncqt @/private/tmp/qt-20240902-2507-kxd2up/qt-everywhere-src-6.7.0/qtbase/src/gui/Gui_syncqt_args && /opt/homebrew/Cellar/cmake/3.30.3/bin/cmake -E touch /tmp/qt-20240902-2507-kxd2up/qt-everywhere-src-6.7.0/qtbase/src/gui/Gui_syncqt_timestamp ERROR: /private/tmp/qt-20240902-2507-kxd2up/qt-everywhere-src-6.7.0/qtbase/src/gui/bus_interface.h:22 includes private header QtGui/private/qspi_struct_marshallers_p.h WARNING: /private/tmp/qt-20240902-2507-kxd2up/qt-everywhere-src-6.7.0/qtbase/src/gui/bus_interface.h does not include QT_BEGIN_NAMESPACE ERROR: /private/tmp/qt-20240902-2507-kxd2up/qt-everywhere-src-6.7.0/qtbase/src/gui/cache_adaptor.h:17 includes private header QtGui/private/qspi_struct_marshallers_p.h WARNING: /private/tmp/qt-20240902-2507-kxd2up/qt-everywhere-src-6.7.0/qtbase/src/gui/cache_adaptor.h does not include QT_BEGIN_NAMESPACE ERROR: /private/tmp/qt-20240902-2507-kxd2up/qt-everywhere-src-6.7.0/qtbase/src/gui/deviceeventcontroller_adaptor.h:17 includes private header QtGui/private/qspi_struct_marshallers_p.h WARNING: /private/tmp/qt-20240902-2507-kxd2up/qt-everywhere-src-6.7.0/qtbase/src/gui/deviceeventcontroller_adaptor.h does not include QT_BEGIN_NAMESPACE ERROR: /private/tmp/qt-20240902-2507-kxd2up/qt-everywhere-src-6.7.0/qtbase/src/gui/socket_interface.h:22 includes private header QtGui/private/qspi_struct_marshallers_p.h WARNING: /private/tmp/qt-20240902-2507-kxd2up/qt-everywhere-src-6.7.0/qtbase/src/gui/socket_interface.h does not include QT_BEGIN_NAMESPACE ninja: build stopped: subcommand failed.
This turned up as part of Homebrew testing of the next macOS version. We configure with:
./configure -release -prefix /opt/homebrew -extprefix /opt/homebrew/Cellar/qt/6.7.0_2 -archdatadir share/qt -datadir share/qt -examplesdir share/qt/examples -hostdatadir share/qt/mkspecs -testsdir share/qt/tests -no-sql-mysql -no-sql-odbc -no-sql-psql -sysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -- -DCMAKE_INSTALL_PREFIX=/opt/homebrew -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_BUILD_TYPE=Release -DCMAKE_FIND_FRAMEWORK=FIRST -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_PROJECT_TOP_LEVEL_INCLUDES=/opt/homebrew/Library/Homebrew/cmake/trap_fetchcontent_provider.cmake -Wno-dev -DBUILD_TESTING=OFF -DCMAKE_OSX_SYSROOT=/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.sdk -DFEATURE_pkg_config=ON -DQT_FEATURE_clang=OFF -DQT_FEATURE_relocatable=OFF -DQT_FEATURE_system_assimp=ON -DQT_FEATURE_system_doubleconversion=ON -DQT_FEATURE_system_freetype=ON -DQT_FEATURE_system_harfbuzz=ON -DQT_FEATURE_system_hunspell=ON -DQT_FEATURE_system_jpeg=ON -DQT_FEATURE_system_libb2=ON -DQT_FEATURE_system_pcre2=ON -DQT_FEATURE_system_png=ON -DQT_FEATURE_system_sqlite=ON -DQT_FEATURE_system_tiff=ON -DQT_FEATURE_system_webp=ON -DQT_FEATURE_system_zlib=ON -DQT_FEATURE_webengine_proprietary_codecs=ON -DQT_FEATURE_webengine_kerberos=ON -DQT_ALLOW_SYMLINK_IN_PATHS=ON -DQT_AVOID_CMAKE_ARCHIVING_API=ON -DCMAKE_OSX_DEPLOYMENT_TARGET=15.0 -DQT_FEATURE_ffmpeg=OFF -DQT_FEATURE_webengine_vulkan=OFF
Attachments
Issue Links
- is duplicated by
-
QTBUG-131353 Qt Installation on MacOS X 12.7.6 (Monterey) using Homebrew fails with "includes private header QtGui/private/qspi_struct_marshallers_p.h"
- Closed