It looks like you're new here. If you want to get involved, click one of these buttons!
MacOS 15.4.1
qt is homebrew qt.
qt@6.8.2 and qt@6.7.2 have been tested and are fine.
qt@6.9.0 will cause "<build4mac.py>: failed to build KLayout".
../../../../src/gsiqt/qt6/QtGui/gsiDeclQAccessibleEvent.cc
../../../../src/gsiqt/qt6/QtXml/gsiDeclQDomNodeList.cc:171:50: error: no member named 'operator!=' in 'QDomNodeList'
171 | ret.write ((bool)((QDomNodeList *)cls)->operator!= (arg1));
| ~~~~~ ^
../../../../src/gsiqt/qt6/QtXml/gsiDeclQDomNodeList.cc:209:50: error: no member named 'operator==' in 'QDomNodeList'
209 | ret.write ((bool)((QDomNodeList *)cls)->operator== (arg1));
| ~~~~~ ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -stdlib=libc++ -std=c++17 -fvisibility=hidden -O2 -std=gnu++1z -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk -mmacosx-version-min=14.0 -Wall -Wextra -pedantic -Woverloaded-virtual -Wsynth -Wno-deprecated -Wno-long-long -Wno-strict-aliasing -Wno-deprecated-declarations -fPIC -DHAVE_QTBINDINGS -DHAVE_PYTHON -DHAVE_GIT2 -DHAVE_RUBY -DHAVE_RUBY_VERSION_CODE=30403 -DHAVE_QT -DHAVE_QT_UITOOLS -DHAVE_QT_NETWORK -DHAVE_QT_SQL -DHAVE_QT_SVG -DHAVE_QT_PRINTSUPPORT -DHAVE_QT_MULTIMEDIA -DHAVE_QT_DESIGNER -DHAVE_QT_XML -DKLAYOUT_VERSION=0.30.0 -DKLAYOUT_VERSION_REV=LatestSourcePackage -DKLAYOUT_VERSION_DATE=2025-04-29 -DKLAYOUT_MAJOR_VERSION=0 -DKLAYOUT_MINOR_VERSION=30 -DKLAYOUT_TINY_VERSION=0 -DMAKE_GSI_QTSQL_LIBRARY -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_DESIGNER_LIB -DQT_UIPLUGIN_LIB -DQT_UITOOLS_LIB -DQT_OPENGLWIDGETS_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_WIDGETS_LIB -DQT_OPENGL_LIB -DQT_MULTIMEDIA_LIB -DQT_SVG_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE5COMPAT_LIB -DQT_SQL_LIB -DQT_CORE_LIB -I../../../../src/gsiqt/qt6/QtSql -I/Users/lycore_ssw/Downloads/klayout-0.30.0/qt6Brew.build.macos-Sequoia-release-Rhb34Phb311/gsiqt/qt6/QtSql -I../../../../src/tl/tl -I../../../../src/gsi/gsi -I../../../../src/gsiqt/qtbasic -I/opt/homebrew/lib/QtPrintSupport.framework/Headers -I/opt/homebrew/lib/QtDesigner.framework/Headers -I/opt/homebrew/include -I/opt/homebrew/include/QtUiPlugin -I/opt/homebrew/lib/QtUiTools.framework/Headers -I/opt/homebrew/lib/QtOpenGLWidgets.framework/Headers -I/opt/homebrew/lib/QtMultimediaWidgets.framework/Headers -I/opt/homebrew/lib/QtWidgets.framework/Headers -I/opt/homebrew/lib/QtOpenGL.framework/Headers -I/opt/homebrew/lib/QtMultimedia.framework/Headers -I/opt/homebrew/lib/QtSvg.framework/Headers -I/opt/homebrew/lib/QtGui.framework/Headers -I/opt/homebrew/lib/QtXml.framework/Headers -I/opt/homebrew/lib/QtNetwork.framework/Headers -I/opt/homebrew/lib/QtCore5Compat.framework/Headers -I/opt/homebrew/lib/QtSql.framework/Headers -I/opt/homebrew/lib/QtCore.framework/Headers -I/Users/lycore_ssw/Downloads/klayout-0.30.0/qt6Brew.build.macos-Sequoia-release-Rhb34Phb311/gsiqt/qt6/QtSql -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AGL.framework/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AGL.framework/Headers -I/opt/homebrew/include -I/opt/homebrew/share/qt/mkspecs/macx-clang -F/opt/homebrew/lib -o gsiDeclQSqlRecord.o ../../../../src/gsiqt/qt6/QtSql/gsiDeclQSqlRecord.cc
2 errors generated.
make[3]: *** [gsiDeclQDomNodeList.o] Error 1
make[2]: *** [sub-QtXml-make_first] Error 2
ln -s libklayout_QtGui.0.30.0.dylib libklayout_QtGui.dylib
ln -s libklayout_QtGui.0.30.0.dylib libklayout_QtGui.0.dylib
ln -s libklayout_QtGui.0.30.0.dylib libklayout_QtGui.0.30.dylib
rm -f ../../../../qt6Brew.build.macos-Sequoia-release-Rhb34Phb311/libklayout_QtGui.0.30.0.dylib
mv -f libklayout_QtGui.0.30.0.dylib ../../../../qt6Brew.build.macos-Sequoia-release-Rhb34Phb311/libklayout_QtGui.0.30.0.dylib
rm -f ../../../../qt6Brew.build.macos-Sequoia-release-Rhb34Phb311/libklayout_QtGui.dylib
rm -f ../../../../qt6Brew.build.macos-Sequoia-release-Rhb34Phb311/libklayout_QtGui.0.dylib
rm -f ../../../../qt6Brew.build.macos-Sequoia-release-Rhb34Phb311/libklayout_QtGui.0.30.dylib
mv -f libklayout_QtGui.dylib ../../../../qt6Brew.build.macos-Sequoia-release-Rhb34Phb311/libklayout_QtGui.dylib
mv -f libklayout_QtGui.0.dylib ../../../../qt6Brew.build.macos-Sequoia-release-Rhb34Phb311/libklayout_QtGui.0.dylib
mv -f libklayout_QtGui.0.30.dylib ../../../../qt6Brew.build.macos-Sequoia-release-Rhb34Phb311/libklayout_QtGui.0.30.dylib
make[1]: *** [sub-qt6-make_first] Error 2
Comments
Please refer to https://github.com/KLayout/klayout/issues/2019.
The subsequent maintenance release (0.30.1) will address this issue.
During the process of building these DMGs, I confirmed that the issue has been fixed.