Need help for configuration



  • Hello,

    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 .

    Regards,
    Smita


    ./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[5]: *** [sub-attaq] Error 1
    make[5]: 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[4]: *** [sub-sub-attaq-make_first] Error 2
    make[4]: 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[3]: *** [sub-animation-make_first] Error 2
    make[3]: 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[2]: *** [sub-widgets-make_first] Error 2
    make[2]: 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[1]: *** [sub-examples-make_first] Error 2
    make[1]: 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



  • Moderators

    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).



  • Thanks for your inputs , could you please let me know how can I skip opengl

    Regards,
    Smita


  • Moderators

    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.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.