Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Cross compile QtBase for RaspberryPI CM3 without the raspberry toolchain

Cross compile QtBase for RaspberryPI CM3 without the raspberry toolchain

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
3 Posts 2 Posters 366 Views
  • 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.
  • D Offline
    D Offline
    dxvx
    wrote on last edited by
    #1

    Hello Everyone,
    I have followed this Qt5 tutorial in order to build Qt5 for raspberry pi CM3.
    Why all the time I want to try another compiler (like GCC9 from the latest ubuntu repo) the error is:

    ERROR: The OpenGL functionality tests failed!
    You might need to modify the include and library search paths by editing QMAKE_INCDIR_OPENGL[_ES2],
    QMAKE_LIBDIR_OPENGL[_ES2] and QMAKE_LIBS_OPENGL[_ES2] in the mkspec for your platform.
    

    the ./configure command is:

    ./configure -release -opensource -confirm-license -opengl es2 -no-use-gold-linker -v -nomake examples -nomake tests \
    -device linux-rasp-pi3-g++ -device-option CROSS_COMPILE=arm-linux-gnueabihf- \
    -sysroot ~/workspaces/rasp10_cons_1 -prefix /opt/qt5 -extprefix ~/workspaces/qt/qt5-pi -hostprefix ~/workspaces/qt/qt5-tools
    

    Many thanks in advice,
    regards.

    Pablo J. RoginaP 1 Reply Last reply
    0
    • D dxvx

      Hello Everyone,
      I have followed this Qt5 tutorial in order to build Qt5 for raspberry pi CM3.
      Why all the time I want to try another compiler (like GCC9 from the latest ubuntu repo) the error is:

      ERROR: The OpenGL functionality tests failed!
      You might need to modify the include and library search paths by editing QMAKE_INCDIR_OPENGL[_ES2],
      QMAKE_LIBDIR_OPENGL[_ES2] and QMAKE_LIBS_OPENGL[_ES2] in the mkspec for your platform.
      

      the ./configure command is:

      ./configure -release -opensource -confirm-license -opengl es2 -no-use-gold-linker -v -nomake examples -nomake tests \
      -device linux-rasp-pi3-g++ -device-option CROSS_COMPILE=arm-linux-gnueabihf- \
      -sysroot ~/workspaces/rasp10_cons_1 -prefix /opt/qt5 -extprefix ~/workspaces/qt/qt5-pi -hostprefix ~/workspaces/qt/qt5-tools
      

      Many thanks in advice,
      regards.

      Pablo J. RoginaP Offline
      Pablo J. RoginaP Offline
      Pablo J. Rogina
      wrote on last edited by
      #2

      @dxvx said in Cross compile QtBase for RaspberryPI CM3 without the raspberry toolchain:

      Why all the time I want to try another compiler

      Have you succeeded with the toolchain suggested in that tutorial?

      Upvote the answer(s) that helped you solve the issue
      Use "Topic Tools" button to mark your post as Solved
      Add screenshots via postimage.org
      Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

      D 1 Reply Last reply
      0
      • Pablo J. RoginaP Pablo J. Rogina

        @dxvx said in Cross compile QtBase for RaspberryPI CM3 without the raspberry toolchain:

        Why all the time I want to try another compiler

        Have you succeeded with the toolchain suggested in that tutorial?

        D Offline
        D Offline
        dxvx
        wrote on last edited by dxvx
        #3

        @Pablo-J-Rogina yes, I have already build qtbase and qtmultimedia with the toolchain reccomended by raspbian.
        If I take the same command "./configure..." changing the default toolchain with another one I have the error.
        I have already tested my toolchain building some test c and c++ programs.

        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