[Interest] Building Qt 5.11.0 with -no-opengl
Igor Mironchik
igor.mironchik at gmail.com
Tue Jun 12 07:16:40 CEST 2018
Hello,
Is it possible to build Qt 5.11 with -no-opengl option?
I tried to do this and got:
g++ -c -pipe -g -Og -fPIC -std=c++1z -fvisibility=hidden
-fvisibility-inlines-hidden -fno-exceptions -Wall -W -Wvla -Wdate-time
-D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS
-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_EXCEPTIONS
-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_STATICPLUGIN -DQT_PLUGIN
-DQT_SERVICE_SUPPORT_LIB -DQT_WAYLANDCLIENT_LIB -DQT_GUI_LIB
-DQT_CORE_LIB -I.
-I../../../../hardwareintegration/client/shm-emulation-server
-I../../../../../include/QtWaylandClient/5.11.0
-I../../../../../include/QtWaylandClient/5.11.0/QtWaylandClient
-I/home/igor/Work/Qt/stable/qt-everywhere-src-5.11.0/qtbase/include
-I/home/igor/Work/Qt/stable/qt-everywhere-src-5.11.0/qtbase/include/QtServiceSupport
-I/home/igor/Work/Qt/stable/qt-everywhere-src-5.11.0/qtbase/include/QtServiceSupport/5.11.0
-I/home/igor/Work/Qt/stable/qt-everywhere-src-5.11.0/qtbase/include/QtServiceSupport/5.11.0/QtServiceSupport
-I/home/igor/Work/Qt/stable/qt-everywhere-src-5.11.0/qtbase/include/QtGui/5.11.0
-I/home/igor/Work/Qt/stable/qt-everywhere-src-5.11.0/qtbase/include/QtGui/5.11.0/QtGui
-I../../../../../include -I../../../../../include/QtWaylandClient
-I/home/igor/Work/Qt/stable/qt-everywhere-src-5.11.0/qtbase/include/QtGui
-I/home/igor/Work/Qt/stable/qt-everywhere-src-5.11.0/qtbase/include/QtCore/5.11.0
-I/home/igor/Work/Qt/stable/qt-everywhere-src-5.11.0/qtbase/include/QtCore/5.11.0/QtCore
-I/home/igor/Work/Qt/stable/qt-everywhere-src-5.11.0/qtbase/include/QtCore
-I.moc
-I/home/igor/Work/Qt/stable/qt-everywhere-src-5.11.0/qtbase/mkspecs/linux-g++
-o .obj/shmserverbufferintegration.o
../../../../hardwareintegration/client/shm-emulation-server/shmserverbufferintegration.cpp
../../../../hardwareintegration/client/shm-emulation-server/shmserverbufferintegration.cpp:
In function ‘QOpenGLTexture* createTextureFromShm(const QString&, int,
int, int, int)’:
../../../../hardwareintegration/client/shm-emulation-server/shmserverbufferintegration.cpp:81:10:
error: ‘QOpenGLContext’ has not been declared
if (!QOpenGLContext::currentContext())
^
../../../../hardwareintegration/client/shm-emulation-server/shmserverbufferintegration.cpp:84:43:
error: incomplete type ‘QOpenGLTexture’ used in nested name specifier
auto *tex = new QOpenGLTexture(image,
QOpenGLTexture::DontGenerateMipMaps);
^
../../../../hardwareintegration/client/shm-emulation-server/shmserverbufferintegration.cpp:84:78:
error: invalid use of incomplete type ‘class QOpenGLTexture’
auto *tex = new QOpenGLTexture(image,
QOpenGLTexture::DontGenerateMipMaps);
^
In file included from
../../../../../include/QtWaylandClient/5.11.0/QtWaylandClient/private/qwaylandserverbufferintegration_p.h:1:0,
from
../../../../hardwareintegration/client/shm-emulation-server/shmserverbufferintegration.h:45,
from
../../../../hardwareintegration/client/shm-emulation-server/shmserverbufferintegration.cpp:40:
../../../../../include/QtWaylandClient/5.11.0/QtWaylandClient/private/../../../../../src/client/hardwareintegration/qwaylandserverbufferintegration_p.h:62:7:
note: forward declaration of ‘class QOpenGLTexture’
class QOpenGLTexture;
^
Makefile:1255: recipe for target '.obj/shmserverbufferintegration.o' failed
More information about the Interest
mailing list