Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Need help for configuration
Smita last edited by
I am new to Qt, I am trying to configure Qt for atmel sama5d2 processor.
but I am getting error OpenGL related error when I try to make it after configuration. Below is message I am getting on executing the make command.
Can some one help me to understand what is going wrong ? What should I do to fix the error?
thanks in advance .
./configure -device linux-arm-generic-g++ -device-option CROSS_COMPILE=arm-linux-gnueabihf-g++ -xplatform linux-arm-gnueabihf-g++ -opensource -confirm-license -skip qtandroidextras -skip qtgraphicaleffects -skip qtgamepad -skip qtimageformats -skip qt3d -skip qtcanvas3d -skip qtlocation -skip qtactiveqt -gui -widgets
after make command at end iam getting following error
/usr/lib/gcc-cross/arm-linux-gnueabihf/5/../../../../arm-linux-gnueabihf/bin/ld.gold: warning: skipping incompatible /home/ubuntu/qt/qt-everywhere-opensource-src-5.7.1/qtbase/lib/libQt5OpenGL.so while searching for Qt5OpenGL
/usr/lib/gcc-cross/arm-linux-gnueabihf/5/../../../../arm-linux-gnueabihf/bin/ld.gold: error: cannot find -lQt5OpenGL
collect2: error: ld returned 1 exit status
Makefile:260: recipe for target 'sub-attaq' failed
make: *** [sub-attaq] Error 1
make: Leaving directory '/home/ubuntu/qt/qt-everywhere-opensource-src-5.7.1/qtbase/examples/widgets/animation/sub-attaq'
Makefile:198: recipe for target 'sub-sub-attaq-make_first' failed
make: *** [sub-sub-attaq-make_first] Error 2
make: Leaving directory '/home/ubuntu/qt/qt-everywhere-opensource-src-5.7.1/qtbase/examples/widgets/animation'
Makefile:58: recipe for target 'sub-animation-make_first' failed
make: *** [sub-animation-make_first] Error 2
make: Leaving directory '/home/ubuntu/qt/qt-everywhere-opensource-src-5.7.1/qtbase/examples/widgets'
Makefile:303: recipe for target 'sub-widgets-make_first' failed
make: *** [sub-widgets-make_first] Error 2
make: Leaving directory '/home/ubuntu/qt/qt-everywhere-opensource-src-5.7.1/qtbase/examples'
Makefile:71: recipe for target 'sub-examples-make_first' failed
make: *** [sub-examples-make_first] Error 2
make: Leaving directory '/home/ubuntu/qt/qt-everywhere-opensource-src-5.7.1/qtbase'
Makefile:67: recipe for target 'module-qtbase-make_first' failed
make: *** [module-qtbase-make_first] Error 2
Please check configure summary - what did it say about OpenGL support?
From a quick look at your CPU specs it seems that it does not support OpenGL http://www.atmel.com/products/microcontrollers/arm/sama5.aspx#SAMA5D2_series
Qt 5 requires OpenGL, you can't use it on that board (unless you emulate OpenGL with mesa, or use the software renderer for Qt Quick - but I see whom config line that you intend to use QtWidgets module. Not sure if that would work at all).
Smita last edited by
Thanks for your inputs , could you please let me know how can I skip opengl
See the docs for QtQuick 2D renderer. I've never used it so I can't help much more than that. I have no idea if that renderer works with Widgets, for example.