Page 1 of 1

Compiling and running Qt 5 for the EV3

Posted: 07 Nov 2013, 21:20
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.

Re: Compiling and running Qt 5 for the EV3

Posted: 08 Nov 2013, 00:29
by lvoc
Could you comment about the potential uses for this software?

Re: Compiling and running Qt 5 for the EV3

Posted: 08 Nov 2013, 23:23
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,

Re: Compiling and running Qt 5 for the EV3

Posted: 12 Nov 2013, 06:22
by mightor
It would be great if you could make it work with the standard framebuffer device (/dev/fb0) on the EV3 brick.

= Xander

Re: Compiling and running Qt 5 for the EV3

Posted: 17 Nov 2013, 08:53
by broija
Hi Xander,

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

Regards,

Re: Compiling and running Qt 5 for the EV3

Posted: 23 Nov 2013, 21:56
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.

Re: Compiling and running Qt 5 for the EV3

Posted: 28 Nov 2013, 06:11
by mightor
I look forward to seeing your ports of KDE and GNOME :)

= Xander