Details
-
Bug
-
Resolution: Cannot Reproduce
-
P1: Critical
-
None
-
5.1.0
-
None
-
Windows 7, Visual Studio 2010, building with nmake from VS command prompt
Description
Building Qt 5.1 using the following command line:
> configure -no-angle -no-opengl -openssl-linked -debug-and-release -shared -nomake demos -nomake examples -debug-and-release -qt-sql-mysql -qt-sql-odbc -qt-zlib -platform win32-msvc2010 -I C:\mysql_c\mysql-connector-c-6.0.2\include -L C:\mysql_c\mysql-connector-c-6.0.2\libmysql\Debug -L C:\mysql_c\ mysql-connector-c-6.0.2\libmysql\Release -l libmysql -L C:\OpenSSL-Win32\lib -I
C:\OpenSSL-Win32\include -l ssleay32 -l libeay32
> nmake
As you can see, -no-angle and -no-opengl are both specified.
For some reason, Qt still tries to make openGL stuff as:
kernel\qplatformopenglcontext.cpp(90) : error C2653: 'QPlatformOpenGLContext' : is not a class or namespace name
kernel\qplatformopenglcontext.cpp(91) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
kernel\qplatformopenglcontext.cpp(92) : error C2550: 'QPlatformOpenGLContext' : constructor initializer lists are only allowed on constructor definitions
kernel\qplatformopenglcontext.cpp(93) : warning C4508: QPlatformOpenGLContext'
: function should return a value; 'void' return type assumed
kernel\qplatformopenglcontext.cpp(95) : error C2653: 'QPlatformOpenGLContext' : is not a class or namespace name
kernel\qplatformopenglcontext.cpp(95) : fatal error C1903: unable to recover from previous error(s); stopping compilation
Probably openGL related stuff should not be compiled when -no-opengl is configured.
I saw a similar bug report for 5.0 and that was closed as "Looking good" but it does not.