Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Matthieu

Pages: [1]
1
Linux Issues / Lib Qte-mt
« on: April 04, 2005, 11:31:09 am »
Hi,

I want to try to cross-compile this library, in order to cross-compile my application that is using a thread.
Where is it possible to find the sources file ?

Thanks,
Matthieu

2
Linux Issues / Qtpoia SDK problems
« on: April 03, 2005, 03:40:07 am »
No, I'm using the version 2.3.7 of qt embedded.

3
Linux Issues / Qtpoia SDK problems
« on: April 02, 2005, 09:23:56 am »
Hi,

I have to use a thread in my application written in qt, and I'm changing it to qtopia 1.7

if i write : CONFIG += qtopia warn_on release
in my gpus.pro

I've got this error :

MyThread.h:5: error: erreur d'analyse syntaxique before `{' token

#ifndef MYTHREAD_H
#define MYTHREAD_H
#include <qthread.h>

class MyThread : public QThread{
 
 public:
  virtual void run();
};

#endif

--> I think it doesn't find qthread.h

---------------------------------------------------------------------------

if if i write : CONFIG += qtopia warn_on release thread
in my gpus.pro

I've got this error :

pc3c15:/v3# make
g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -fno-default-inline -D_REENTRANT -DNO_DEBUG -DQT_THREAD_SUPPORT -I/opt/Qtopia/include -I/opt/Qtopia/include -o main.o main.cpp
main.cpp:18:2: attention : pas de retour chariot à la fin du fichier
g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -fno-default-inline -D_REENTRANT -DNO_DEBUG -DQT_THREAD_SUPPORT -I/opt/Qtopia/include -I/opt/Qtopia/include -o compass.o compass.cpp
g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -fno-default-inline -D_REENTRANT -DNO_DEBUG -DQT_THREAD_SUPPORT -I/opt/Qtopia/include -I/opt/Qtopia/include -o map.o map.cpp
g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -fno-default-inline -D_REENTRANT -DNO_DEBUG -DQT_THREAD_SUPPORT -I/opt/Qtopia/include -I/opt/Qtopia/include -o process.o process.cpp
g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -fno-default-inline -D_REENTRANT -DNO_DEBUG -DQT_THREAD_SUPPORT -I/opt/Qtopia/include -I/opt/Qtopia/include -o gpusui.o gpusui.cpp
gpusui.cpp:118:2: attention : pas de retour chariot à la fin du fichier
g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -fno-default-inline -D_REENTRANT -DNO_DEBUG -DQT_THREAD_SUPPORT -I/opt/Qtopia/include -I/opt/Qtopia/include -o MyThread.o MyThread.cpp
MyThread.cpp:159:43: attention : pas de retour chariot à la fin du fichier
g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -fno-default-inline -D_REENTRANT -DNO_DEBUG -DQT_THREAD_SUPPORT -I/opt/Qtopia/include -I/opt/Qtopia/include -o gpus.o gpus.cpp
g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -fno-default-inline -D_REENTRANT -DNO_DEBUG -DQT_THREAD_SUPPORT -I/opt/Qtopia/include -I/opt/Qtopia/include -o settingsdialog.o settingsdialog.cpp
/opt/Qtopia/bin/moc compass.h -o moc_compass.cpp
g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -fno-default-inline -D_REENTRANT -DNO_DEBUG -DQT_THREAD_SUPPORT -I/opt/Qtopia/include -I/opt/Qtopia/include -o moc_compass.o moc_compass.cpp
/opt/Qtopia/bin/moc map.h -o moc_map.cpp
g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -fno-default-inline -D_REENTRANT -DNO_DEBUG -DQT_THREAD_SUPPORT -I/opt/Qtopia/include -I/opt/Qtopia/include -o moc_map.o moc_map.cpp
/opt/Qtopia/bin/moc process.h -o moc_process.cpp
g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -fno-default-inline -D_REENTRANT -DNO_DEBUG -DQT_THREAD_SUPPORT -I/opt/Qtopia/include -I/opt/Qtopia/include -o moc_process.o moc_process.cpp
/opt/Qtopia/bin/moc gpusui.h -o moc_gpusui.cpp
g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -fno-default-inline -D_REENTRANT -DNO_DEBUG -DQT_THREAD_SUPPORT -I/opt/Qtopia/include -I/opt/Qtopia/include -o moc_gpusui.o moc_gpusui.cpp
/opt/Qtopia/bin/moc gpus.h -o moc_gpus.cpp
g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -fno-default-inline -D_REENTRANT -DNO_DEBUG -DQT_THREAD_SUPPORT -I/opt/Qtopia/include -I/opt/Qtopia/include -o moc_gpus.o moc_gpus.cpp
/opt/Qtopia/bin/moc settingsdialog.h -o moc_settingsdialog.cpp
g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -fno-default-inline -D_REENTRANT -DNO_DEBUG -DQT_THREAD_SUPPORT -I/opt/Qtopia/include -I/opt/Qtopia/include -o moc_settingsdialog.o moc_settingsdialog.cpp
gcc  -o gpus main.o compass.o map.o process.o gpusui.o MyThread.o gpus.o settingsdialog.o moc_compass.o moc_map.o moc_process.o moc_gpusui.o moc_gpus.o moc_settingsdialog.o  -L/opt/Qtopia/lib -L/opt/Qtopia/lib -lm -lqpe -lqtopia -lqte-mt -lpthread
/usr/bin/ld: ne peut trouver -lqte-mt
collect2: ld a retourné 1 code d'état d'exécution
make: *** [gpus] Erreur 1
pc3c15:/v3#

-> it find qthread.h but he's got a problem in the link edition

Have you got a suggestion for me ?

thanks,
Matthieu

4
Linux Issues / Qtpoia SDK problems
« on: March 31, 2005, 04:31:54 pm »
Thanks TimW,
I have no more the problem after have erase thread from gpus.pro.

But, I've got one more problem, but I think it's a problem of understanding .
Indeed, I've got a gpus.ui and I want to include gpus.h in my main.cpp.
gpus.h is created by qt,.

I hope you understand my problem of comprehension in order to explain me how I can do this.

don't forget that I put my code in a precedent answer.

Thanks,
Matthieu.

5
Qt/Qtopia / Porting Qt To Qtopia
« on: March 31, 2005, 11:52:33 am »
I add a reopnse to a topic https://www.oesf.org/forums/index.php?showtopic=431.
I'm changing my code to Qtopia, and during the compilation I've got this error.

pc3c15:/v3# make
arm-linux-g++ -c -pipe -DQT_QWS_SL5XXX -DQT_QWS_CUSTOM -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -D_REENTRANT -DNO_DEBUG -DQT_THREAD_SUPPORT -I/opt/Qtopia/sharp/include -o main.o main.cpp
arm-linux-g++ -c -pipe -DQT_QWS_SL5XXX -DQT_QWS_CUSTOM -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -D_REENTRANT -DNO_DEBUG -DQT_THREAD_SUPPORT -I/opt/Qtopia/sharp/include -o compass.o compass.cpp
arm-linux-g++ -c -pipe -DQT_QWS_SL5XXX -DQT_QWS_CUSTOM -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -D_REENTRANT -DNO_DEBUG -DQT_THREAD_SUPPORT -I/opt/Qtopia/sharp/include -o map.o map.cpp
arm-linux-g++ -c -pipe -DQT_QWS_SL5XXX -DQT_QWS_CUSTOM -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -D_REENTRANT -DNO_DEBUG -DQT_THREAD_SUPPORT -I/opt/Qtopia/sharp/include -o MyThread.o MyThread.cpp
arm-linux-g++ -c -pipe -DQT_QWS_SL5XXX -DQT_QWS_CUSTOM -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -D_REENTRANT -DNO_DEBUG -DQT_THREAD_SUPPORT -I/opt/Qtopia/sharp/include -o process.o process.cpp
/opt/Qtopia/sharp/bin/moc compass.h -o moc_compass.cpp
arm-linux-g++ -c -pipe -DQT_QWS_SL5XXX -DQT_QWS_CUSTOM -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -D_REENTRANT -DNO_DEBUG -DQT_THREAD_SUPPORT -I/opt/Qtopia/sharp/include -o moc_compass.o moc_compass.cpp
/opt/Qtopia/sharp/bin/moc map.h -o moc_map.cpp
arm-linux-g++ -c -pipe -DQT_QWS_SL5XXX -DQT_QWS_CUSTOM -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -D_REENTRANT -DNO_DEBUG -DQT_THREAD_SUPPORT -I/opt/Qtopia/sharp/include -o moc_map.o moc_map.cpp
/opt/Qtopia/sharp/bin/moc process.h -o moc_process.cpp
arm-linux-g++ -c -pipe -DQT_QWS_SL5XXX -DQT_QWS_CUSTOM -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -D_REENTRANT -DNO_DEBUG -DQT_THREAD_SUPPORT -I/opt/Qtopia/sharp/include -o moc_process.o moc_process.cpp
arm-linux-gcc  -o gpus main.o compass.o map.o MyThread.o process.o moc_compass.o moc_map.o moc_process.o  -L/opt/Qtopia/sharp/lib -ljpeg -luuid -lqte-mt -lpthread
/opt/Embedix/tools/arm-linux/bin/ld: cannot find -lqte-mt
collect2: ld returned 1 exit status
make: *** [gpus] Erreur 1
pc3c15:/v3#

thanks a lot.

6
Linux Issues / Qtpoia SDK problems
« on: March 31, 2005, 11:48:33 am »
Hi everybody,
I put up this topic because it is really interesting.
I've got a question to all of the persons which understand this topic.

I made an application with qt and now I'm changing it to qtopia, in order to put it on a zaurus.

I post the code a this application, I've got an erroer during the compilation.

arm-linux-g++ -c -pipe -DQT_QWS_SL5XXX -DQT_QWS_CUSTOM -DQWS -fno-exceptions -fno-rtti -Wall -W -                O2 -D_REENTRANT -DNO_DEBUG -DQT_THREAD_SUPPORT -I/opt/Qtopia/sharp/include -o main.o main.cpp
arm-linux-g++ -c -pipe -DQT_QWS_SL5XXX -DQT_QWS_CUSTOM -DQWS -fno-exceptions -fno-rtti -Wall -W -                O2 -D_REENTRANT -DNO_DEBUG -DQT_THREAD_SUPPORT -I/opt/Qtopia/sharp/include -o compass.o compass.c                pp
arm-linux-g++ -c -pipe -DQT_QWS_SL5XXX -DQT_QWS_CUSTOM -DQWS -fno-exceptions -fno-rtti -Wall -W -                O2 -D_REENTRANT -DNO_DEBUG -DQT_THREAD_SUPPORT -I/opt/Qtopia/sharp/include -o map.o map.cpp
arm-linux-g++ -c -pipe -DQT_QWS_SL5XXX -DQT_QWS_CUSTOM -DQWS -fno-exceptions -fno-rtti -Wall -W -                O2 -D_REENTRANT -DNO_DEBUG -DQT_THREAD_SUPPORT -I/opt/Qtopia/sharp/include -o MyThread.o MyThread                .cpp
arm-linux-g++ -c -pipe -DQT_QWS_SL5XXX -DQT_QWS_CUSTOM -DQWS -fno-exceptions -fno-rtti -Wall -W -                O2 -D_REENTRANT -DNO_DEBUG -DQT_THREAD_SUPPORT -I/opt/Qtopia/sharp/include -o process.o process.c                pp
/opt/Qtopia/sharp/bin/moc compass.h -o moc_compass.cpp
arm-linux-g++ -c -pipe -DQT_QWS_SL5XXX -DQT_QWS_CUSTOM -DQWS -fno-exceptions -fno-rtti -Wall -W -                O2 -D_REENTRANT -DNO_DEBUG -DQT_THREAD_SUPPORT -I/opt/Qtopia/sharp/include -o moc_compass.o moc_c                ompass.cpp
/opt/Qtopia/sharp/bin/moc map.h -o moc_map.cpp
arm-linux-g++ -c -pipe -DQT_QWS_SL5XXX -DQT_QWS_CUSTOM -DQWS -fno-exceptions -fno-rtti -Wall -W -                O2 -D_REENTRANT -DNO_DEBUG -DQT_THREAD_SUPPORT -I/opt/Qtopia/sharp/include -o moc_map.o moc_map.c                pp
/opt/Qtopia/sharp/bin/moc process.h -o moc_process.cpp
arm-linux-g++ -c -pipe -DQT_QWS_SL5XXX -DQT_QWS_CUSTOM -DQWS -fno-exceptions -fno-rtti -Wall -W -                O2 -D_REENTRANT -DNO_DEBUG -DQT_THREAD_SUPPORT -I/opt/Qtopia/sharp/include -o moc_process.o moc_p                rocess.cpp
arm-linux-gcc  -o gpus main.o compass.o map.o MyThread.o process.o moc_compass.o moc_map.o moc_pr                ocess.o  -L/opt/Qtopia/sharp/lib -ljpeg -luuid -lqte-mt -lpthread
/opt/Embedix/tools/arm-linux/bin/ld: cannot find -lqte-mt
collect2: ld returned 1 exit status
make: *** [gpus] Erreur 1


I follow the topic and success the compilation of example, I try it on Z and it's good.

the problem is with lqte.

I use a thread in my code.

7
Qt/Qtopia / Porting Qt To Qtopia
« on: March 31, 2005, 05:24:55 am »
Hi,

I've got a problem because I use a qprocess in my application and I dont' see an equivament in qt 2.3.

do you know one ?

8
Qt/Qtopia / Porting Qt To Qtopia
« on: March 30, 2005, 05:49:00 am »
I develop software with the current version of Qt/X11 and I want to change to Qt/Embedded.
On troltech site they say that's easy.... hum I wanna know how

9
Qt/Qtopia / Difference Between Qtopia And Qt/embedded
« on: March 30, 2005, 05:47:38 am »
On trolltech site, you've two major libraries : QT and QTopia

when you click on QTopia library, you've got the list of the class present in this library.
But on the page of Qtopia, there is a poinetr to QT/embedded, which has mroe classes than QTopia.

I don't understand the difference between qtopia and qt/embedded.

10
Qt/Qtopia / Porting Qt To Qtopia
« on: March 30, 2005, 03:57:17 am »
Hi,
Is there anybody that has already do this ?
I'm looking for a tutorial and I don't find one.

thanks

11
Qt/Qtopia / Qt Designer3 -> Zaurus
« on: March 30, 2005, 02:02:28 am »
Quote
A quick solution might be to flash your Zaurus with pdaxrom which gives you X and qt3, and for which you can easily cross compile or natively compile a qt application....
[div align=\"right\"][a href=\"index.php?act=findpost&pid=72758\"][{POST_SNAPBACK}][/a][/div]

ok so if I flash my Z with pdaxrom.
How can I compile mon qt application ?

I post my code here.

PS : I'm a student wich have to do a project. So I don't have the Z, but my teacher can update it if necessary.
So I don' t really have the possibility to test the result of a cross-compiling.

12
Qt/Qtopia / Qt Designer3 -> Zaurus
« on: March 30, 2005, 01:19:45 am »
Hi,

iamasmith is right, it's exactly what I want to do.

I made all my application, I've got .cpp .h files and now I want to cross compile all of this in order to use the application on a zaurus.

In fact, I'm a newbie in programming for zaurus, and I didn't really known the difference between qt2 and qt3.

So I took qt designer3, I've to put it on the zaurus for tomorrow, so I'm a little speed.

My code is really simple. I use a qprocess, because I have to do some snmp requests, and only qt 3 is compatible with this.

Is there anybody able to cross-compile some code written in qt3 for a zaurus ?

Thanks,
Matthieu

13
Qt/Qtopia / Qt Designer3 -> Zaurus
« on: March 29, 2005, 12:42:04 pm »
Hi,

I'm a newbie in zaurus programming.
I wrote a little program with qt designer3, it turns under linux and now I want to put it on a zaurus c760.
How can I make it easy ?

Thanks a lot,
Matthew.

Pages: [1]