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.0k 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.
  • I Offline
    I Offline
    ixpervision
    wrote on last edited by
    #15

    I have a qtquick1 file. And I run the following string in this file.
    /usr/local/qt5pi/bin/qmake .
    make -j 4
    sudo make install

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

      You need to build the qtdeclarative module. qtquick1 is for the version of 1

      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
        #17

        When I compiled qtdeclarative I get the following error.

        make[2]: Entering directory /home/sefa/opt/qt5/qtdeclarative/src/qmldevtools' make[2]: *** No rule to make target /mnt/rasp-pi-rootfs/usr/local/qt5pi/include/QtCore/qglobal.h', needed by .obj/qqmljsast.o'. Stop. make[2]: Leaving directory /home/sefa/opt/qt5/qtdeclarative/src/qmldevtools'
        make[1]: *** [sub-qmldevtools-make_first-ordered] Error 2
        make[1]: Leaving directory `/home/sefa/opt/qt5/qtdeclarative/src'
        make: *** [sub-src-make_first] Error 2

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

          Did you mount your Raspberry Pi root filesystem before building ?

          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
            #19

            Yes I did. Also I get another error when make app without using qtquick as;

            error: error trying to exec 'cc1plus': execvp: No such file or directory

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

              SGasist, Is there something you think about this issue ?

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

                Did you move anything around like your compiler folder ?

                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
                  #22

                  No I did not move anything.

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

                    Then clean the module and call qmake again with your Rasberry Pie root filesystem mounted

                    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
                      #24

                      Hi,

                      I can compile qtdeclarative after clean the module. And I still get same error. I did not understand.

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

                        The qglobal.h 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
                          #26

                          I can compile qtdeclarative module successfully. I get this,
                          Project ERROR: Unknown module(s) in QT: quick

                          1 Reply Last reply
                          0
                          • 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

                                          • Login

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