Jason Kridner, jkridner@beagleboard.org
Wednesday, September 28, 2011, 8:00AM
Embedded Systems Conference Boston
Room 210
Slides available at
http://beagleboard.org/esc/boston2011/beagleboard101
 
root@beagleboard:~# cd ~/labs/matrix root@beagleboard:~/labs/matrix# ls -l root@beagleboard:~/labs/matrix# gedit menu_main_1.html
Search for "p1" and replace the title with your name.
root@beagleboard:~/labs/matrix# cat run_matrix_gui root@beagleboard:~/labs/matrix# ./run_matrix_gui
281 #define CONFIG_BOOTCOMMAND \
282 "if mmc rescan ${mmcdev}; then " \
283 "if userbutton; then " \
284 "setenv bootenv user.txt;" \
285 "fi;" \
286 "echo SD/MMC found on device ${mmcdev};" \
287 "if run loadbootenv; then " \
288 "echo Loaded environment from ${bootenv};" \
289 "run importbootenv;" \
290 "fi;" \
291 "if test -n $uenvcmd; then " \
292 "echo Running uenvcmd ...;" \
293 "run uenvcmd;" \
294 "fi;" \
295 "if run loaduimage; then " \
296 "run mmcboot;" \
297 "fi;" \
298 "fi;" \
299 "run nandboot;" \
#include <QApplication>
#include <QPushButton>
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
QPushButton hello("Hello world!");
hello.resize(100, 30);
hello.show();
return app.exec();
}
root@beagleboard:~# cd ~/labs/qt/hello root@beagleboard:~/labs/qt/hello# . /usr/share/qt4/environment-setup root@beagleboard:~/labs/qt/hello# ls root@beagleboard:~/labs/qt/hello# cat hello.cpp root@beagleboard:~/labs/qt/hello# qmake2 -project root@beagleboard:~/labs/qt/hello# qmake2 qt_config.prf:7: include(file) requires one argument. root@beagleboard:~/labs/qt/hello# make clean root@beagleboard:~/labs/qt/hello# make root@beagleboard:~/labs/qt/hello# ls root@beagleboard:~/labs/qt/hello# ./hello