GithubHelp home page GithubHelp logo

Comments (4)

cartr avatar cartr commented on July 18, 2024

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.

YKdvd avatar YKdvd commented on July 18, 2024

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.

YKdvd avatar YKdvd commented on July 18, 2024

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.

cartr avatar cartr commented on July 18, 2024

from homebrew-qt4.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.