Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Unsolved Cross compile QtBase for RaspberryPI CM3 without the raspberry toolchain

    Mobile and Embedded
    2
    3
    164
    Loading More Posts
    • 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
      dxvx last edited by

      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. Rogina 1 Reply Last reply Reply Quote 0
      • Pablo J. Rogina
        Pablo J. Rogina @dxvx last edited by

        @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 Reply Quote 0
        • D
          dxvx @Pablo J. Rogina last edited by dxvx

          @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 Reply Quote 0
          • First post
            Last post