Skip to content

build failure agaisnt Qt6.9: error: ‘class QDomNodeList’ has no member named ‘operator!=’ and 'operator==' #2019

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Kazzz-S opened this issue Apr 6, 2025 · 2 comments · Fixed by #2022
Assignees
Labels
Milestone

Comments

@Kazzz-S
Copy link
Contributor

Kazzz-S commented Apr 6, 2025

This error may be related to #1987.

  • macOS Sonoma (14.7.5)
  • klayout 0.30.0
  • commit 449a9a9
  • Qt 6.9.0 Homebrew
  • Apple clang version 15.0.0 (clang-1500.3.9.4)
:
../../../../src/gsiqt/qt6/QtXml/gsiDeclQDomNodeList.cc:171:50: error: no member named 'operator!=' in 'QDomNodeList'
  ret.write<bool > ((bool)((QDomNodeList *)cls)->operator!= (arg1));
                          ~~~~~~~~~~~~~~~~~~~~~  ^
../../../../src/gsiqt/qt6/QtXml/gsiDeclQDomNodeList.cc:209:50: error: no member named 'operator==' in 'QDomNodeList'
  ret.write<bool > ((bool)((QDomNodeList *)cls)->operator== (arg1));
                          ~~~~~~~~~~~~~~~~~~~~~  ^
2 errors generated.
:

qt6Brew.build.macos-Sonoma-release-Rhb34Phb312.log.gz

Kazzz-S

@klayoutmatthias
Copy link
Collaborator

Thanks for pointing this out.

I had to build Qt 6.9 from sources first to reproduce the problem. It looks like it's a single place only in QDomNodeList. That's hopefully easy to fix.

I'll keep you updated.

Best regards,

Matthias

@klayoutmatthias klayoutmatthias self-assigned this Apr 9, 2025
@klayoutmatthias klayoutmatthias linked a pull request Apr 9, 2025 that will close this issue
@klayoutmatthias klayoutmatthias added this to the 0.30.1 milestone Apr 9, 2025
@Kazzz-S
Copy link
Contributor Author

Kazzz-S commented Apr 9, 2025

Thank you for the prompt resolution!
I successfully built the 0932944 branch.

Image
Image

Best regards,
Kazzz-S

klayoutmatthias added a commit that referenced this issue Apr 27, 2025
Fixing issue #2019 (build issue against Qt 6.9)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants