Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Static build Qt 5.02 on OpenSuse 12.3 fails
Forum Updated to NodeBB v4.3 + New Features

Static build Qt 5.02 on OpenSuse 12.3 fails

Scheduled Pinned Locked Moved Installation and Deployment
1 Posts 1 Posters 668 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Lionelv00
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved