Arm_qtopia & x86_qtopia on ARM board

Yayati Ekbote
Hi guys,

As per the user manual i followed the steps as follows....

step 1:
#cd /tmp
# tar xvzf arm-linux-gcc-4.3.2.tgz -C/

step 2:
#gedit /root/.bashrc

and appended the line "export PATH=$PATH:/usr/local/arm/4.3.2/bin" to the
bashrc file,saved and exit.

similarly i followed the steps to tar the compressed files which come with
the DVD of friendly arm, to the directory /opt/FriendlyARM/mini2440/

Also the manual shows the method of making image by mkyaffs2image. But i
haven't yet understood the use of Arm_qtopia and x86_qtopia.

What is the use of Arm_qtopia and x86_qtopia???
Please guide!!!

kevin
i guess they are developing cross platform qtopia applications to run on
embedded devices like our mini2440

skip2816
Hi Yayati,

x86_qtopia you will need only to develope an app und test it on host - its
means without the steps transfering the app to the mini

arm-qtopia delivers all the stuff you need when cross compiling your app
(libs, headers...)

Nothing of both must be copied to the board. 

skip

Yayati Ekbote
Hi skip!!!
    Thank you very much. I successfully built the hello example on host and
mini2440. Now i want to write my own code for mini2440 in qt/qtopia..May be
this would sound dumb to u but i have learnt coding in QT 4.6.1 sdk. When i
read the hello example files such as hello.cpp,hello.h,hello.ui and
main.cpp....it contained slightly different header files and different way
of writing main!!!That is why i want to know whether any SDK for
Qtopia2.2.0 is available or not..
   On the other hand i tried writing my own code manually in text-editor on
the basis of hello example, which failed. The script file "build" didn't
work...
    And my last question is...is it possible to write the code in QT4.6.1
SDK and cross-compile it using arm_qtopia of the mini2440???

skip2816
Hi Yayati,

i didn't ever experiment with qt 4.xx for using on mini. My project must
finish soon, so i decided for me using the established qt 2/qtopia. 
Even it's api is poor compared to qt 3 or 4, but its work.
Maybe an qt 4 app runs (linked against and installed qt4 libs), but you
cannot it integrate as an realy qtopia appp, with start icon and qtopia's
frame decorations.
Read this thread http://www.friendlyarm.net/forum/topic/439?lang=en, lots
of problems, no statsfied solution.

For my apps, i wrote my own Makefile's, compiler switches adapted from
hellos's Makefile. 

skip

Yayati Ekbote
Hi,

Initially i did the same. I used the qt2/designer to design the UI. I wrote
my own files like trial.pro , trial.h , trial.cpp , trial.ui and main.cpp.
I also wrote my own makefile similar to hello example's makefile. But my
application didn't work. Can u please tell me what steps exactly should be
done to build it together and run it??
   As i directly started coding in Qt 4.xx i have no idea what internally
happens. how the files get connected together to create a application. Ur
help would be very much appreciated!!!Thanks for immediate replies!!!

Spice
hello,

i have the same problems with the designer and in making my own app. 
also the qt2-designer on my host is maybe buggy and is looking transparency
and i don´t know why. I can´t recognize the Menu´s etc, if my Background is
white. I´m using Ubuntu 9.08. How did u create the source-files from the
ui-file? Is there any option in qt2-designer to get automatically the
source-codes without using uic? can u tell me, where to get the .pro files?

thx very much

Jürgen Reche
see http://friendlyarm.net/forum/topic/770?lang=en
I up a Makefile that i use for me. All tasks needed for developing an app
are included. It's easy to customize it for a new app.

skip

Yayati Ekbote
Hi guys,

First of all i would like to make clear is that, we don't have to create a
makefile manually. It comes out as a product after we build the project as
per what i have been doing.
Recently i have had success but not fully compiled. The errors which were
persisting before, they are now gone...some of the errors which i haven't
yet understood are there....
I will be posting my replies as soon as i get something new to tell!!

Allen
Spice, I have the same problem as you with QT Designer 2.0 being
transparent.  It is impossible to see what is on the screen if the
background is white.  Does anyone know of a fix to this problem?  I am also
running on Ubuntu 9.0.