Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - src/pagerenderer.h:10:30: error: QtOpenGL/QGLBuffer: No such file or directory: (3 Items)
   
src/pagerenderer.h:10:30: error: QtOpenGL/QGLBuffer: No such file or directory  
I am in the process of building OpenGL support on QNX6.5.0 VMware target self hosted with QT 4.7.1.  I am running in to 
below compile error. 

# qmake
QMAKESPEC has not been set, so configuration cannot be deduced.
Error processing project file: /tmp/openbook_v1_0/openbook/openbook.pro
# make
ntox86-g++ -c -pipe -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NE
650/target/qnx6/usr/share/qt4/mkspecs/unsupported/qws/qnx-i386-g++ -I. -I/usr/qnx650/target/
/qnx650/target/qnx6/usr/include/qt4/QtNetwork -I/usr/qnx650/target/qnx6/usr/include/qt4/QtGu
clude/qt4/QtOpenGL -I/usr/qnx650/target/qnx6/usr/include/qt4 -Isrc -Iinneraddengine_src -I.
aengine.cpp
In file included from inneraddengine_src/iaengine.h:14,
                 from inneraddengine_src/iaengine.cpp:5:
inneraddengine_src/xmle.h:120: warning: type qualifiers ignored on function return type
inneraddengine_src/iaengine.h: In constructor 'IAEngine::IAEngine(QObject*, QString)':
inneraddengine_src/iaengine.h:59: warning: 'IAEngine::m_adCapsules' will be initialized afte
inneraddengine_src/iaengine.h:55: warning:   'QNetworkReply* IAEngine::m_latestRequestReply'
inneraddengine_src/iaengine.cpp:22: warning:   when initialized here
inneraddengine_src/iaengine.cpp: In static member function 'static void IAEngine::nodeReadyC
inneraddengine_src/iaengine.cpp:125: warning: deprecated conversion from string constant to
ntox86-g++ -c -pipe -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NE
650/target/qnx6/usr/share/qt4/mkspecs/unsupported/qws/qnx-i386-g++ -I. -I/usr/qnx650/target/
/qnx650/target/qnx6/usr/include/qt4/QtNetwork -I/usr/qnx650/target/qnx6/usr/include/qt4/QtGu
clude/qt4/QtOpenGL -I/usr/qnx650/target/qnx6/usr/include/qt4 -Isrc -Iinneraddengine_src -I.
cpp
In file included from inneraddengine_src/xmle.cpp:5:
inneraddengine_src/xmle.h:120: warning: type qualifiers ignored on function return type
inneraddengine_src/xmle.cpp: In member function 'char* TXML::Node::getAttribute(char*)':
inneraddengine_src/xmle.cpp:145: warning: deprecated conversion from string constant to 'cha
inneraddengine_src/xmle.cpp: At global scope:
inneraddengine_src/xmle.cpp:234: warning: type qualifiers ignored on function return type
ntox86-g++ -c -pipe -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NE
650/target/qnx6/usr/share/qt4/mkspecs/unsupported/qws/qnx-i386-g++ -I. -I/usr/qnx650/target/
/qnx650/target/qnx6/usr/include/qt4/QtNetwork -I/usr/qnx650/target/qnx6/usr/include/qt4/QtGu
clude/qt4/QtOpenGL -I/usr/qnx650/target/qnx6/usr/include/qt4 -Isrc -Iinneraddengine_src -I.
In file included from src/bookpage.h:8,
                 from src/book.h:11,
                 from src/book.cpp:5:
src/pagerenderer.h:10:30: error: QtOpenGL/QGLBuffer: No such file or directory
src/pagerenderer.h:11:30: error: QtOpenGL/QGLWidget: No such file or directory
src/pagerenderer.h:12:39: error: QtOpenGL/qglshaderprogram.h: No such file or directory
In file included from src/bookpage.h:8,
                 from src/book.h:11,
                 from src/book.cpp:5:
src/pagerenderer.h:29: error: ISO C++ forbids declaration of 'QGLShaderProgram' with no type
src/pagerenderer.h:29: error: 'QGLShaderProgram' declared as an 'inline' field
src/pagerenderer.h:29: error: expected ';' before '&' token
src/pagerenderer.h:30: error: expected ';' before 'inline'
src/pagerenderer.h:30: error: 'GLuint' does not name a type
src/pagerenderer.h:31: error: 'GLuint' does not name a type
src/pagerenderer.h:32: error: 'GLuint' does not name a type
src/pagerenderer.h:33: error: 'GLuint' does not name a type
src/pagerenderer.h:34: error: ISO C++ forbids declaration of 'QGLBuffer' with no type
src/pagerenderer.h:34: error: 'QGLBuffer' declared as an 'inline' field
src/pagerenderer.h:34: error: expected ';' before '*' token
src/pagerenderer.h:35: error: expected ';' before 'inline'
src/pagerenderer.h:42: error: ISO C++ forbids...
View Full Message
Attachment: Text Makefile 13.94 KB
Re: src/pagerenderer.h:10:30: error: QtOpenGL/QGLBuffer: No such file or directory  
In the Qt public repository. QNX follows the "embedded Linux" model... and that model has no openGL support.  

I built from repository a couple of weeks ago, and no "GL" libraries were built.

This changes with 5.x - I assume - because I have a KDAB Qt5 demo showing openGL running on Playbook.   

But note that from 4.8 to 5.x, the QNX graphics model changes and you need a "next gen" graphics subsystem - not 
publicly available yet.
Re: src/pagerenderer.h:10:30: error: QtOpenGL/QGLBuffer: No such file or directory  
Dennis,

the solution to get rid of the gf or "next gen" trouble is to port the 
X-Org stuff to QNX 6.5 :)

--Armin

Dennis Kellly wrote:
> In the Qt public repository. QNX follows the "embedded Linux" model... and that model has no openGL support.
>
> I built from repository a couple of weeks ago, and no "GL" libraries were built.
>
> This changes with 5.x - I assume - because I have a KDAB Qt5 demo showing openGL running on Playbook.
>
> But note that from 4.8 to 5.x, the QNX graphics model changes and you need a "next gen" graphics subsystem - not 
publicly available yet.
>
>
>
>
> _______________________________________________
>
> Qt General
> http://community.qnx.com/sf/go/post94669
> To cancel your subscription to this discussion, please e-mail general-qt-unsubscribe@community.qnx.com
>