PDA

View Full Version : Qtopia-opensource error



dragon
1st March 2006, 21:08
Hello anybody

I'am using FC4
I'am using Qt-x11-opensource-src-4.1.1
I have compile it with ./configure -qvfb
I have also download qtopia-core-opensource-src-4.1.1
i have compile it with:
/configure -qvfb -embedded x86 -shared

When i go to qtopia-core-opensource-src-4.1.1/tools/qvfb
and compile with: qmake qvfb.pro && make there pops up a strange error:
qvfbshmem.o qvfbshmem.cpp
qvfbshmem.cpp: In constructor ‘QShMemViewProtocol::QShMemViewProtocol(int, const QSize&, int, QObject*)’:
qvfbshmem.cpp:201: fout: ‘qws_dataDir’ was not declared in this scope

What i'am doing wrong.

glocker50
22nd August 2006, 13:57
I am confused about this also. I am using QT 4.1.4. I want to run Qtopia applications on the qvfb tool.

According to the documentation to install Qtopia you need to do :
./configure -embedded x86

Somewhere else the doc says that if you want qvfb you need to do :
./configure -embedded x86 -qvfb
That is in the Qtopia source tree.

Then it says :
"compile & run the qvfb tool as an Qt/X11 application
cd path/to/Qt/tools/qvfb
make
./qvfb"

What do they mean with this ?
You need to download Qt-X11-opensource-edition and compile it ?
Just ./configure & make in Qt-X11 without options ?
then cd to qvfb directory and run make ?
that gives me an error about a header file not found qvfbhdr.h

Can somebody give some more info on this ?

Thanks.

Cedric.

glocker50
22nd August 2006, 21:07
OK,

I solved it like this :
I copied the qvfbhdr.h from
/usr/local/Trolltech/Qtopia../include/Qt to the Qt-X11 source directory tools/qvfb/
and then compilation worked. Everything seems to work ok. I tested the analogclock example as described in the manual.

This is not the normal procedure. I think the Qt documentation is not clear enough. :mad:

Cedric.

fanat9
29th November 2006, 20:59
Did you set your ENV setting like PATH correctly ?

Try
#which qvfbhdr.h