Details
-
Bug
-
Resolution: Invalid
-
P1: Critical
-
None
-
5.6.0 Beta
-
Linux
Description
qt-enterprise-linux-x64-5.6.0-beta_254.run
qt-opensource-linux-x64-5.6.0-beta_250.run
Install, and open QtCreator, try to compile one of the Qt3D or webengine examples (also when creating new project from File -> new file or project -> Qt Widgets Application), error output:
Linux (below is release build, but same happens with debug):
/home/joaijala/tmp/qt5/5.6/gcc_64/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/home/joaijala/tmp/qt5/5.6/gcc_64/mkspecs/linux-g++ -I/home/joaijala/work/testing/widget_example -I/home/joaijala/tmp/qt5/5.6/gcc_64/include -I/home/joaijala/tmp/qt5/5.6/gcc_64/include/QtWidgets -I/home/joaijala/tmp/qt5/5.6/gcc_64/include/QtGui -I/home/joaijala/tmp/qt5/5.6/gcc_64/include/QtCore -I. ../widget_example/mainwindow.h -o moc_mainwindow.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../widget_example -I. -I../../../tmp/qt5/5.6/gcc_64/include -I../../../tmp/qt5/5.6/gcc_64/include/QtWidgets -I../../../tmp/qt5/5.6/gcc_64/include/QtGui -I../../../tmp/qt5/5.6/gcc_64/include/QtCore -I. -I. -I../../../tmp/qt5/5.6/gcc_64/mkspecs/linux-g++ -o moc_mainwindow.o moc_mainwindow.cpp
g++ -Wl,-O1 -Wl,-rpath,/home/joaijala/tmp/qt5/5.6/gcc_64/lib -o widget_example main.o mainwindow.o moc_mainwindow.o -L/home/joaijala/tmp/qt5/5.6/gcc_64/lib -lQt5Widgets -L/usr/lib64 -lQt5Gui -lQt5Core -lGL -lpthread
/usr/bin/ld: cannot find -lGL
collect2: error: ld returned 1 exit status
make: *** [widget_example] Error 1
09:49:21: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project widget_example (kit: Desktop Qt 5.6.0 GCC 64bit)
Works correctly on Windows or Mac.
Attachments
Issue Links
- is required for
-
QTBUG-47958 Issues to be fixed before Qt 5.6.0 Beta
- Closed