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. Building Qt5 for Embedded Linux -> Problem with OpenGL
Forum Updated to NodeBB v4.3 + New Features

Building Qt5 for Embedded Linux -> Problem with OpenGL

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 3 Posters 2.7k 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.
  • P Offline
    P Offline
    Plox
    wrote on last edited by
    #1

    Good day fellow programmers,
    I am trying to deploy an application to a Raspberry Pi running Debian.
    So far I have been following this guide: http://www.ics.com/blog/building-qt-5-raspberry-pi#.Uf4cV-F3Q5a
    However I am experiencing problems when it comes to building Qt 5.

    These steps lead to the problem:
    @$ ./configure
    -release
    -opengl es2
    -optimized-qmake
    -no-pch
    -make libs
    -make tools
    -reduce-exports
    -sysroot /mnt/raspberry-rootfs
    -device linux-rasp-pi-g++
    -device-option CROSS_COMPILE=~/raspberry/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-
    -prefix /usr/local/Qt-5.1.0-raspberry
    @

    This is the error output:
    @Could not determine the target architecture!
    Turn on verbose messaging (-v) to see the final report.
    All the OpenGL functionality tests failed!
    You might need to modify the include and library search paths by editing
    QMAKE_INCDIR_OPENGL, QMAKE_LIBDIR_OPENGL and QMAKE_LIBS_OPENGL in
    /home/parallels/qt-everywhere-opensource-src-5.1.0/qtbase/mkspecs/devices/linux-rasp-pi-g++.
    @

    Does anyone has an idea to solve this issue?
    Any help wpuld be greatly appreciated!

    Thanks a lot!

    1 Reply Last reply
    0
    • A Offline
      A Offline
      Adrien Leravat
      wrote on last edited by
      #2

      Hi Plox,

      You may want to have a look here, this page proposes a solution regarding your issue:
      http://qt-project.org/wiki/RaspberryPi_Beginners_guide

      Regards

      Adeneo Embedded - www.adeneo-embedded.com

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

        Confirm if following paths exist on your development machine

        /mnt/raspberry-rootfs/opt/vc/lib
        /mnt/raspberry-rootfs/opt/vc/include
        /mnt/raspberry-rootfs/opt/vc/include/interface/vcos
        /mnt/raspberry-rootfs/opt/vc/include/interface/vmcs_host

        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