Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to cross-compile QT App on RPi3
Forum Updated to NodeBB v4.3 + New Features

How to cross-compile QT App on RPi3

Scheduled Pinned Locked Moved Unsolved General and Desktop
8 Posts 3 Posters 583 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.
  • D Offline
    D Offline
    dziko147
    wrote on last edited by
    #1

    Hello
    I am new in QT development. So i would like to deploy my Qt App on RPi3 using buildroot toolchain. I installed the linux Kernel under my Rpi and now i would like to deploy my App .
    Any help please ! Thanks <3

    jsulmJ KroMignonK 2 Replies Last reply
    0
    • D dziko147

      Hello
      I am new in QT development. So i would like to deploy my Qt App on RPi3 using buildroot toolchain. I installed the linux Kernel under my Rpi and now i would like to deploy my App .
      Any help please ! Thanks <3

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

      @dziko147 Please start here https://wiki.qt.io/Raspberry_Pi_Beginners_Guide

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

      1 Reply Last reply
      0
      • D dziko147

        Hello
        I am new in QT development. So i would like to deploy my Qt App on RPi3 using buildroot toolchain. I installed the linux Kernel under my Rpi and now i would like to deploy my App .
        Any help please ! Thanks <3

        KroMignonK Offline
        KroMignonK Offline
        KroMignon
        wrote on last edited by
        #3

        @dziko147 I do not really understand what you want to do.

        Do you want to create a buildroot image containing your application or do you want to be able to build Qt app for your RPi?

        It is an old maxim of mine that when you have excluded the impossible, whatever remains, however improbable, must be the truth. (Sherlock Holmes)

        1 Reply Last reply
        0
        • D Offline
          D Offline
          dziko147
          wrote on last edited by
          #4

          Thank you for your answers
          I am sorry my post wasn't clear .
          So , I create a kernel image using buildroot . Now i would like to cross compile my Qt App to Rpi . If it's possible using the buildroot toolchain . Really i haven't no idea how to do this .

          jsulmJ 1 Reply Last reply
          0
          • D dziko147

            Thank you for your answers
            I am sorry my post wasn't clear .
            So , I create a kernel image using buildroot . Now i would like to cross compile my Qt App to Rpi . If it's possible using the buildroot toolchain . Really i haven't no idea how to do this .

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

            @dziko147
            If you want to cross compile then please follow the link I provided.
            As alternative you can also build on RPi, which is of course slower.

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

            D 1 Reply Last reply
            0
            • jsulmJ jsulm

              @dziko147
              If you want to cross compile then please follow the link I provided.
              As alternative you can also build on RPi, which is of course slower.

              D Offline
              D Offline
              dziko147
              wrote on last edited by
              #6

              @jsulm thank you but I would like to use the kernel image generated by buildroot not Raspbian distribution

              jsulmJ KroMignonK 2 Replies Last reply
              0
              • D dziko147

                @jsulm thank you but I would like to use the kernel image generated by buildroot not Raspbian distribution

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

                @dziko147 Should work similar: you need a sysroot and you need to cross compile Qt using this sysroot.

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

                1 Reply Last reply
                0
                • D dziko147

                  @jsulm thank you but I would like to use the kernel image generated by buildroot not Raspbian distribution

                  KroMignonK Offline
                  KroMignonK Offline
                  KroMignon
                  wrote on last edited by
                  #8

                  @dziko147 said in How to cross-compile QT App on RPi3:

                  I would like to use the kernel image generated by buildroot not Raspbian distribution

                  What did you add to your custom buildroot image?
                  You must, at least, have add QT5 support.

                  It is an old maxim of mine that when you have excluded the impossible, whatever remains, however improbable, must be the truth. (Sherlock Holmes)

                  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