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. QT Build for Raspberry 3B on Windows 10
Forum Updated to NodeBB v4.3 + New Features

QT Build for Raspberry 3B on Windows 10

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
5 Posts 2 Posters 431 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.
  • E Offline
    E Offline
    ElPadre
    wrote on 22 Nov 2021, 18:46 last edited by
    #1

    Hi,
    I made a GUI on my Windows 10 pc which communicates to my main programm through TCP IP and it works perfect.
    But now I want to run my GUI on a RaspberryPi. The problem -> I have no idea how to build the QT Application for Raspi on my Windows PC.
    I´m always programming/working on windows so I have no real experience with Linux.
    In VisualStudio there is an option to add a Raspi to the Project (for example a C++ Console application) to cross compile it really easy.
    Is there a option in QT-Creator to do the same?

    I hope you guys can help me.

    Best regards,
    Leon

    J 1 Reply Last reply 24 Nov 2021, 07:18
    0
    • E ElPadre
      22 Nov 2021, 18:46

      Hi,
      I made a GUI on my Windows 10 pc which communicates to my main programm through TCP IP and it works perfect.
      But now I want to run my GUI on a RaspberryPi. The problem -> I have no idea how to build the QT Application for Raspi on my Windows PC.
      I´m always programming/working on windows so I have no real experience with Linux.
      In VisualStudio there is an option to add a Raspi to the Project (for example a C++ Console application) to cross compile it really easy.
      Is there a option in QT-Creator to do the same?

      I hope you guys can help me.

      Best regards,
      Leon

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 24 Nov 2021, 07:18 last edited by
      #2

      @ElPadre said in QT Build for Raspberry 3B on Windows 10:

      I have no idea how to build the QT Application for Raspi on my Windows PC

      It would be easier to build your application directly on RaspberryPi.
      Simply install needed Qt packages there using "app install" and build your app.
      Doing cross compilation on Windows is difficult to set up (it is easier to cross compile from Linux to Linux).
      I have no experience with that, can't help.

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

      1 Reply Last reply
      0
      • E Offline
        E Offline
        ElPadre
        wrote on 25 Nov 2021, 06:54 last edited by
        #3

        Hi, thanks for your answer! Ok that sounds good but which files of the project do i have to copy to build them on the raspi? And won't be there any problems with missing libs because I made the project on windows?

        J 1 Reply Last reply 25 Nov 2021, 06:59
        0
        • E ElPadre
          25 Nov 2021, 06:54

          Hi, thanks for your answer! Ok that sounds good but which files of the project do i have to copy to build them on the raspi? And won't be there any problems with missing libs because I made the project on windows?

          J Offline
          J Offline
          jsulm
          Lifetime Qt Champion
          wrote on 25 Nov 2021, 06:59 last edited by
          #4

          @ElPadre said in QT Build for Raspberry 3B on Windows 10:

          but which files of the project do i have to copy to build them on the raspi?

          Well, all the files belonging to your project (except *.pro.user file).

          "And won't be there any problems with missing libs because I made the project on windows?" - no, because you will rebuild your app. You, of course, need to install needed libs and their dev packages on RaspberryPi.

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

          1 Reply Last reply
          2
          • E Offline
            E Offline
            ElPadre
            wrote on 25 Nov 2021, 07:30 last edited by
            #5

            Oh wow ok I will try it.
            I will tell you if it workes.

            1 Reply Last reply
            1

            1/5

            22 Nov 2021, 18:46

            • Login

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