Opened 15 years ago

Closed 14 years ago

#23748 closed enhancement (fixed)

Build root against qt4-mac

Reported by: jochen@… Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: qt Cc: michaelld (Michael Dickens)
Port: root

Description

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

Change History (6)

comment:1 Changed 15 years ago by michaelld (Michael Dickens)

Cc: michaelld@… added

Cc Me!

comment:2 Changed 14 years ago by michaelld (Michael Dickens)

'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 14 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 14 years ago by michaelld (Michael Dickens)

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

comment:5 Changed 14 years ago by michaelld (Michael Dickens)

Owner: changed from mattiafrancescomoro@… to michaelld@…

comment:6 Changed 14 years ago by michaelld (Michael Dickens)

Resolution: fixed
Status: newclosed

Fixed in r69270 .

Note: See TracTickets for help on using tickets.