Static build Qt 5.02 on OpenSuse 12.3 fails



  • 0 down vote favorite

    I can't for the life of me get Qt 5.02 to build statically on OpenSuse 12.3. Here is the latest options I've tried and the resulting error:

    @./configure -opensource -nomake examples -nomake tests -static -debug-and-release -no-opengl -nomake tools -platform linux-g++-32 -v -no-c++11@

    Then I type "make" and get the following error:

    @In file included from eglconvenience/qeglplatformcontext.cpp:42:0:
    eglconvenience/qeglplatformcontext_p.h:50:1: error: expected class-name before ‘{’ token
    eglconvenience/qeglplatformcontext_p.h:52:55: error: ‘QPlatformOpenGLContext’ has not been declared
    eglconvenience/qeglplatformcontext_p.h:54:55: error: ‘QPlatformOpenGLContext’ has not been declared
    eglconvenience/qeglplatformcontext_p.h:75:45: error: ‘QPlatformOpenGLContext’ has not been declared
    eglconvenience/qeglplatformcontext.cpp:62:72: error: ‘QPlatformOpenGLContext’ has not been declared
    eglconvenience/qeglplatformcontext.cpp:71:72: error: ‘QPlatformOpenGLContext’ has not been declared
    eglconvenience/qeglplatformcontext.cpp:80:62: error: ‘QPlatformOpenGLContext’ has not been declared
    eglconvenience/qeglplatformcontext.cpp: In member function ‘void QEGLPlatformContext::init(const QSurfaceFormat&, int*)’:
    eglconvenience/qeglplatformcontext.cpp:83:70: error: invalid static_cast from type ‘int*’ to type ‘QEGLPlatformContext*’
    make[3]: *** [.obj/release-static/qeglplatformcontext.o] Error 1@

    Any help appreciated.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.