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
FriendlyARM Mini2440 with an ARM9 µCtrl and 7" display (Linux 2.6.29 kernel and Qtopia 2.2.0) .
Maybe i have searched wrong but i didn´t find any how to on this subject or i found too much
cause you have a HUUUUUUUUUUUUUGE Database/Forum.
My questions are:
1.Which Development-tool 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
-> I mean hack code in Win7 and then cross-compile it for the mini2440 (Linux/qtopia)
3.For Example 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 )
{
hello.resize( 100, 30 );
a.setMainWidget( &hello );
hello.show();
return a.exec();
}
#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();
}
To copy to clipboard, switch view to plain text mode
------------------------------------------
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 for the mini it always says "cross-compile the code" or "make" but never explicit
how.
Kind regards and best wishes from Germany.
Berthold
Bookmarks