Skip to main content

QT and Building personal profile for ARM

3 replies [Last post]
sunimohan
Offline
Joined: 2010-04-10
Points: 0

Hi

For the last week or so I have been attempting to build personal profile for mini2440 (ARM920T).
I was able to build foundation profile but I need regex ,so, I need to build personal profile I guess.

Basically, I checked out (based on reading somehwere)
svn co https://phoneme.dev.java.net/svn/phoneme/components/cldc/trunk cldc
svn co https://phoneme.dev.java.net/svn/phoneme/components/pcsl/trunk pcsl
svn co https://phoneme.dev.java.net/svn/phoneme/components/midp/trunk midp
svn co https://phoneme.dev.java.net/svn/phoneme/components/cdc/trunk cdc
svn co https://phoneme.dev.java.net/svn/phoneme/components/tools/trunk tools
svn co https://phoneme.dev.java.net/svn/phoneme/components/jump/trunk jump
svn co https://phoneme.dev.java.net/svn/phoneme/components/abstractions/trunk abstraction

Then in cdc/build/linux-arm-generic
make JDK_HOME=/opt/j2sdk1.4.2_18 J2ME_CLASSLIB=personal USE_STATIC_PROPERTIES=true USE_AAPCS=false

This is when all hell breaks lose.
It initially complained
/home/jay/OE/java_for_mini2440/phoneme/cdc/build/share/defs_qt.mk:156: *** QT_TARGET_LIB_DIR does not exist: /usr/tools/lib/linux-arm-generic/usr/lib/qt3/lib. Stop.

I work on ubuntu (host build machine) and tried QT from different sources. Nothing ever worked.
Can anyone know about a QT that I can use preferably for ARM. Do I need QT, I don't know.
Can I use anything else.

Any inputs welcome

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
cjplummer
Offline
Joined: 2006-10-16
Points: 0

Does personal profile contain regex? You might want to double check that.

You need QT libraries and headers for your target device. Once you get them, set QT_TARGET_DIR to point to the directory that contains the QT lib and include directories (or you can set QT_TARGET_LIB_DIR and QT_TARGET_INCLUDE_DIR separately).

You will need version 3 of QT. It's been so long since I've had to deal with acquiring it, I'm not even sure where to point you these days, especially since version 3 is pretty old now.

Hinkmond Wong

phonemeadvanced@mobileandembedded.org wrote:
> Does personal profile contain regex? You might want to double check that.
>

Hi Suni,

There is no regex in personal profile. So, adding personal profile
would not be a solution to trying to find regex support. Instead, you
may want to look into changing your app source code to not use regex.

> You need QT libraries and headers for your target device. Once you get
> them, set QT_TARGET_DIR to point to the directory that contains the QT
> lib and include directories (or you can set QT_TARGET_LIB_DIR and
> QT_TARGET_INCLUDE_DIR separately).
>
> You will need version 3 of QT. It's been so long since I've had to
> deal with acquiring it, I'm not even sure where to point you these
> days, especially since version 3 is pretty old now

On Ubuntu, you can do the following:

sudo apt-get install qt3-dev-tools qt3-dev-tools-embedded

Then as Chris points out set QT_TARGET_DIR

/usr/share/qt3

Hinkmond

---------------------------------------------------------------------
To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
For additional commands, e-mail: advanced-help@phoneme.dev.java.net

davyp
Offline
Joined: 2007-01-03
Points: 0

Assuming you are running Ubuntu on ARM of course ... Otherwise, you are trying to link
libraries from a different architecture.

Otherwise you would have to cross-compile QT to ARM first.

Davy