Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. QT50-Snapshot on Raspberry Pi
Forum Updated to NodeBB v4.3 + New Features

QT50-Snapshot on Raspberry Pi

Scheduled Pinned Locked Moved Installation and Deployment
20 Posts 2 Posters 6.4k 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.
  • D Offline
    D Offline
    DarkRidder
    wrote on last edited by
    #11

    Same:

    http://i.imgur.com/BmyMPEv.png

    [EDIT]: I have run just "make" to get to that error.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #12

      It makes it more readable and ensures that you don't have several errors in parallel.

      Anyway, I wasn't hit by that one, however, replacing DISPMANX_TRANSFORM_T by VC_IMAGE_TRANSFORM_T should be enough in that case

      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
        DarkRidder
        wrote on last edited by
        #13

        THank you, all sorted out right now I think! Now doing dd to the sdcard. After I plug it in RPi, I assume that qt is all set up, so if I run qt on terminal it will recognize it, right?

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #14

          What do you mean by run Qt on terminal ?

          Since you cross-compiled Qt, you should start Qt Creator, Go to the Preferences, in Build and Run add your newly built Qt, make a kit using it. Add a Generic Device in devices and connect it to the Rasberry Pi.

          Then create a default application that you'll configure with your Raspberry specific Kit, build, run and enjoy !

          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
            DarkRidder
            wrote on last edited by
            #15

            Ok, but I need to compile a program that makes use of Qt to run in RaspberryPi, how can I do that?

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #16

              That's what the last paragraph describes, just start a new default project, select your Raspberry Kit, hit the run button which will trigger a build and start the application on the Pi (if you correctly add the device in the preferences)

              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
                DarkRidder
                wrote on last edited by
                #17

                ok, so first things first, How do I do all that? What manuals can I read? I am using Ubuntu (and sorry for my noobish knowledge on this, going for Qt for the first time, and it's not being an easy ride! ).

                EDIT: I don't have any Qt environment set-up!

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #18

                  You don't have Qt Creator installed ? Then you should go and download the Linux package and install it.

                  Then go through Qt's documentation/tutorials/examples

                  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
                    DarkRidder
                    wrote on last edited by
                    #19

                    SGaist, afte rall, there was something wrong with qmake.

                    http://i.imgur.com/uZcPyoQ.png

                    Suggestions? I tried again sudo make install on qtbase folder, but reported this:

                    "
                    ntConfigVersion.cmake /mnt/rasp-pi-rootfs/usr/local/qt5pi/lib/cmake/Qt5Concurrent/
                    make[2]: Leaving directory /home/roque/opt/qt5/qtbase/src/concurrent' cd gui/ && ( test -e Makefile || /home/roque/opt/qt5/qtbase/bin/qmake /home/roque/opt/qt5/qtbase/src/gui/gui.pro -o Makefile ) && make -f Makefile install make[2]: Entering directory /home/roque/opt/qt5/qtbase/src/gui'
                    make[2]: *** No rule to make target /mnt/rasp-pi-rootfs/opt/vc/include/GLES2/gl2.h', needed by .obj/qaccessible.o'. Stop.
                    make[2]: Leaving directory /home/roque/opt/qt5/qtbase/src/gui' make[1]: *** [sub-gui-install_subtargets] Error 2 make[1]: Leaving directory /home/roque/opt/qt5/qtbase/src'
                    make: *** [sub-src-install_subtargets] Error 2
                    roque@Roque-Ubuntu:~/opt/qt5/qtbase$ sudo -e Makefile || /home/roque/opt/qt5/qtbase/bin/qmake /home/roque/opt/qt5/qtbase/src/gui/gui.pro -o Makefile
                    sudo: Makefile unchanged
                    roque@Roque-Ubuntu:~/opt/qt5/qtbase$ sudo -e Makefile || /home/roque/opt/qt5/qtbase/bin/qmake /home/roque/opt/qt5/qtbase/src/gui/gui.pro -o Makefile
                    sudo: Makefile unchanged
                    "

                    [EDIT] Also, error output while trying to build:
                    "Project ERROR: Unknown module(s) in QT: quick
                    22:56:03: The process "/usr/local/qt5pi/bin/qmake" exited with code 3.
                    Error while building/deploying project helloworld (kit: Raspberry Pi)
                    When executing step "qmake"
                    22:56:03: Elapsed time: 00:00."

                    1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #20

                      Did you mount your Raspberry Pi fs ?

                      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

                      • Login

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