-
Notifications
You must be signed in to change notification settings - Fork 50
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
"fatal error: definition of type 'QStringList' conflicts with type alias of the same name" when building on macOS #71
Comments
It looks like you have Qt installed in two places and they are conflicting with each other. I think |
You were correct. I had qt 6 installed as a dependency for something else. I ended up removing it. Thanks for the help. |
Hi 👋 Could we please keep this issue open? I'm experiencing the same exact compilation error but can't remove Qt6 because other installed software depends on it. There must be a way to configure the build environment so that it uses the Qt version it's told to use and not an automatically detected one. |
Sure, unfortunately I don't know how to fix this since I've never really dealt with Linux/macOS and shared libs much. |
came here from the following web search
this appeared on the first page of my search results 🕷🕸 i'm no expert so forgive me if i stepping out of bounds here. i came across this issue today as well, but with building freecad on macos catalina. freecad still relies on qt v5 and macos homebrew provides both qt v6 and v5. the quick fix is to unlink qt v6 if you're building with cmake
i tried prepending my path with the i hope this helps. |
I'm building on MacOS Big Sur version 11.4. I get the following error when running
cmake --build build --target nvui --config Release
found in the macOS build instructions:
The text was updated successfully, but these errors were encountered: