Skip to content
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

Update faust2caqt for QT6 #711

Open
wants to merge 1 commit into
base: master-dev
Choose a base branch
from

Conversation

olilarkin
Copy link
Contributor

@olilarkin olilarkin commented Feb 20, 2022

Without this change faust2caqt fails due to the usage of std::filesystem in QT6, with errors such as:

    { return QtPrivate::toFilesystemPath(absoluteFilePath()); }

if supporting macOS < 10.15 is important, then this might not be the best fix

Without this change faust2caqt fails due to the usage of std::filesystem in QT6, with errors such as:

```/opt/homebrew/lib/QtCore.framework/Headers/qfileinfo.h:120:14: error: '~path' is unavailable: introduced in macOS 10.15
    { return QtPrivate::toFilesystemPath(absoluteFilePath()); }```

if supporting macOS < 10.15 is important, then this might not be the best fix
@olilarkin
Copy link
Contributor Author

Actually, this is not enough.

QT6 has a dependency on librotli it seems and it's not in /usr/local/lib where the .app expects it.

It's possible to fix with

brew install librotli
sudo ln -s /opt/homebrew/lib/libbrotlicommon.1.dylib /usr/local/lib/

but that means the .app is not portable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant