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

Can't build anything but Release on macOS #538

Open
tfiner opened this issue Jan 6, 2022 · 2 comments
Open

Can't build anything but Release on macOS #538

tfiner opened this issue Jan 6, 2022 · 2 comments

Comments

@tfiner
Copy link

tfiner commented Jan 6, 2022

After many minutes of everything else building, Qt unhelpfully errors out with this message:

This is the Qt Open Source Edition.

You have already accepted the terms of the Open Source license.
ERROR: debug-only framework builds are not supported. Configure with -no-framework if you want a pure debug build.

My expectation is that I could build a Debug version to find out why TeleSculptor crashed (and hung). Is there a reason that TeleSculptor needs to build Qt from scratch instead of depending upon a package manager like brew (or even vcpkg?).

@mleotta
Copy link
Member

mleotta commented Jan 7, 2022

See context in #537 about why macOS is poorly supported.

I don't believe I've tried to build a Debug build on macOS in quite some time. The reason that we build Qt from source is to ensure that we get the same version across all of our platforms (Windows, Linux, Mac). It's difficult to support a wide range of versions of Qt and other 3rd party packages that may vary between OSes and OS versions.

You can, in fact, configure CMake to build TeleSculptor against system packages for Qt and various other dependencies. Look for TELESCULPTOR_USE_SYSTEM_QT in the CMake options. However, this is at your own risk. It might not work if your system Qt differs too much from the version we expect. Building against system packages hasn't been tested extensively.

@tfiner
Copy link
Author

tfiner commented Jan 7, 2022

I will try this route out, I already have a homebrew install of Qt5.

Thank you for all the information too.

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

No branches or pull requests

2 participants