OESF Portables Forum

Everything Else => Zaurus - Everything Development => Distros, Development, and Model Specific Forums => Archived Forums => Qt/Qtopia => Topic started by: murphytalk on June 29, 2004, 08:23:51 am

Title: link error while building QTE 2.3.7
Post by: murphytalk on June 29, 2004, 08:23:51 am
Hi everyone,

I got the following error while building QTE 2.3.7,in the phase of
building tutorial/t1:

libqte.so: undefined reference to 'QWizard::selected(QString const&)'

libqte.so is there in $QTDIR/lib

any hints? thank you in advance
Title: link error while building QTE 2.3.7
Post by: lpotter on June 30, 2004, 01:25:23 am
how did you configure it? You should use the qconfig-qpe.h thats in the qtopia/src/qt directory of Qtopia and configure qte with it:
./configure -qconfig qpe
Title: link error while building QTE 2.3.7
Post by: murphytalk on June 30, 2004, 10:44:59 am
Quote
how did you configure it? You should use the qconfig-qpe.h thats in the qtopia/src/qt directory of Qtopia and configure qte with it:
./configure -qconfig qpe
Thank you.

I copied qconfig-qpe.h to qconfig-local.h and chose local configuration while configure,so I guess it should be same as use qconfig-qpe directly. Anyway I would follow your suggestion ,use ./configure -qconfig qpe to try again.

Thank you
Title: link error while building QTE 2.3.7
Post by: zautrix on June 30, 2004, 12:16:16 pm
Maybe the hint from lpotter helps.

I had the same problem, I had to link against libqtopia to get rid of the error.

But only for compiling for the destop and qvfb.

When I compile for Sharp, I do not need to link against it.
(libqtopia is not available on my 760, such that the linking would give a program, which does not run on the Zaurus )
Title: link error while building QTE 2.3.7
Post by: murphytalk on June 30, 2004, 10:34:02 pm
Quote
Maybe the hint from lpotter helps.

I had the same problem, I had to link against libqtopia to get rid of the error.

But only for compiling for the destop and qvfb.

When I compile for Sharp, I do not need to link against it.
(libqtopia is not available on my 760, such that the linking would give a program, which does not run on the Zaurus )
Yes,lpotter's hint DOES help, it's OK now.
but still don't understand which part of my approach goes wrong  
Title: link error while building QTE 2.3.7
Post by: Ashitaka on July 01, 2004, 03:24:31 am
Tomorrow I'll release a complete package+script to install all the cross-compiling environment for the Zaurus (with the libraries). Just wait