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. A few questions about cross-compiling on Rapberry pi
Forum Updated to NodeBB v4.3 + New Features

A few questions about cross-compiling on Rapberry pi

Scheduled Pinned Locked Moved Mobile and Embedded
49 Posts 3 Posters 12.9k Views 2 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #27

    Just to be sure, build and install are both successful and you have the unknown QT: quick error for your project ?

    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
    • I Offline
      I Offline
      ixpervision
      wrote on last edited by
      #28

      yes this error for my simple hello world project

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

        What are the libraries that your currently have in your installed Qt folder besides QtCore and QtGui ?

        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
        • I Offline
          I Offline
          ixpervision
          wrote on last edited by
          #30

          when searched for qtcore and qtgui result is that /home/sefa/opt/qt5/qtbase/include. So qtbase library. I also have compiled qtbase module succesfully.

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

            I'd like you to check which libraries you have currently installed besides these two

            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
            • I Offline
              I Offline
              ixpervision
              wrote on last edited by
              #32

              I'm dealing with this problem for several days.can you help me connect with a program like TeamViewer ?

              1 Reply Last reply
              0
              • I Offline
                I Offline
                ixpervision
                wrote on last edited by
                #33

                How can ı check currently installed besides these two. Can you explain it.

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

                  ls -la /path/where/Qt/is/installed/lib/

                  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
                  • I Offline
                    I Offline
                    ixpervision
                    wrote on last edited by
                    #35

                    Hi again,
                    I can cross compile succesfully. But my sd card don't work completely. For example sudo not work. I get this error when write sudo.

                    sudo effective uid is not 0 is sudo installed setuid root ?
                    So I can not connect desktop via vnc. I did a couple of times writing wheezy image
                    to sd card and the problem has continue . In this case I can not deploy project with my pc.
                    How can I fix it.

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

                      What base image are you using ?

                      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
                      • I Offline
                        I Offline
                        ixpervision
                        wrote on last edited by
                        #37

                        2014-09-09-wheezy-raspbian.img

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

                          Did you do any modification on it ?

                          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
                          • I Offline
                            I Offline
                            ixpervision
                            wrote on last edited by
                            #39

                            No, I did not any modification.

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

                              So if you just start the Pi with a cleanly installed SD card, it gives you that error ?

                              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
                              • I Offline
                                I Offline
                                ixpervision
                                wrote on last edited by
                                #41

                                My old sd card is using this image. I writed rasbian image via Fedora ARM Installer to sd card before that. And this sd card currently works beatiful.
                                When I did like in this document for writing to sd, I get this error.

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

                                  @ixpervision said:

                                  My old sd card is using this image. I writed rasbian image via Fedora ARM Installer to sd card before that. And this sd card currently works beatiful.
                                  When I did like in this document for writing to sd, I get this error.

                                  I don't understand your last sentence, do you mean when calling make install ?

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

                                  I 1 Reply Last reply
                                  0
                                  • SGaistS SGaist

                                    @ixpervision said:

                                    My old sd card is using this image. I writed rasbian image via Fedora ARM Installer to sd card before that. And this sd card currently works beatiful.
                                    When I did like in this document for writing to sd, I get this error.

                                    I don't understand your last sentence, do you mean when calling make install ?

                                    I Offline
                                    I Offline
                                    ixpervision
                                    wrote on last edited by
                                    #43

                                    @SGaist said:

                                    @ixpervision said:

                                    My old sd card is using this image. I writed rasbian image via Fedora ARM Installer to sd card before that. And this sd card currently works beatiful.
                                    When I did like in this document for writing to sd, I get this error.

                                    I don't understand your last sentence, do you mean when calling make install ?

                                    No, I mean when used sudo I get error.

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

                                      That I understood, when does the call to sudo start to fail ? After doing what ?

                                      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
                                      • mrdebugM Offline
                                        mrdebugM Offline
                                        mrdebug
                                        wrote on last edited by
                                        #45

                                        I use Qt 5 on Raspberry from an year and more.
                                        I normally write the programs using my pc and at the end, I use a qemu machine to compile and build the deb package.
                                        This is not a quick way but all works perfectly (I use others components like wiringpi, ffmepg..)

                                        Need programmers to hire?
                                        www.labcsp.com
                                        www.denisgottardello.it
                                        GMT+1
                                        Skype: mrdebug

                                        1 Reply Last reply
                                        0
                                        • I Offline
                                          I Offline
                                          ixpervision
                                          wrote on last edited by
                                          #46

                                          After first boot. as a result sudo don't work on raspberry pi with this sd card.

                                          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