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. bin folder missing after Cross compile for BBB
QtWS25 Last Chance

bin folder missing after Cross compile for BBB

Scheduled Pinned Locked Moved Solved Installation and Deployment
10 Posts 2 Posters 576 Views
  • 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.
  • M Offline
    M Offline
    marvic
    wrote on last edited by
    #1

    Hello,

    I tried to cross-compile QT5.15.5 source code on Ubuntu 23.10.
    After compiling and make & make install it did not created a bin folder and qmake (arm version).
    Here is configure parameters.

    ./configure -device linux-beagleboard-g++ -device-option CROSS_COMPILE=/home/bbbbox/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -sysroot /home/bbbbox/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf -prefix /home/bbbbox/Qt-bbb -opensource -confirm-license -nomake tests -release -hostprefix /home/bbbbox/Qt-bbb  -no-opengl -optimized-qmake -no-pch  -v
    

    Compiled from qtbase folder and even from Qt5 root folder (/qt-everywhere-opensource-src-5.15.5)

    Any Reason for not creating qmake.
    Any thing missing out,

    Thanks.

    jsulmJ 1 Reply Last reply
    0
    • M marvic

      Hello,

      I tried to cross-compile QT5.15.5 source code on Ubuntu 23.10.
      After compiling and make & make install it did not created a bin folder and qmake (arm version).
      Here is configure parameters.

      ./configure -device linux-beagleboard-g++ -device-option CROSS_COMPILE=/home/bbbbox/Downloads/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -sysroot /home/bbbbox/Downloads/sysroot-glibc-linaro-2.25-2019.12-arm-linux-gnueabihf -prefix /home/bbbbox/Qt-bbb -opensource -confirm-license -nomake tests -release -hostprefix /home/bbbbox/Qt-bbb  -no-opengl -optimized-qmake -no-pch  -v
      

      Compiled from qtbase folder and even from Qt5 root folder (/qt-everywhere-opensource-src-5.15.5)

      Any Reason for not creating qmake.
      Any thing missing out,

      Thanks.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @marvic It should be inside /home/bbbbox/Qt-bbb
      But you will see what "make install" installs and where - you should check the output of that command.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      M 1 Reply Last reply
      0
      • jsulmJ jsulm

        @marvic It should be inside /home/bbbbox/Qt-bbb
        But you will see what "make install" installs and where - you should check the output of that command.

        M Offline
        M Offline
        marvic
        wrote on last edited by
        #3

        @jsulm yes, but qmake and other files for x86-64.
        But not ARM binaries.

        jsulmJ 1 Reply Last reply
        0
        • M marvic

          @jsulm yes, but qmake and other files for x86-64.
          But not ARM binaries.

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @marvic If you do cross compilation you get the tools like qmake for the host platform, because you're cross compiling on the host platform, not target. So, why do you need qmake for ARM?

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          M 1 Reply Last reply
          0
          • jsulmJ jsulm

            @marvic If you do cross compilation you get the tools like qmake for the host platform, because you're cross compiling on the host platform, not target. So, why do you need qmake for ARM?

            M Offline
            M Offline
            marvic
            wrote on last edited by marvic
            #5

            @jsulm To compile apps for bbb using Qt Creator and transfer to target device.

            Qt Creator -> preferences->Qt Versions-> add

            jsulmJ 1 Reply Last reply
            0
            • M marvic

              @jsulm To compile apps for bbb using Qt Creator and transfer to target device.

              Qt Creator -> preferences->Qt Versions-> add

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @marvic said in bin folder missing after Cross compile for BBB:

              To compile apps for bbb using Qt Creator and transfer to target device.

              That's exactly why you need an x86_64 build of the qmake executable!
              You are developing and building on a x86_64 machine, right? That means the tools like compiler or qmake have to be x86_64 binaries, not ARM. This is why it is called "cross-compilation": you are building on platform X for platform Y.

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              M 1 Reply Last reply
              0
              • jsulmJ jsulm

                @marvic said in bin folder missing after Cross compile for BBB:

                To compile apps for bbb using Qt Creator and transfer to target device.

                That's exactly why you need an x86_64 build of the qmake executable!
                You are developing and building on a x86_64 machine, right? That means the tools like compiler or qmake have to be x86_64 binaries, not ARM. This is why it is called "cross-compilation": you are building on platform X for platform Y.

                M Offline
                M Offline
                marvic
                wrote on last edited by marvic
                #7

                @jsulm Ok, I rebooted the machine and i tried to use qmake created in /home/bbbbox/Qt-bbb. This time it got yellow triangle mark says,

                qmake path: /home/bbbbox/Qt-bbb/bin/qmake
                No QML utility installed.

                And debugger is unkown
                91eb8ab9-578d-45c8-926a-f96ebef76d33-image.png

                jsulmJ 1 Reply Last reply
                0
                • M marvic

                  @jsulm Ok, I rebooted the machine and i tried to use qmake created in /home/bbbbox/Qt-bbb. This time it got yellow triangle mark says,

                  qmake path: /home/bbbbox/Qt-bbb/bin/qmake
                  No QML utility installed.

                  And debugger is unkown
                  91eb8ab9-578d-45c8-926a-f96ebef76d33-image.png

                  jsulmJ Offline
                  jsulmJ Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  @marvic Is this debugger executable x86_64 or ARM?

                  https://forum.qt.io/topic/113070/qt-code-of-conduct

                  M 1 Reply Last reply
                  0
                  • jsulmJ jsulm

                    @marvic Is this debugger executable x86_64 or ARM?

                    M Offline
                    M Offline
                    marvic
                    wrote on last edited by
                    #9

                    @jsulm I compiled again on fresh copy, this i got this error From Qt creator-kits->debugger -add

                    M 1 Reply Last reply
                    0
                    • M marvic

                      @jsulm I compiled again on fresh copy, this i got this error From Qt creator-kits->debugger -add

                      M Offline
                      M Offline
                      marvic
                      wrote on last edited by marvic
                      #10

                      I changed to Ubuntu 18.04, Qt 5.12.1 compiled and App compiled on Qt creator.
                      I think because of version series.

                      1 Reply Last reply
                      0
                      • M marvic has marked this topic as solved on

                      • Login

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