Comments (4)
You're correct that the reason we disable Phonon is because QTKit was removed from the SDK shipped with Xcode 8. I'm not really sure how well your idea to fix that would work; I've never tried to make Homebrew compile using an older version of the SDK.
You might also consider installing Phonon separately from source.
Please let me know if you get it working. It'd be great to have Phonon support in this repo!
from homebrew-qt4.
I forked this tap, uncommented the "-no-phonon" line, installed the 10.11SDK and then tried this:
SDKROOT=/path/to/SDK10.11
export SDKDUMMY
export SDKROOT
brew reinstall qt@4 --build-from-source --debug --verbose
This eventually threw an error (presumably the expected one because phonon wouldn't compile, although that wasn't obvious). From the debug console, I saw that while my made-up SDKDUMMY environment variable had survived, SDKROOT was not present. I'm assuming that the make system is setting it to a default blank value. Is there any way to somehow specify something on the brew invocation that will pass through to set an environment variable during the make? Or something that can be added to the formula to convince the configure/make to include -isysroot /path/to/SDK10.11 on clang invocations, which I think will do the same thing.
I don't really know homebrew or the modern Mac compilation tools and don't know if I'll have the time to dig in deep enough for awhile. If anyone can try this out, or can provide me a head start on where to tap in to get either the environment variable or the clang parameter working, that would be great.
from homebrew-qt4.
I may try to another crack at this - I can't seem to find any other reliable way to get PyQt4 for Python 2.7 on current MacOS?. I've posted a request in the homebrew discussion forum asking for any build gurus to weigh in on compiling with an older SDK. https://discourse.brew.sh/t/compiling-with-older-macos-sdk/3034
Assuming I can get qt@4 to compile, would I have to change things like "depends_on "cartr/qt4/qt@4" in pyqt@4 to point to my fork as well?
from homebrew-qt4.
from homebrew-qt4.
Related Issues (20)
- "unrecognized #pragma" with Q_OBJECT on ICC HOT 2
- Location of qt4 source code has changed
- Qt@4 doesn't build on macOS 10.14 HOT 2
- installing lQTGui HOT 6
- MacOS.prefer_64_bit? has been deprecated in Homebrew so the formula now fails to install HOT 1
- can't build [email protected] with docs on mojave HOT 3
- qt@4 bottle broken since openssl 1.0 was removed from homebrew-core HOT 12
- brew tap-pin cartr/qt4 failed HOT 4
- Can't build pyqt@4 (ElCapitan) HOT 5
- bintray is going away. Distribute bottles through github or another service? HOT 6
- qt 4.8.7 download site HOT 1
- warning when installing ncurses on mac 11.2.3 HOT 2
- fix drawing performance on Big Sur HOT 1
- failed to install qt4 on my mac HOT 1
- brew install cartr/qt4/pyqt fails on MacOs Monterey HOT 4
- brew tap fails with invalid formula due to disabled bottle :unneeded HOT 3
- brew install cartr/qt4/[email protected] fails on Monterey HOT 4
- MacOS M1 error installation HOT 5
- brew install cartr/qt4/qt@4 in Apple M1 Pro machine , make error, please help! HOT 1
- "brew install qt@4" doesn't work on Apple Silicon HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebrew-qt4.