Results 1 to 2 of 2

Thread: Qt5.4 not able to compile without OpenGL

  1. #1
    Join Date
    Jun 2011
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Qt5.4 not able to compile without OpenGL

    Hi all

    I'm trying to build Qt5.4.0 without OpenGL on RedHat 6
    I'm running configure like this:
    ./configure -L <censored> -L <censored> -I <censored> -qpa xcb -no-compile-examples -no-qml-debug -no-opengl

    And end up with this:
    Qt Code:
    1. qpaintervideosurface.cpp: In constructor 'QVideoSurfaceGenericPainter::QVideoSurfaceGenericPainter()':
    2. qpaintervideosurface.cpp:99:9: error: incomplete type 'QOpenGLContext' used in nested name specifier
    3. if (QOpenGLContext::openGLModuleType() != QOpenGLContext::LibGLES)
    4. ^
    5. qpaintervideosurface.cpp:99:47: error: incomplete type 'QOpenGLContext' used in nested name specifier
    6. if (QOpenGLContext::openGLModuleType() != QOpenGLContext::LibGLES)
    7. ^
    8. qpaintervideosurface.cpp: In member function 'virtual QAbstractVideoSurface::Error QVideoSurfaceGenericPainter::start(const QVideoSurfaceFormat&)':
    9. qpaintervideosurface.cpp:140:13: error: incomplete type 'QOpenGLContext' used in nested name specifier
    10. if (QOpenGLContext::openGLModuleType() == QOpenGLContext::LibGLES)
    11. ^
    12. qpaintervideosurface.cpp:140:51: error: incomplete type 'QOpenGLContext' used in nested name specifier
    13. if (QOpenGLContext::openGLModuleType() == QOpenGLContext::LibGLES)
    To copy to clipboard, switch view to plain text mode 


    Is it possible to compile Qt5 without OpenGL or is it just dead configure option?

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt5.4 not able to compile without OpenGL

    It should be possible however probably you should disable the module giving you errors.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Replies: 3
    Last Post: 16th December 2012, 11:59
  2. OpenGl compile static
    By vicbr in forum Newbie
    Replies: 0
    Last Post: 18th August 2011, 23:49
  3. cross compile qt 4.5 can not find opengl
    By lzpmail in forum Qt Programming
    Replies: 0
    Last Post: 13th April 2011, 08:49
  4. compile opengl examples
    By balinsky in forum Qt Programming
    Replies: 5
    Last Post: 16th February 2009, 00:33
  5. Compile App using OpenGL and Visual Studios 2003
    By Rayven in forum General Programming
    Replies: 3
    Last Post: 26th April 2007, 15:43

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.