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

[bug] QMake generator do not handle OSX frameworks #7564

Closed
memsharded opened this issue Aug 19, 2020 · 1 comment · Fixed by #7579
Closed

[bug] QMake generator do not handle OSX frameworks #7564

memsharded opened this issue Aug 19, 2020 · 1 comment · Fixed by #7579

Comments

@memsharded
Copy link
Member

Following from #7563, it seems that qmake generator is not implementing OSX frameworks support, it should be added.

@SSE4
Copy link
Contributor

SSE4 commented Aug 23, 2020

docs: https://doc.qt.io/qt-5/qmake-platform-notes.html

Directories other than the standard framework directory need to be specified to the build system, and this is achieved by appending linker options to the LIBS variable, as shown in the following example:

LIBS += -F/path/to/framework/directory/
The framework itself is linked in by appending the -framework options and the name of the framework to the LIBS variable:

LIBS += -framework TheFramework

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment