Results 1 to 2 of 2

Thread: Qt Embedded + OpenGL problem

  1. #1
    Join Date
    Sep 2008
    Posts
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Question Qt Embedded + OpenGL problem

    Hi

    I'm having problems configuring opengl to work with qt 4.4.1 embedded. I did install qt x11 first and hellogl compiles and runs fine on that. However once I installed qt embedded I couldn't include QGLWidget because there is no /usr/local/Trolltech/QtEmbedded-4.4.1/include/QtOpenGL/ folder. Shouldn't it be there?

    I also have OpenGL ES sdk installed and I would prefer to use that instead of regular OpenGL, but I can live with the regular + qt embedded combo also. What exactly am I supposed to do after installing qt x11? The documentation isn't very clear on this, since all it says is to include QGLWidget header and then code away.

    My environment:
    Ubuntu Hardy
    Qt X11 opensource 4.4.1
    Qt embedded opensource 4.4.1
    Don't know which version of desktop OpenGL I have but it's installed.
    OpenGL ES SDK 1.5.30

    Thanks for any advice and please don't hesitate to suggest anything. I might have missed something very obvious .

  2. #2
    Join Date
    Apr 2008
    Posts
    3
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Qt Embedded + OpenGL problem

    when you install qt embedded opensource 4.4.1, did you run configure like this:
    ./configure -opengl es1 -qvfb
    and also you should set the include path and lib path of opengl es let the qt embedded to know.

Similar Threads

  1. Problem with QT embedded and touchscreen calibration.
    By webquinty in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 2nd July 2008, 12:33
  2. problem in rendering opengl on QGraphicsView
    By Sandip in forum Qt Programming
    Replies: 17
    Last Post: 15th April 2008, 09:27
  3. Problem when mixing openGL and QPainter
    By sanjayshelke in forum Qt Programming
    Replies: 9
    Last Post: 21st March 2008, 13:49
  4. problem with opengl, zooming, drawpixels, and origin
    By ntp in forum General Programming
    Replies: 0
    Last Post: 22nd February 2008, 22:48
  5. OpenGL glGet problem
    By Cloudy in forum General Programming
    Replies: 1
    Last Post: 27th December 2006, 00:10

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.