[MacPorts] #39860: root: problems launching the Qt GUI
#39860: root: problems launching the Qt GUI ---------------------+-------------------------------- Reporter: mojca@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: root ---------------------+-------------------------------- I'm not claiming that this is a MacPorts-only-related issue (it might be that it doesn't work on Mac at all), but this is what I get when I try to launch Qt interface in Root: {{{ root [1] gEnv->SetValue("Gui.Backend","qt"); root [2] gEnv->SetValue("Gui.Factory","qt"); root [3] gEnv->Print() ... root [4] t = new TBrowser(); ** $Id$ this=0x7faa8ce5bcd0 The font "symbol.ttf" was not installed yet Substitute it with " "Arial" " Make sure your local "~/.fonts.conf" or "/etc/fonts/fonts.conf" file points to " /opt/local/share/root/fonts " directory to get the proper support for ROOT TLatex class Jul 25 22:51:37 myhostname root.exe[27120] <Error>: CGContextSetLineCap: invalid context 0x0 Jul 25 22:51:37 myhostname root.exe[27120] <Error>: CGContextSetLineWidth: invalid context 0x0 Jul 25 22:51:37 myhostname root.exe[27120] <Error>: CGContextSetLineJoin: invalid context 0x0 Jul 25 22:51:37 myhostname root.exe[27120] <Error>: CGContextSetLineDash: invalid context 0x0 Jul 25 22:51:37 myhostname root.exe[27120] <Error>: CGContextSetStrokeColorWithColor: invalid context 0x0 Jul 25 22:51:37 myhostname root.exe[27120] <Error>: CGContextSetFillColorWithColor: invalid context 0x0 Jul 25 22:51:37 myhostname root.exe[27120] <Error>: CGContextSetLineCap: invalid context 0x0 Jul 25 22:51:37 myhostname root.exe[27120] <Error>: CGContextSetLineWidth: invalid context 0x0 Jul 25 22:51:37 myhostname root.exe[27120] <Error>: CGContextSetLineJoin: invalid context 0x0 Jul 25 22:51:37 myhostname root.exe[27120] <Error>: CGContextSetLineDash: invalid context 0x0 Jul 25 22:51:37 myhostname root.exe[27120] <Error>: CGContextSetStrokeColorWithColor: invalid context 0x0 Jul 25 22:51:37 myhostname root.exe[27120] <Error>: CGContextSetShouldAntialias: invalid context 0x0 Jul 25 22:51:37 myhostname root.exe[27120] <Error>: CGContextSetInterpolationQuality: invalid context 0x0 Jul 25 22:51:37 myhostname root.exe[27120] <Error>: CGContextBeginPath: invalid context 0x0 Jul 25 22:51:37 myhostname root.exe[27120] <Error>: CGContextAddPath: invalid context 0x0 Jul 25 22:51:37 myhostname root.exe[27120] <Error>: CGContextDrawPath: invalid context 0x0 Jul 25 22:51:37 myhostname root.exe[27120] <Error>: CGContextSetLineCap: invalid context 0x0 Jul 25 22:51:37 myhostname root.exe[27120] <Error>: CGContextSetLineWidth: invalid context 0x0 Jul 25 22:51:37 myhostname root.exe[27120] <Error>: CGContextSetLineJoin: invalid context 0x0 Jul 25 22:51:37 myhostname root.exe[27120] <Error>: CGContextSetLineDash: invalid context 0x0 Jul 25 22:51:37 myhostname root.exe[27120] <Error>: CGContextSetStrokeColorWithColor: invalid context 0x0 Jul 25 22:51:37 myhostname root.exe[27120] <Error>: CGContextSetFillColorWithColor: invalid context 0x0 Jul 25 22:51:37 myhostname root.exe[27120] <Error>: CGContextSetLineCap: invalid context 0x0 Jul 25 22:51:37 myhostname root.exe[27120] <Error>: CGContextSetLineWidth: invalid context 0x0 Jul 25 22:51:37 myhostname root.exe[27120] <Error>: CGContextSetLineJoin: invalid context 0x0 Jul 25 22:51:37 myhostname root.exe[27120] <Error>: CGContextSetLineDash: invalid context 0x0 Jul 25 22:51:37 myhostname root.exe[27120] <Error>: CGContextSetStrokeColorWithColor: invalid context 0x0 Jul 25 22:51:37 myhostname root.exe[27120] <Error>: CGContextSetShouldAntialias: invalid context 0x0 Jul 25 22:51:37 myhostname root.exe[27120] <Error>: CGContextSetInterpolationQuality: invalid context 0x0 Jul 25 22:51:37 myhostname root.exe[27120] <Error>: CGContextBeginPath: invalid context 0x0 Jul 25 22:51:37 myhostname root.exe[27120] <Error>: CGContextAddPath: invalid context 0x0 Jul 25 22:51:37 myhostname root.exe[27120] <Error>: CGContextDrawPath: invalid context 0x0 ... ad infinitum ... }}} -- Ticket URL: <https://trac.macports.org/ticket/39860> MacPorts <http://www.macports.org/> Ports system for OS X
#39860: root: problems launching the Qt GUI ----------------------+-------------------------------- Reporter: mojca@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: root | ----------------------+-------------------------------- Comment (by jonesc@…): QT support in ROOT is abysmal, in my opinion. I wanted to remove it a while back, but was convinced to add it back, but only on an 'as is' basis. In that if it works for you then great, if not, I have no interest or time to fix it. Sorry... -- Ticket URL: <https://trac.macports.org/ticket/39860#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#39860: root: problems launching the Qt GUI ----------------------+-------------------------------- Reporter: mojca@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: root | ----------------------+-------------------------------- Comment (by jonesc@…): p.s. still given the above, did you install ROOT with the QT variant enabled (not the default) ? -- Ticket URL: <https://trac.macports.org/ticket/39860#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#39860: root: problems launching the Qt GUI ----------------------+-------------------------------- Reporter: mojca@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: root | ----------------------+-------------------------------- Comment (by mojca@…): Yes, I installed it with {{{+qt_mac}}}. Just curious: is Qt something that's still being more or less actively developed or something that has been written as proof-of-concept, but nobody is really interested in maintaining actively? Would bug reports be fixed quickly? I also had the impression that Qt support in ROOT is relatively basic, but I didn't ever explore the details. -- Ticket URL: <https://trac.macports.org/ticket/39860#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#39860: root: problems launching the Qt GUI ----------------------+-------------------------------- Reporter: mojca@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: root | ----------------------+-------------------------------- Comment (by jonesc@…): I cannot answer that I'm afraid. You should ask on the ROOT mailing list or forum. Personally, my interest in QT was only ever limited to a possible alternative to using X11 as the graphics backend, and for me that is now no longer relevant given the (much better) native cocoa variant. I still favour X11, but if I was to want to move away from that, the cocoa variant is a much better option I think. Chris -- Ticket URL: <https://trac.macports.org/ticket/39860#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#39860: root: problems launching the Qt GUI ----------------------+-------------------------------- Reporter: mojca@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: root | ----------------------+-------------------------------- Comment (by mojca@…): I somehow oversaw the Cocoa variant. I asked on the forum: http://root.cern.ch/phpBB3/viewtopic.php?f=3&t=16852 Let's wait for a few days if they answer and if the solution can easily get ported to MacPorts. If not, this can be closed as {{{wontfix}}}. -- Ticket URL: <https://trac.macports.org/ticket/39860#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#39860: root: problems launching the Qt GUI ----------------------+-------------------------------- Reporter: mojca@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: wontfix | Keywords: Port: root | ----------------------+-------------------------------- Changes (by g5pw@…): * status: new => closed * resolution: => wontfix Comment: Closing as wontfix. In my opinion, we should move towards the cocoa variant. -- Ticket URL: <https://trac.macports.org/ticket/39860#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts