Hi,

I just finish to recompile qtjambi on mac os x:

for the compilation de qt, I use:
./configure -universal -no-framework -no-qt3support -release -no-rpath
-shared -no-dbus -prefix
/Users/benoitdecherf/workspace/qt/qt-everywhere-opensource-src-4.7.0-rc1
-sdk /Developer/SDKs/MacOSX10.4u.sdk/ -platform macx-g++40 -D QT_JAMBI_BUILD

I compile it for macosx 10.4 from a 10.6. So the qt library is compatible
with 10.4, 10.6 and probably 10.5 (I will check that with a friend)

Then for qtjambi, I change a little the class PlatformJarTask (see the patch
attached)
then:
export QTDIR=...
export DYLD_LIBRARY_PATH=$QTDIR/lib
ant

That's all.
With the 4.7, I do not have problems with the .nib files. (I had this
problem with qt 4.7.0-rc1).

Hope this help.
I can put the generated jar somewhere on my server if you are interessed in
test it.

About the size of the generated jar, I'm not sure this is correct:
45M Oct  8 00:27 qtjambi-native.jar

It's x2 compared to the linux one!
I will be connected on the IRC for the next step -> win64  ;)

Benoit

Attachment: patch.macosx
Description: Binary data

_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest

Reply via email to