Skip to main content

phoneme advanced mr2 and QT 4.3.4

5 replies [Last post]
hrs_java
Offline
Joined: 2008-03-06

Hi

I am trying to cross compile (arm architecture) phoneme advanced mr2 with QT 4.3.4.. I know the requirements doc specifies qt 3.x to use... But had some issues while cross compiling Qt 3 with the toolchain i have.

trying to compile CDC with basis as j2me_classlib
I get the following error while compiling phoneme with QT4........

In file included from /opt/Olai/arm-xscale-linux-gnueabi/gcc-4.1.2-glibc-2.5-kernel-2.6.18/lib/gcc/arm-xscale-linux-gnueabi/4.1.2/../../../../arm-xscale-linux-gnueabi/include/QtGui/qicon.h:47,
from /opt/Olai/arm-xscale-linux-gnueabi/gcc-4.1.2-glibc-2.5-kernel-2.6.18/arm-xscale-linux-gnueabi/Qt-4.3.4/include/Qt/qabstractbutton.h:47,
from /opt/Olai/arm-xscale-linux-gnueabi/gcc-4.1.2-glibc-2.5-kernel-2.6.18/arm-xscale-linux-gnueabi/Qt-4.3.4/include/Qt/qt.h:1,
from ../../src/share/basis/native/awt/qt/awt.h:32,
from ../../src/share/basis/native/awt/qt/QtGraphics.cpp:27:
/opt/Olai/arm-xscale-linux-gnueabi/gcc-4.1.2-glibc-2.5-kernel-2.6.18/lib/gcc/arm-xscale-linux-gnueabi/4.1.2/../../../../arm-xscale-linux-gnueabi/include/QtCore/qglobal.h:689:1: warning: this is the location of the previous definition
In file included from ../../src/share/basis/native/awt/qt/QtGraphics.cpp:27:
../../src/share/basis/native/awt/qt/awt.h:172:1: warning: "FALSE" redefined
In file included from /opt/Olai/arm-xscale-linux-gnueabi/gcc-4.1.2-glibc-2.5-kernel-2.6.18/lib/gcc/arm-xscale-linux-gnueabi/4.1.2/../../../../arm-xscale-linux-gnueabi/include/QtGui/qicon.h:47,
from /opt/Olai/arm-xscale-linux-gnueabi/gcc-4.1.2-glibc-2.5-kernel-2.6.18/arm-xscale-linux-gnueabi/Qt-4.3.4/include/Qt/qabstractbutton.h:47,
from /opt/Olai/arm-xscale-linux-gnueabi/gcc-4.1.2-glibc-2.5-kernel-2.6.18/arm-xscale-linux-gnueabi/Qt-4.3.4/include/Qt/qt.h:1,
from ../../src/share/basis/native/awt/qt/awt.h:32,
from ../../src/share/basis/native/awt/qt/QtGraphics.cpp:27:
/opt/Olai/arm-xscale-linux-gnueabi/gcc-4.1.2-glibc-2.5-kernel-2.6.18/lib/gcc/arm-xscale-linux-gnueabi/4.1.2/../../../../arm-xscale-linux-gnueabi/include/QtCore/qglobal.h:690:1: warning: this is the location of the previous definition
../../src/share/basis/native/awt/qt/QtBackEnd.h:76: warning: 'class QtScreen' has virtual functions but non-virtual destructor
../../src/share/basis/native/awt/qt/QtGraphics.cpp: In function 'jint Java_java_awt_QtGraphics_pCloneGraphPSD(JNIEnv*, _jclass*, jint, jboolean)':
../../src/share/basis/native/awt/qt/QtGraphics.cpp:101: error: 'struct qtgraphdesc' has no member named 'rasterOp'
../../src/share/basis/native/awt/qt/QtGraphics.cpp:101: error: 'CopyROP' is not a member of 'Qt'
../../src/share/basis/native/awt/qt/QtGraphics.cpp: In function 'jint Java_java_awt_QtGraphics_pCloneImagePSD(JNIEnv*, _jclass*, jint, jboolean)':
../../src/share/basis/native/awt/qt/QtGraphics.cpp:156: error: 'struct qtgraphdesc' has no member named 'rasterOp'
../../src/share/basis/native/awt/qt/QtGraphics.cpp:156: error: 'CopyROP' is not a member of 'Qt'
../../src/share/basis/native/awt/qt/QtGraphics.cpp: In function 'void Java_java_awt_QtGraphics_pSetStroke(JNIEnv*, _jclass*, jint, jint, jint, jint, jint)':

Is it possible to compile cdc pbp against qt4???
Is there any way i could fix this problem???

Thanks
hrs

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
k_pa
Offline
Joined: 2008-05-20

Have you already tryed to compile Qtopia 4.3 with support for QT3 ?

Does anybody know if this work with phoneMe ?

Thanks

Hinkmond Wong

phonemeadvanced@mobileandembedded.org wrote:
> Have you already tired to compile Qtopia 4.3 with support for QT3 ?
>
> Does anybody know if this work with phoneMe ?
>

Hi k_pa,

Sorry, our phoneME Advanced code is current Qt 3.x compatible.

See:

http://forums.java.net/jive/message.jspa?messageID=263287#263389

Hinkmond

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

k_pa
Offline
Joined: 2008-05-20

Have already planed to port PhoneMe Qt support for Qt4 ?
If yes when is planned if no why not ?

Thank you for all.

Hinkmond Wong

phonemeadvanced@mobileandembedded.org wrote:
> Have already planed to port PhoneMe Qt support for Qt4 ?
>

No, sorry, we are too resource constrained at the moment to plan a
update of phoneME Advanced to Qt 4.x. But, since this is an open source
project and you need it, please feel free to go ahead and do the porting
yourself. We can help guide you.

> If yes when is planned if no why not ?
>

This is an open source project where you should pitch in and do the port
yourself if you need it. Don't look to Sun to provide every needed port
for you for free. What we can provide is help and guidance, and answer
your questions for you to do the port yourself.

Hinkmond

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

Hinkmond Wong

phonemeadvanced@mobileandembedded.org wrote:
> Hi
>
> I am trying to cross compile (arm architecture) phoneme advanced mr2 with QT 4.3.4.. I know the requirements doc specifies qt 3.x to use... But had some issues while cross compiling Qt 3 with the toolchain i have.
>
> trying to compile CDC with basis as j2me_classlib
> I get the following error while compiling phoneme with QT4........
> ...
> -2.6.18/lib/gcc/arm-xscale-linux-gnueabi/4.1.2/../../../../arm-xscale-linux-gnueabi/include/QtCore/qglobal.h:690:1: warning: this is the location of the previous definition
> ../../src/share/basis/native/awt/qt/QtBackEnd.h:76: warning: 'class QtScreen' has virtual functions but non-virtual destructor
> ../../src/share/basis/native/awt/qt/QtGraphics.cpp: In function 'jint Java_java_awt_QtGraphics_pCloneGraphPSD(JNIEnv*, _jclass*, jint, jboolean)':
> ../../src/share/basis/native/awt/qt/QtGraphics.cpp:101: error: 'struct qtgraphdesc' has no member named 'rasterOp'
> ../../src/share/basis/native/awt/qt/QtGraphics.cpp:101: error: 'CopyROP' is not a member of 'Qt'
> ../../src/share/basis/native/awt/qt/QtGraphics.cpp: In function 'jint Java_java_awt_QtGraphics_pCloneImagePSD(JNIEnv*, _jclass*, jint, jboolean)':
> ../../src/share/basis/native/awt/qt/QtGraphics.cpp:156: error: 'struct qtgraphdesc' has no member named 'rasterOp'
> ../../src/share/basis/native/awt/qt/QtGraphics.cpp:156: error: 'CopyROP' is not a member of 'Qt'
> ../../src/share/basis/native/awt/qt/QtGraphics.cpp: In function 'void Java_java_awt_QtGraphics_pSetStroke(JNIEnv*, _jclass*, jint, jint, jint, jint, jint)':
>
>
> Is it possible to compile cdc pbp against qt4???
> Is there any way i could fix this problem???
>

Hi hrs,

Sorry, our CDC/PBP code is currently Qt 3.x compatible. To fix this
(since we are open source), you would have to go line-by-line through
your compilation errors and modify each Qt*.cpp file to fix each
problem. I would suggest you first read the Trolltech guide on porting
code from Qt 3 to Qt 4:

http://doc.trolltech.com/4.0/porting4.html

If you need help, let us know on this forum. If you do make all the
changes necessary, you will have our gratitude from this project and we
will want to take your source code changes back to our open source
repository with you being credited as the contributor (we like to
spotlight our contributors for phoneME to the public). So, let me know
if you would like to work on the porting project and would like to
contribute your code back. I can give you more details.

Thanks,

Hinkmond

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