QT Creator, compiling and deploying c or C ++ to a remote device (BeagleBone or R pi)

I have been trying since then to write and develop programs on my computer (Ubuntu 64bit) using qt-creator for my beaglebone and raspberry pi devices. I searched for “qt-creator cross compile beagle, raspberries, etc.”, and that leads me to a hundred links and tutorials on how to compile qt-creator for my target form. But seriously, this is not my idea. All I want to do is just use my computer to develop my programs and recently deploy them to a remote device.

So, first of all, the question about the Nob: Is something wrong with my idea? Do I really have to compile the qt source for beaglebone or raspberry on my computer to write programs that should recently run on these devices?

I will not compile qt-creator again for another plattform, so I do not know how to find the correct path. A lot of information on the Internet is misleading.

So, after long hours of work, look for the necessary information, I come with the following procedure:

I first installed the toolchain arm-gnu on my 64-bit Ubuntu.

sudo apt-get install build-essential libc6-armhf-cross libc6-dev-armhf-cross binutils-arm-linux-gnueabihf linux-libc-dev-armhf-cross libstdc++6-armhf-cross gcc-4.8-arm-linux-gnueabihf g++-4.8-arm-linux-gnueabihf

then I installed qt-creator from the repository on my Ubuntu:

sudo apt-get install qtcreator

I tried to configure using qt to compile my projects using the hand toolchain (see the following pictures)

enter image description here

and here:

enter image description here

, qt-creator :

enter image description here

: , , qt, , , ubuntu 64bit, .

, .

: , QT- ?

, gnueabi , :

enter image description here

, qt- - . qt-IDE IDE ( , ++ )

+4
1

toolchain

- :

  • ( - )
  • Sysroot:
  • qmake
  • QtCreator

- qmake. . .

, Pi Beagle.

0

Source: https://habr.com/ru/post/1609135/


All Articles