You are not logged in.

Dear visitor, welcome to QtForum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Tuesday, December 1st 2009, 5:04pm

qtopia and sh4

Dear all

I would like to compile qtopia on my host system that has installed under /opt STLinux-2.2. I downloaded the last distribution of qtopia (qtopia open-source 4.3.3) so could someone help me saying which commands I have to use for the compilation?



Thanks in advance

Gò.

2

Tuesday, December 1st 2009, 10:02pm

RE: qtopia and sh4

Dear all

I would like to compile qtopia on my host system that has installed under /opt STLinux-2.2. I downloaded the last distribution of qtopia (qtopia open-source 4.3.3) so could someone help me saying which commands I have to use for the compilation?



Thanks in advance

Gò.



Unforunately I am on my Windows box right now, but I insist on giving some assistance as I too have questions which need answering! : )

Try:

Source code

1
./configure --help


I will try to give you more insight later. In the meantime, what have you tried? I would imagine that there are some SHx libraries which will be needed (been running into a TON of dependancy issues and required libs) - do you have these? Personally I have not done anything with regards to SH, but I am sure helping you will only help me in return!



VP.

3

Wednesday, December 2nd 2009, 11:31am

At the moment I have no idea, about how to proceed, infact sh4 is not present when I write ./configure -arch sh4

4

Wednesday, December 2nd 2009, 2:10pm

Source code

1
[qt-dir]/mkspecs/qws/linux-sh4-g++


Might want to start by looking there. A quick Google search and I found Cross Compilation of QT for SH4 and running app with Segfault (actually from this forum!).

This is only a minor config step. You make have to edit your qmake file in that directory in order to correctly locate your cross-compiler (arm-xxx-linux-[gnueabi]- or similar).

Start by doing:

Source code

1
./configure --help


That will give you all possible options. I am not very familiar with SH4, but what I gather it's a 32-bit RISC ISA from Hitachi. May consider using the "-embedded" switch.

I need some more information on the specs you require Qt to be configured/installed with. Check the configure help for that. As of now, what you have provided is too vague to get into more detail.



Thanks,



VP.