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. Easy way to install Qt 5.10 on Raspberry Pi ?
Forum Updated to NodeBB v4.3 + New Features

Easy way to install Qt 5.10 on Raspberry Pi ?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
8 Posts 5 Posters 4.4k Views 3 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.
  • D Offline
    D Offline
    Dave_uk
    wrote on 23 Mar 2018, 20:33 last edited by
    #1

    I've managed to install Qt 5.7.1 by using
    apt-get install qt5-default

    Now I need some features in Qt 5.10

    Is there an easy way upgrade or install 5.10 without compiling the source ?

    Tried to compile the source before but never been successful.

    K 1 Reply Last reply 25 Apr 2018, 07:42
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 23 Mar 2018, 20:45 last edited by
      #2

      Hi and welcome to devnet,

      No you can't avoid compiling. However if you are developing directly on the Pi you can natively compile Qt which might be easier than cross-compiling.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • D Offline
        D Offline
        Dave_uk
        wrote on 23 Mar 2018, 21:18 last edited by
        #3

        Hi SGaist, thanks for the quick reply.

        There is a binary for 5.7.1 is there any reason why there is no binary for 5.10 ?

        I've tried to follow the instruction to compile for 5.10 with the latest Raspbian Stretch but there is a problem with some library's not found.

        It would be so much easier if I can just install 5.10 without doing all the compilation.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 23 Mar 2018, 21:28 last edited by
          #4

          Because Raspbian is a Debian derivative and AFAIK they follow their packages versions. If you want something as new as 5.10 then you'll have to either wait for the Raspbian folks to provide it or build it yourself.

          What are the missing libraries ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • D Offline
            D Offline
            Dave_uk
            wrote on 24 Mar 2018, 14:41 last edited by
            #5

            I'm using the instruction from this site:
            http://www.tal.org/tutorials/building-qt-510-raspberry-pi-debian-stretch

            I get this errors:

            ERROR: Feature 'opengles2' was enabled, but the pre-condition 'config.win32 || (!config.watchos && !features.opengl-desktop && libs.opengl_es2)' failed.

            ERROR: Feature 'eglfs' was enabled, but the pre-condition '!config.android && !config.darwin && !config.win32 && features.egl' failed.

            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.

            Tried to post a message on their site but somehow the message got deleted.

            J 1 Reply Last reply 24 Mar 2018, 15:43
            0
            • D Dave_uk
              24 Mar 2018, 14:41

              I'm using the instruction from this site:
              http://www.tal.org/tutorials/building-qt-510-raspberry-pi-debian-stretch

              I get this errors:

              ERROR: Feature 'opengles2' was enabled, but the pre-condition 'config.win32 || (!config.watchos && !features.opengl-desktop && libs.opengl_es2)' failed.

              ERROR: Feature 'eglfs' was enabled, but the pre-condition '!config.android && !config.darwin && !config.win32 && features.egl' failed.

              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.

              Tried to post a message on their site but somehow the message got deleted.

              J Offline
              J Offline
              JonB
              wrote on 24 Mar 2018, 15:43 last edited by
              #6

              @Dave_uk
              From your link, in the comments section at the bottom, others are havingexcatly the same problem, two months ago. Did you read it all? Your error message is reported in https://stackoverflow.com/questions/44639014/qt-cross-compilation-for-raspberry-pi-cannot-find-glesv2. https://stackoverflow.com/a/44648097/489865 claims to solve.

              1 Reply Last reply
              1
              • M Offline
                M Offline
                MStephenO
                wrote on 22 Apr 2018, 21:46 last edited by
                #7

                @Dave_uk: I had some difficulty with this myself, and the stackoverflow link didn't fix it in my case. Installed libgles2-mesa and libgles2-mesa-dev in addition after updating my mkspecs as suggested on the stackoverflow post (https://stackoverflow.com/questions/44639014/qt-cross-compilation-for-raspberry-pi-cannot-find-glesv2/44648097#44648097) and doing an rpi-update. This fixed the OPENGL errors for me.

                1 Reply Last reply
                1
                • D Dave_uk
                  23 Mar 2018, 20:33

                  I've managed to install Qt 5.7.1 by using
                  apt-get install qt5-default

                  Now I need some features in Qt 5.10

                  Is there an easy way upgrade or install 5.10 without compiling the source ?

                  Tried to compile the source before but never been successful.

                  K Offline
                  K Offline
                  kylin
                  wrote on 25 Apr 2018, 07:42 last edited by
                  #8

                  @Dave_uk Hello,now are you ok?

                  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