display issue when launching qalculate

Joshua Root jmr at macports.org
Fri Jan 26 07:02:11 UTC 2018


Murray Davis wrote:
> This morning, I installed qalculate on my MacOSX system.
> 
> High Sierra, MacPorts up-to-date, version 2.4.2.
> 
> When I try to launch qalculate, I get the following error...
> 
> ~ $ qalculate-gtk
> 
> (qalculate-gtk:1638): Gtk-WARNING **: cannot open display
> 
> I played around with the DISPLAY environment variables as well as
> installing the mac port, xorg-server. However, the only thing that worked
> was installing XQartz and then launching qalculate from its terminal
> program.
> 
> This is not an ideal solution since the graphics of the app are very poor.
> 
> Is there another solution that would allow qalculate to open with Mac
> graphic quality?

I haven't tried it myself, but qalculate is a gtk3 app, so if the gtk3
port is installed with +quartz rather than +x11 it should display in the
native window environment.

- Josh


More information about the macports-users mailing list