Hello! I am not absolutely new to writing programs for embedded systems, but i did never have to setup an programming environment. I am running Win7 on my Hostmaschine and i wanīt to create an QT program that runs on the Mini2440 with 7" display and with the shipped OS on it. Maybe i have searched wrong but i didnīt find any how to on this subject. My questions are: 1.Which Developmenttool shall i use (actually i have QT Creator 1.3.1 installed) 2.How do i configure it so it "makes" code that runs on the mini2440 3.What are the steps to get this simple Code here to work on my mini2440 ----------------------------------------- #include <qapplication.h> #include <qpushbutton.h> int main( int argc, char **argv ) { QApplication a( argc, argv ); QPushButton hello( "Hello world!", 0 ); hello.resize( 100, 30 ); a.setMainWidget( &hello ); hello.show(); return a.exec(); } ------------------------------------------ 4. What do i do now with the program ? do i simply put it on an SD-card and run it on the mini? Please help! I need a base to start from. From there hopefully i will be able to reverse-engineer the other code but this is my actual bottleneck. In the tuts its always says "cross-compile the code" or "make" but never explicit how. or some how-tos refere to old versions. Kind regards and best wishes from Germany. Berthold
How to cross-compile form win7 to mini2440 Qt ??
Hi Berthold, theoretical should it possible to cross compile in win7, but in pratice, to try is its wasted time. Its better to install a 32Bit Linux, maybe in a virtual machine. 1. Development tool On the mini is Qtopia 2.2.0 / QT 2.2 installed. Maybe the oldest aviable version of kdevelop can work with it. No other tools. For smaller progs, take your prefered editor and write a Makefile. In this forum are many hints to set up an development environment. The best thread is http://friendlyarm.net/forum/topic/332. 2. ??? 3. If you want to write a app embedded in Qtopia, you must use another form of main. See the doc under Qtopia dir. You can start a program with 'normal main()' too, but it is not integrated in desktop. 4. If your program is compiled successfull you have to bring it in the file system of your mini. There are many possile ways, SD card, USB stick, nfs, ftp. you can me mail in german too, my name at yahoo.de
Hi, I am also struggling for programming in mini2440 linux.I have same windows7 in my desktop pc and I Qt sdk.Now I want to cross compile my Qt application for mibni2440 linux