Comments (2)
I've pushed a development branch (separate-qt-modules
) that tries to do this by creating separate formulae that each Dir.chdir
into the module directory and run make
and make install
. Currently just for qt-corelib@4
and qt-script@4
, and it's based on the way FreeBSD's ports tree seems to do it. A few notes:
- I symlink
moc
into the source tree so we don't need to rebuild it each time. Apparently it's possible to do this withqmake
as well, but my attempts to do that failed whenconfigure
tried to overwrite it with the copy it builds. configure
currently creates every Makefile for every module, even though we're only using one of them. It seems like the only way to fix this is to either patchconfigure
or pass in a bunch of-no-phonon
-type options.- The
qmake@4
formula includes hacks to tell it to use/usr/local
instead of the full formula prefix. That way, it can find QtCore, etc. when they're installed separately. - There's a lot of duplication in the module formula files. I should see if it's possible to make a superclass or something.
from homebrew-qt4.
There's a fatal flaw in this plan, it turns out. Homebrew caches the source code it downloads, but those caches are per-formula; if more than one formula uses the same source tarball, Homebrew downloads it multiple times. The dependency graph for Designer looks like this:
This means that installing a hypothetical qt-designer@4
would download the full Qt source 19 times.
I'm thinking we can get many of the same benefits by only splitting Qt into a small number of packages: one for the main library (including Qt3Support), one for Webkit, and one for the tools (Designer, etc.).
from homebrew-qt4.
Related Issues (20)
- 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
- Issue while setting up qucs on mac m3
- Issue while installing qucs on mac m3 HOT 1
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.