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

Disable relocatable Qt with -no-feature-relocatable. #86

Merged
merged 1 commit into from
Apr 12, 2020

Conversation

rryan
Copy link
Member

@rryan rryan commented Apr 12, 2020

We build Qt with frameworks enabled. When frameworks are enabled, relocatable Qt
uses the framework bundle to determine what the relocatable path to Qt libraries
is:
https://code.qt.io/cgit/qt/qtbase.git/tree/src/corelib/global/qlibraryinfo.cpp?h=5.14.2#n537

We deploy standalone Qt dylibs without frameworks, so this causes a crash on
launch with Qt 5.14:
https://bugs.launchpad.net/mixxx/+bug/1871238

As a short-term fix, disable relocatable Qt. A longer term fix would be to build
with frameworks disabled, or to actually ship frameworks instead of standalone
libraries.

Tested by building environments locally and compiling/bundling Mixxx. The crash on start no longer occurs.

We build Qt with frameworks enabled. When frameworks are enabled, relocatable Qt
uses the framework bundle to determine what the relocatable path to Qt libraries
is:
https://code.qt.io/cgit/qt/qtbase.git/tree/src/corelib/global/qlibraryinfo.cpp?h=5.14.2#n537

We deploy standalone Qt dylibs without frameworks, so this causes a crash on
launch with Qt 5.14:
https://bugs.launchpad.net/mixxx/+bug/1871238

As a short-term fix, disable relocatable Qt. A longer term fix would be to build
with frameworks disabled, or to actually ship frameworks instead of standalone
libraries.
@Be-ing
Copy link
Contributor

Be-ing commented Apr 12, 2020

Okay, if this works for you locally, let's get a new build environment going on the build server.

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.

2 participants