[Top][All Lists]

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

[Octave-bug-tracker] [bug #55735] QGLWidget not detected, so Qt graphics

From: anonymous
Subject: [Octave-bug-tracker] [bug #55735] QGLWidget not detected, so Qt graphics toolkit is not compiled
Date: Tue, 19 Feb 2019 02:20:53 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0

Follow-up Comment #4, bug #55735 (project octave):

To be honest I hadn't tried.  Using

pkg-config --cflags QtCore QtGui QtHelp QtNetwork QtOpenGL QtSql QtXml

to obtain the include paths required, I configured Octave 5.0.91-7b9a5ab8350f

../configure ... --with-qt=4 CPPFLAGS="-I/usr/lib64/qt/include
-I/usr/lib64/qt/include/QtHelp -I/usr/lib64/qt/include
-I/usr/lib64/qt/include/QtNetwork -I/usr/lib64/qt/include
-I/usr/lib64/qt/include/QtOpenGL -I/usr/lib64/qt/include
-I/usr/lib64/qt/include/QtGui -I/usr/lib64/qt/include
-I/usr/lib64/qt/include/QtSql -I/usr/lib64/qt/include
-I/usr/lib64/qt/include/QtXml -I/usr/lib64/qt/include

Configure appears to have found OpenGL in this case:

checking QGLWidget usability... yes
checking QGLWidget presence... yes
checking for QGLWidget... yes
checking whether Qt works with OpenGL and GLU... yes
Build Octave Qt GUI:                  yes (version: 4)

Based on this, I agree that this would be a reasonable workaround for future
Octave 5 users who need to compile against Qt4.  The need to do this would
just need to be documented so the information can be found by those who need

Regarding the attachment (which evidently failed on the second attempt), the
"configure" script is a touch over 2 MB (2276063 bytes), so you are probably
right.  The note on the page talking about a 16 MB limit had me thinking there
was something else going on (perhaps it didn't like scripts for example).


Reply to this item at:


  Message sent via Savannah

reply via email to

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