Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. Independent Developers
  4. Need help for configuration
Forum Updated to NodeBB v4.3 + New Features

Need help for configuration

Scheduled Pinned Locked Moved Unsolved Independent Developers
4 Posts 2 Posters 2.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Smita
    wrote on last edited by
    #1

    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


    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #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).

      (Z(:^

      1 Reply Last reply
      0
      • S Offline
        S Offline
        Smita
        wrote on last edited by
        #3

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

        Regards,
        Smita

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          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.

          (Z(:^

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved