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

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

[Octave-bug-tracker] [bug #40609] "octave --no-gui" can't run QtHandles


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #40609] "octave --no-gui" can't run QtHandles
Date: Sun, 17 Nov 2013 16:55:47 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:25.0) Gecko/20100101 Firefox/25.0

URL:
  <http://savannah.gnu.org/bugs/?40609>

                 Summary: "octave --no-gui" can't run QtHandles 
                 Project: GNU Octave
            Submitted by: pantxo
            Submitted on: dim. 17 nov. 2013 16:55:47 GMT
                Category: Plotting with OpenGL
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Crash
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

AFAIU, the "--no-gui" option of octave is aimed at running Qt based
graphics_toolkits without the needing the complete GUI.

Currently the use of QCoreApplication in no-gui mode, prevents QtHandles from
working. The following error is returned before crash:


octave:1> graphics_toolkit ("qt")
octave:2> plot (1:10)
Fatal: QWidget: Cannot create a QWidget when no GUI is being used
panic: Aborted -- stopping myself...


This is consistent on mac os x 10.7 and linux mint 14.

Simply replacing QCoreApplication by QApplication is not a solution. It lets
figures be created and work properly ... until you want to close theim :


octave:1> graphics_toolkit ("qt")
octave:2> plot (1:10)
octave:3> sombrero
octave:4> close (1)
Warning: QThread: Destroyed while thread is still running
octave:5>address@hidden ~/dev/QtHandles $


After that octave silently crashes.





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?40609>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.gnu.org/




reply via email to

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