You are not logged in.

1

Wednesday, May 11th 2005, 5:16pm

qt/embedded 2.3.7

I am new in QT. I tried to install qt-embedded-2.3.7 on my Fedora Core 2. I followed installation instruciton and use minimal for my configuration. During make process, I got:

kernel/qpixmap.cpp: In function `QPixmap grabChildWidgets(QWidget*)':
kernel/qpixmap.cpp:902: error: `QScrollView' undeclared (first use this
function)
kernel/qpixmap.cpp:902: error: (Each undeclared identifier is reported only
once for each function it appears in.)
kernel/qpixmap.cpp:902: error: `sv' undeclared (first use this function)
kernel/qpixmap.cpp:905: error: syntax error before `)' token
make[2]: *** [kernel/qpixmap.o] Error 1
make[2]: Leaving directory `/usr/qt-2.3.7/src'
make[1]: *** [sub-src] Error 2
make[1]: Leaving directory `/usr/qt-2.3.7'
make: *** [init] Error 2

Can anyone help me with this? Thanks.

2

Thursday, May 12th 2005, 8:53am

RE: qt/embedded 2.3.7

I would suggest to check your include/qconfig-<target>.h file.
In my (v2.3.10) qpixmap.cpp there is a

Source code

1
2
3
#if defined(_WS_QWS_) && !defined(QT_NO_SCROLLVIEW)
# include "qscrollview.h"
#endif
, so you should check for these defines and a stale #ifdef-clause in the sources...
If allowed, one question: what do you want to do with/why QT/embedded? And why this old version and not the 2.3.10, or if you are just starting, why not start with new QT/e 4?
There's no place like ::1

3

Thursday, May 12th 2005, 3:02pm

Thanks. I am new to QT. I tried to setup a development envrionment and write program for my Zaurus 6000. I actually don't know which version works best for my situation. But because I am following an old instruction and I remember somewhere in another forum mentioned that Qtopia 1.7 is what I need. But I am open to any suggestion which is best for me.

This post has been edited 2 times, last edit by "unplug" (May 12th 2005, 3:02pm)


4

Friday, May 13th 2005, 4:16am

RE: qt/embedded 2.3.7

Well, I downloaded qt-embedded-2.3.10 and error message like this, during make:
kernel/qwidget_qws.cpp: In member function `virtual void
QWidget::setMicroFocusHint(int, int, int, int, bool)':
kernel/qwidget_qws.cpp:469: warning: unused parameter `bool text'
kernel/qwidget_qws.cpp: In member function `void QWidget::releaseMouse()':
kernel/qwidget_qws.cpp:647: error: 'struct QTLWExtra' has no member named '
qwsManager'
kernel/qwidget_qws.cpp:648: error: 'struct QTLWExtra' has no member named '
qwsManager'
kernel/qwidget_qws.cpp:649: error: 'struct QTLWExtra' has no member named '
qwsManager'
make[2]: *** [kernel/qwidget_qws.o] Error 1
make[2]: Leaving directory `/qt/qt-2.3.10/src'
make[1]: *** [sub-src] Error 2
make[1]: Leaving directory `/qt/qt-2.3.10'
make: *** [init] Error 2


BTW, I have qt-3.3 under /usr/lib. But since I did:

cd $QTEDIR
export TMAKEPATH=$TMAKEDIR/lib/qws/linux-x86-g++
export QTDIR=$QTEDIR
export PATH=$QTDIR/bin:$PATH
export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
./configure -no-xft -qvfb -depths 4,8,16,32 [extra options: see below]
make

It should not affect I think.

lpotter

Trolltech Qtopia Community Manager

Posts: 276

Location: Brisbane Australia

Occupation: Trolltech Qtopia Community Manager

  • Send private message

5

Friday, May 13th 2005, 10:50pm

How did you configure qt embedded 2.3?
[QT] Trolltech Qtopia Community Manager
irc.freenode.net #qtopia
http://qtopia.net

6

Saturday, May 14th 2005, 5:48am

I used the instrucions from install:

cd $QTEDIR
export TMAKEPATH=$TMAKEDIR/lib/qws/linux-x86-g++
export QTDIR=$QTEDIR
export PATH=$QTDIR/bin:$PATH
export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
./configure -no-xft -qvfb -depths 4,8,16,32 -system-jpeg -gif

7

Thursday, June 16th 2005, 8:21pm

I started over on a newly installed Fedora 3 machine.
I have tmake-1.8
Then I untar and compiled qt-x11-2.3.2.tar.gz without any error.
I also built qvfb without error.
I used
cd $QTEDIR
export TMAKEPATH=$TMAKEDIR/lib/qws/linux-x86-g++
export QTDIR=$QTEDIR
export PATH=$QTDIR/bin:$PATH
export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
./configure -no-xft -qvfb -depths 4,8,16,32 -system-jpeg -gif
to configure qt-embedded-2.3.10-free.tar.gz
when I built qt/embedded, I still get

kernel/qwidget_qws.cpp: In member function 'void QTidget::releaseMouse()':
kernel/qwidget_qws.cpp:647: error: 'struct QTLWExtra' has no member named 'qwsManager'
kernel/qwidget_qws.cpp:648: error: 'struct QTLWExtra' has no member named 'qwsManager'
kernel/qwidget_qws.cpp:649: error: 'struct QTLWExtra' has no member named 'qwsManager'
kernel/qwidget_qws.cpp: At global scope:
kernel/qwidget_qws.cpp:469: warning: unused parameter 'text'
make[2]: *** [kernel/qwidget_qws.o] Error 1
:
:

8

Thursday, June 16th 2005, 10:24pm

I tried again and change feature configuration from minimal to everything. Now I got another error.

make[4]: Entering directory `/qtopia/qt-2.3.10/tutorial/t1'
g++ -L/qtopia/qt-2.3.10/lib -Wl,-rpath,/qtopia/qt-2.3.10/lib -o ./t1 main.o -lqte -lm
/qtopia/qt-2.3.10/lib/libqte.so: undefined reference to `QListBox::returnPressed(QListBoxItem*)'
/qtopia/qt-2.3.10/lib/libqte.so: undefined reference to `QPopupMenu::activatedRedirect(int)'
/qtopia/qt-2.3.10/lib/libqte.so: undefined reference to `QMainWindow::toolBarPositionChanged(QToolBar*)'
/qtopia/qt-2.3.10/lib/libqte.so: undefined reference to `QIconView::currentChanged(QIconViewItem*)'
/qtopia/qt-2.3.10/lib/libqte.so: undefined reference to `vtable for QAuServer'
/qtopia/qt-2.3.10/lib/libqte.so: undefined reference to `QLCDNumber::overflow()'
/qtopia/qt-2.3.10/lib/libqte.so: undefined reference to `vtable for QServerSocket'
:
:
:
: