[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #62660] Cannot see a plot on qt graphics on 7.
From: |
Giuseppe Baffi |
Subject: |
[Octave-bug-tracker] [bug #62660] Cannot see a plot on qt graphics on 7.1.0 windows |
Date: |
Sun, 12 Mar 2023 14:31:29 -0400 (EDT) |
Follow-up Comment #29, bug #62660 (project octave):
hello everybody,
I hope this can help,
I found a simple workaround.
This morning I tried last release, octave-8.1.0. I used the 7z archive.
Still it was not working with qt graphic toolkit, after calling a plot it was
opening a blank window and nothing else.
After searching the net I discovered that the opengl32 and qt issue is quite
common with the Intel HD 3000 card.
One suggestion was to set a new environmental variable QT_OPENGL to "desktop".
I tried opening a cmd shell, passing the command
set QT_OPENGL=desktop
and then calling from the cmd shell "octave-launch.exe"
And it worked using the qt graphic toolkit (I tried directly the sombrero
function).
So I made a octave.bat file (outside the folder) with the following lines
set QT_OPENGL=desktop
octave-8.1.0-w64\octave-launch.exe
and it worked by double clicking the bat file (but leaving the cmd shell
open).
I tried also to set the environmental variable in windows 10 as above, reboot,
and it worked by double clicking on octave-launch.exe
Next I removed the environmental variable installed octave with system opengl,
rebooted and it did not work.
Next I recreated the environmental variable, rebooted and it did work (now
using the "GNU Octave (Local) (GUI)" icon created by the installer).
I am just wondering if there is any way of allowing the users to select
"QT_OPENGL=desktop" option without setting the environmental variables in
windows 10.
Regards
pino
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62660>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #62660] Cannot see a plot on qt graphics on 7.1.0 windows,
Giuseppe Baffi <=