Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 394671

Summary: [qting-edge] QtQuick3d doesn't compile with Qt4.8.0
Product: Gentoo Linux Reporter: Aleksey Sidorov <gorthauer87>
Component: [OLD] DevelopmentAssignee: Qt Bug Alias <qt>
Status: RESOLVED UPSTREAM    
Severity: normal    
Priority: Low    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Aleksey Sidorov 2011-12-14 10:38:05 UTC
Try to build on that guide. 
http://doc.qt.nokia.com/qt-quick3d-snapshot/qt3d-building.html
With Qt4.7.4 everything works, but with an error 4.8.0rc

x86_64-pc-linux-gnu-g++ -c -pipe -O2 -pipe -march=native -msse3 -mfpmath=sse -m3dnow -Wall -W -D_REENTRANT -DQT_NO_EGL -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4 -I../../../include/Qt3D -I/usr/X11R6/include -I. -I. -o moc_qglinfowindow.o moc_qglinfowindow.cpp
x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -Wl,-rpath,/usr/lib64/qt4 -o qglinfo main.o qglinfowindow.o qglinfo.o aboutdialog.o fpswidget.o moc_qglinfowindow.o moc_qglinfo.o moc_aboutdialog.o moc_fpswidget.o qrc_qglinfo.o    -L/usr/lib64/qt4 -L/usr/lib64 -L../../../src/threed -lQt3D -lQtOpenGL -L/usr/lib64 -L/usr/lib64/qt4 -L/usr/X11R6/lib -lQtGui -lQtCore -lgthread-2.0 -lrt -lglib-2.0 -lGL -lpthread 
make[3]: Выход из каталога `/var/tmp/portage/x11-libs/qtquick3d-9999/work/quick3d/util/qt3d/qglinfo'
x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -Wl,-rpath,/usr/lib64/qt4 -o modeltweak main.o quickfile.o moc_quickfile.o    -L/usr/lib64/qt4 -L/usr/lib64 -L../../../src/quick3d -lQt3DQuick -L../../../src/threed -lQt3D -lQtDeclarative -L/usr/lib64 -L/usr/lib64/qt4 -lQtScript -lQtSvg -L/usr/X11R6/lib -lQtSql -L/usr/lib64/mysql -lQtXmlPatterns -lQtNetwork -lQtOpenGL -lQtGui -lQtCore -lgthread-2.0 -lrt -lglib-2.0 -lGL -lpthread 
/usr/lib64/qt4/libQt3D.so: undefined reference to `QGLContextResource::QGLContextResource(void (*)(void*))'
/usr/lib64/qt4/libQt3D.so: undefined reference to `QGLContextResource::~QGLContextResource()'
/usr/lib64/qt4/libQt3D.so: undefined reference to `QGLContextResource::insert(QGLContext const*, void*)'
/usr/lib64/qt4/libQt3D.so: undefined reference to `QGLContextResource::value(QGLContext const*)'

emerge -- info

http://pastebin.kde.org/158720/


Reproducible: Always
Comment 1 Davide Pesavento (RETIRED) gentoo-dev 2011-12-17 11:37:12 UTC
Please don't use pastebin for things like emerge --info and build logs, but attach them to bugzilla. You haven't provided the full build.log by the way...

This is not high priority anyway, afaik QtQuick3D is still in the "tech preview" stage of development. Could you report this bug upstream please?