Hi,
You can download source code to build a plugin that will make Qt work with the EV3 screen: https://github.com/broija/ev3linuxfb
It's surely not optimized and I will add some modifications shortly. At this point, I've only tested the raster example with a 178 x 128 window.
Open the README.md for instructions. A tutorial will be posted on my blog soon.
If you've not already read my tutorial to build Qt for the EV3: http://broija.blogspot.fr/2013/11/compi ... torms.html
Edit 2013-11-23 22:06 GMT: If you've already built Qt 5, the tutorial has been updated today because QtGui was not included during "configure" phase. If you're not interested in displaying things on the EV3 screen, there is no need to rebuild.
Using Qt 5 to display stuff on the EV3 screen
Re: Using Qt 5 to display stuff on the EV3 screen
Hi,
For some reason, the 'README.md' wasn't up to date on the repository. Sorry for that.
You can now read it for the instructions. If you have any question, do not hesitate to ask. The detailed tutorial should be available by the end of the month.
Regards,
B.
For some reason, the 'README.md' wasn't up to date on the repository. Sorry for that.
You can now read it for the instructions. If you have any question, do not hesitate to ask. The detailed tutorial should be available by the end of the month.
Regards,
B.
My blog: http://broija.blogspot.com/
Re: Using Qt 5 to display stuff on the EV3 screen
hi,
could you pls explain by a few VERY simple words what this thing is for?
(sort of if you tried to explain it to an 11 year foreign pupil speaking English from 2 years English school lessons)
could you pls explain by a few VERY simple words what this thing is for?
(sort of if you tried to explain it to an 11 year foreign pupil speaking English from 2 years English school lessons)
Re: Using Qt 5 to display stuff on the EV3 screen
Hi,
Qt is a C++ framework, in other words a set of libraries containing a lot of classes and functions regarding containers, smart pointers, network, threads, animation (both 2D and 3D), graphical user interfaces and many other things...
Concerning the graphic part, because that's what this topic deals with, you can use Qt to display text messages, geometric shapes, jpeg pictures, bitmaps or whatever you want on the screen. Of course, you won't be able to display 3D objects since there is no 3D acceleration available on the EV3.
Hope that helps.
Regards,
B.
Qt is a C++ framework, in other words a set of libraries containing a lot of classes and functions regarding containers, smart pointers, network, threads, animation (both 2D and 3D), graphical user interfaces and many other things...
Concerning the graphic part, because that's what this topic deals with, you can use Qt to display text messages, geometric shapes, jpeg pictures, bitmaps or whatever you want on the screen. Of course, you won't be able to display 3D objects since there is no 3D acceleration available on the EV3.
Hope that helps.
Regards,
B.
My blog: http://broija.blogspot.com/
Re: Using Qt 5 to display stuff on the EV3 screen
OK, it depends on what you're expecting from a library. If BCC's API suits all your needs, it would be stupid to waste an hour or two to install Qt on your brick and other hours to learn how to use it. But you can't compare the two libraries, they're complementary on the EV3.
BCC doesn't provide settings manager:
http://qt-project.org/doc/qt-5.0/qtcore/qsettings.html
nor network classes:
http://qt-project.org/doc/qt-5.0/qtnetw ... erver.html
and just glance at some of its graphic capabilities:
http://qt-project.org/doc/qt-5.0/qtgui/qpainter.html
http://qt-project.org/doc/qt-5.0/qtgui/qimage.html
Though Qt doesn't provide control and sensor functions for your robot.
Just because you don't see the point of using Qt doesn't mean that it is useless.
Regards,
B.
BCC doesn't provide settings manager:
http://qt-project.org/doc/qt-5.0/qtcore/qsettings.html
nor network classes:
http://qt-project.org/doc/qt-5.0/qtnetw ... erver.html
and just glance at some of its graphic capabilities:
http://qt-project.org/doc/qt-5.0/qtgui/qpainter.html
http://qt-project.org/doc/qt-5.0/qtgui/qimage.html
Though Qt doesn't provide control and sensor functions for your robot.
Just because you don't see the point of using Qt doesn't mean that it is useless.
Regards,
B.
My blog: http://broija.blogspot.com/
Re: Using Qt 5 to display stuff on the EV3 screen
Hi broija,
Thanks for your hard work and contribution
= Xander
Thanks for your hard work and contribution
= 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)
| 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)
Who is online
Users browsing this forum: No registered users and 1 guest