Ticket #23748 (closed enhancement: fixed)
Build root against qt4-mac
| Reported by: | jochen@… | Owned by: | michaelld@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.8.2 |
| Keywords: | qt | Cc: | michaelld@… |
| Port: | root |
Description
Please change root to build against qt4-mac (not qt4-x11), or provide a corresponding variant.
Change History
comment:2 Changed 3 years ago by michaelld@…
'root's 'configure' looks for a number of Qt libraries, doesn't use pkg-config to find them, and allows for only 1 library in the 'qt' search path. By default, qt4-mac uses Framework installs for libraries, which means that each library is in a different directory (its framework) -- so not the "standard" means of libraries and paths. I would encourage someone to contact 'root' developers and request that the Qt portions of 'configure' be moved to use pkg-config since those files are well-maintained and reliable.
That said, I've hacked together a way to get around the lack of pkg-config that seems to work, and have created a variant for qt_mac and qt_x11. I don't know how to use 'root', but it all does compile and link correctly so I'll let someone else do the testing. I'll check in the changes along with those upgrading qt4-mac (per ticket #25320).
comment:3 Changed 3 years ago by mattiafrancescomoro@…
It sounds great, i try to installa latest version and i post some comments as soon as possible
comment:4 Changed 3 years ago by michaelld@…
Thanks; I'll post back here once everything is checked in & then you can try it out.


Cc Me!