Compiling and running Qt 5 for the EV3

Discussion specific to NXT-G, NXC, NBC, RobotC, Lejos, and more.
Post Reply
broija
Posts: 12
Joined: 07 Nov 2013, 20:56
Location: France
Contact:

Compiling and running Qt 5 for the EV3

Post by broija »

Hi,

I wrote an article on the subject at http://broija.blogspot.com/.

For the moment, it explains only how to do so on Linux but I'll add a tutorial for Windows soon.

Regards,

B.
lvoc
Posts: 38
Joined: 10 Sep 2013, 13:34

Re: Compiling and running Qt 5 for the EV3

Post by lvoc »

Could you comment about the potential uses for this software?
broija
Posts: 12
Joined: 07 Nov 2013, 20:56
Location: France
Contact:

Re: Compiling and running Qt 5 for the EV3

Post by broija »

STL is powerful but is often not sufficient. Qt is a great C++ API which propose plenty of tools (network, multithread, XML, ...).

The signal/slot mechanism is quite intersting. It allows you to do the same thing as function pointers and functors (except that you can't return anything from a signal) in an easy and pretty way.

The thread classes and methods are quite easy to use too.

The main reason that led me to compile it for the EV3 was to use a TCP/IP server class without reinventing the wheel. I wanted to command the EV3 remotely with an Android device. Of course, I could have used netcat to listen and redirect its output to my program but that seemed quite twisted.

I would say that if you want to code something and you know that it has probably been done before, then Qt is probably doing it already.

Regards,
mightor
Site Admin
Posts: 1079
Joined: 25 Sep 2010, 15:02
Location: Rotterdam, Netherlands
Contact:

Re: Compiling and running Qt 5 for the EV3

Post by mightor »

It would be great if you could make it work with the standard framebuffer device (/dev/fb0) on the EV3 brick.

= Xander
| My Blog: I'd Rather Be Building Robots (http://botbench.com)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
broija
Posts: 12
Joined: 07 Nov 2013, 20:56
Location: France
Contact:

Re: Compiling and running Qt 5 for the EV3

Post by broija »

Hi Xander,

Thanks for answering. I'll give it a try.

Regards,
broija
Posts: 12
Joined: 07 Nov 2013, 20:56
Location: France
Contact:

Re: Compiling and running Qt 5 for the EV3

Post by broija »

Hi,

This is done. Xander, thank you for your suggestion. Another topic has been created with the links: https://sourceforge.net/apps/phpbb/mind ... f=3&t=2023 .

Regards,

B.
mightor
Site Admin
Posts: 1079
Joined: 25 Sep 2010, 15:02
Location: Rotterdam, Netherlands
Contact:

Re: Compiling and running Qt 5 for the EV3

Post by mightor »

I look forward to seeing your ports of KDE and GNOME :)

= Xander
| My Blog: I'd Rather Be Building Robots (http://botbench.com)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
Post Reply

Who is online

Users browsing this forum: Semrush [Bot] and 24 guests