New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #23748 (closed enhancement: fixed)

Opened 7 years ago

Last modified 6 years ago

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


Please change root to build against qt4-mac (not qt4-x11), or provide a corresponding variant.

Change History

comment:1 Changed 7 years ago by michaelld@…

  • Cc michaelld@… added

Cc Me!

comment:2 Changed 6 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 6 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 6 years ago by michaelld@…

Thanks; I'll post back here once everything is checked in & then you can try it out.

comment:5 Changed 6 years ago by michaelld@…

  • Owner changed from mattiafrancescomoro@… to michaelld@…

comment:6 Changed 6 years ago by michaelld@…

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in r69270 .

Note: See TracTickets for help on using tickets.