Hi everyone I have compiled arm-qtopia and x86-qtopia for my host. I got the hello working on my Mini2440. There are some examples in /opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qt2/examples. But I am looking for the source code for the examples which come with the board .i.e. A/D Convert, LEDs, Buttons. I downloaded examples from http://www.friendlyarm.net/dl.php?file=linux-examples.tgz but they donot have any user interface. Does anyone know where i can find source code for the examples on board? Regards
QT Examples Source Code
On the DVD supplied with the board. Or here http://www.friendlyarm.net/dl.php?file=linux-examples.tgz Have a look around the rest of the site there is lots of useful information.
"The FriendlyARM QT examples from the Qtopia image are not open source." That really puzzled me. They say that the reason is to avoid plagiarism. That sounds somehow ... ugly. These are just an examples with nothing but educational value.
Thank you all Can some one suggest what steps I have to take to make an application similar to the one on mini2440 and how long it can take? I got hello working on mini2440. Regards
hi Jonathan, it's not difficult, take the hello example from qtopia sources. You can run it, you can integrate it in the qtopia desktop. As next, take hello as template, make your own mainwindow, derived from QMainWindow. Take the designer (from qt2 dir!) and produce any interface, based on QWidget. Now, in the constuctor of your mainwindow you set the class from your designer as central widget ( mainwindow->setCentralWidget(new MyDesignedClass(this)) ). Adapt main.cpp from hello, that is all you need to see an app. Ok, that is very simplified, but the rest is qt knowlege, system independ. skip
Thank you skip Everyone saved me a lot of time and confusion searching on goggle for these examples. I have found designer in /opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qt2/bin and start working on hello as template. Regards Jonathan