octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #54862] New error messages when plotting after


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #54862] New error messages when plotting after octave started with --no-gui-libs
Date: Thu, 18 Oct 2018 00:10:17 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #1, bug #54862 (project octave):

My recent change was intended to defer loading the qt graphics toolkit until
it is needed.  Although it might be nice to have it available to octave-cli,
doing that is a more complicated job than I'm interested in doing at the
moment.  So I think we should just make the qt toolkit unavailable to
octave-cli for now.  The following line in the libgui/graphics/PKG_ADD file is
supposed to do that:


if (__have_feature__ ("QT") && __have_feature__ ("OPENGL") &&
have_window_system ()) register_graphics_toolkit ("qt"); endif


However, this fails because the __have_feature__ tests will both be true if
configure finds those features, even though the Qt libraries are not linked
with octave-cli.  So what other test can we do here to determine that the Qt
libraries are not loaded, even though configure found them?  isguirunning is
not the right thing here, because it will return false when Octave (with the
Qt libraries) is started in command-line mode, and in that case the qt
graphics toolkit does work.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?54862>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]