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
Build-qt.sh fixes and updates #32
Conversation
msmolens
commented
Jul 7, 2017
- Fix installation directory option
- Fix and enhance OS X sysroot option
- Exit when a command fails
- Avoid redownloading libraries when running multiple times, such as during testing
- Make output quieter so that errors are more apparent
- Disable phonon to support building with OS X 10.12 SDK
- Move library versions to configuration variables
Before, the script overwrote the user-specified installation directory with qt-everywhere-opensource-build-4.8.7. Now, respect the user-specified option and default to qt-everywhere-option-build-4.8.7.
Fix a bug where the default sysroot was not applied because it was assigned to a wrongly named variable. Additionally, attempt to use xcrun to determine the default SDK path before falling back to the fixed value.
Avoid redownloading libraries if the archives already exist locally.
Don't extract archives verbosely and build Qt with less output. This reduces the output to the console, which is valuable especially when running the script on a remote system.
Disable phonon to fix the following build error when building with the OSX 10.12 SDK: ../../../3rdparty/phonon/qt7/quicktimevideoplayer.h:23:9: fatal error: 'QTKit/QTDataReference.h' file not found To keep the script simple and builds consistent, always disable phonon without regard for the platform or SDK version.
@fbudin69500 Could you review this? |
@msmolens Looks good to me. Did you run it on travis CI? |
Thanks. How do I run it on TravisCI? (Shouldn't that happen automatically?) |
I am not sure if there is a hook. If there isn't, you can also add the hook on your personal repo of qt-easy-build, or even run it manually from travisCI |
It seems there are some problems with the TravisCI configuration: https://travis-ci.org/msmolens/qt-easy-build/jobs/254929715 |
Indeed. I had updated this repo a while back so that it would work on travisCI, but clearly it is not up to date anymore :( |