Quantcast
Channel: Qt DevNet forums: Installation and Deployment
Viewing all articles
Browse latest Browse all 2113

Can not compile Qt 5.0.0

$
0
0
Hello everybody, I tried to compile Qt 5.0.0 from source but it exits with the following error: cd platformsupport/ && ( test -f Makefile || /data/trino/software/Qt/qt-everywhere-opensource-src-5.0.0/qtbase/bin/qmake /data/trino/software/Qt/qt-everywhere-opensource-src-5.0.0/qtbase/src/platformsupport/platformsupport.pro -o Makefile ) && make -f Makefile make3: Entering directory `/data/trino/software/Qt/qt-everywhere-opensource-src-5.0.0/qtbase/src/platformsupport’ g++ -c -include .pch/release-static/Qt5PlatformSupport -pipe -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -O2 -std=c+0x -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -fno-exceptions -DQT_BUILD_PLATFORMSUPPORT_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0×050000 -DQT_NO_CAST_FROM_ASCII -DQT_COMPILES_IN_HARFBUZZ -DQ_FONTCONFIGDATABASE -DQT_COMPILES_IN_HARFBUZZ -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-g+ -I. -I../../include -I../../include/QtPlatformSupport -I../../include/QtPlatformSupport/5.0.0 -I../../include/QtPlatformSupport/5.0.0/QtPlatformSupport -I/usr/include/freetype2 -I../../include/QtGui -I../../include/QtGui/5.0.0 -I../../include/QtGui/5.0.0/QtGui -I../../include/QtCore -I../../include/QtCore/5.0.0 -I../../include/QtCore/5.0.0/QtCore -I.moc/release-static -o .obj/release-static/qeglplatformcontext.o eglconvenience/qeglplatformcontext.cpp 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.cpp:62:72: error: ‘QPlatformOpenGLContext’ has not been declared eglconvenience/qeglplatformcontext.cpp: In constructor ‘QEGLPlatformContext::QEGLPlatformContext(const QSurfaceFormat&, int*, EGLDisplay, EGLenum)’: eglconvenience/qeglplatformcontext.cpp:69:70: error: invalid static_cast from type ‘int*’ to type ‘QEGLPlatformContext*’ make3: *** [.obj/release-static/qeglplatformcontext.o] Error 1 make3: Leaving directory `/data/trino/software/Qt/qt-everywhere-opensource-src-5.0.0/qtbase/src/platformsupport’ make2: *** [sub-platformsupport-make_first] Error 2 make2: Leaving directory `/data/trino/software/Qt/qt-everywhere-opensource-src-5.0.0/qtbase/src’ make1: *** [sub-src-make_first] Error 2 make1: Leaving directory `/data/trino/software/Qt/qt-everywhere-opensource-src-5.0.0/qtbase’ make: *** [module-qtbase-make_first] Error 2 Qt has been configured with the following options: ./configure -release -opensource -static -fast -largefile -no-accessibility -no-javascript-jit -qt-zlib -qt-libpng -qt-libjpeg -no-openssl -qt-pcre -qt-xcb -nomake tools -no-nis -cups -no-dbus -gtkstyle -no-opengl -no-openvg -nomake demos -nomake examples OS information: OS: Linux 3.1.10-1.16-desktop i686 System: openSUSE 12.1 (i586) 32-bit KDE: 4.7.2 (4.7.2) “release 5” Display info: Vendor: ATI Technologies Inc Model: ATI RADEON HD 4350 2D driver: radeon 3D driver: Unknown Gallium (7.11) Any ideas or tips?

Viewing all articles
Browse latest Browse all 2113

Trending Articles