You Are Here:

Community: Developer Discussion Boards

#1 Old QtXml link error - 2009-11-03, 10:06

Join Date: Oct 2008
Posts: 19
alexeystoyanov
Offline
Registered User
Hi,

I have some link problems. QtCore.dll/lib is built fine, but when the build process comes to QtXml.dll the following errors occured.
Code:
Error: L6218E: Undefined symbol QByteArray::replace(int, int, const char*) (referred from QtXml.in).
Error: L6218E: Undefined symbol QString::remove(QChar, Qt::CaseSensitivity) (referred from QtXml.in).
Error: L6218E: Undefined symbol QString::indexOf(QChar, int, Qt::CaseSensitivity) const (referred from QtXml.in).
Error: L6218E: Undefined symbol QString::remove(int, int) (referred from QtXml.in).
Error: L6218E: Undefined symbol QString::indexOf(const QLatin1String&, int, Qt::CaseSensitivity) const (referred from QtXml.in).
Qt ver 4.6.0. It is configured for symbian(using: configure -platform win32-msvc2008 -xplatform symbian-abld).
OpenC/C++ libs are available in my Symbian SDK(5th Edition).

Do you have any ideas why is this happening?

Thanks in advance.
Reply With Quote

#2 Old Re: QtXml link error - 2009-11-03, 14:10

Join Date: Oct 2007
Posts: 2,306
Location: જુનાગઢ - India
savaj's Avatar
savaj
Offline
Forum Nokia Champion
Have you added QtXml module in your application??? if not then add following line to your .pro file.

Quote:
QT += xml
Reply With Quote

#3 Old Re: QtXml link error - 2009-11-03, 19:08

Join Date: Oct 2008
Posts: 19
alexeystoyanov
Offline
Registered User
That is happening when i build QT for armv5 release.

First I configure the QT FW for symbian platform.
After that I simply use:
make armv5-release, or something like that.
I have RVCT compiler lincensed.

The problem is not only in QtXml linking. If I remove bld.inf file of QtXml project from the main bld.inf file in
Qt main dir then on the next dll/lib which have to be built occur errors like these from my first post:

Quote:
Error: L6218E: Undefined symbol QByteArray::replace(int, int, const char*) (referred from QtXml.in).
Error: L6218E: Undefined symbol QString::remove(QChar, Qt::CaseSensitivity) (referred from QtXml.in).
Error: L6218E: Undefined symbol QString::indexOf(QChar, int, Qt::CaseSensitivity) const (referred from QtXml.in).
Error: L6218E: Undefined symbol QString::remove(int, int) (referred from QtXml.in).
Error: L6218E: Undefined symbol QString::indexOf(const QLatin1String&, int, Qt::CaseSensitivity)
...............
with the difference "referred from QtGui.in" for example.
So I think the problem is somewhere else.

Please help.
Last edited by alexeystoyanov : 2009-11-03 at 19:22.
Reply With Quote

#4 Old Re: QtXml link error - 2009-11-10, 18:00

Join Date: Oct 2008
Posts: 19
alexeystoyanov
Offline
Registered User
Solution:
Update RVCT compiler to last build(some link problems were fixed from previous build).
I have downloaded QT 4.6.0 beta from QT repository, not from the official link "...s60pre-release...".
That's because from the official link QT build log showed some link errors.

So, USE the last revision from the repository!!!
Reply With Quote

#5 Old Re: QtXml link error - 2009-11-11, 05:05

Join Date: Oct 2007
Posts: 2,306
Location: જુનાગઢ - India
savaj's Avatar
savaj
Offline
Forum Nokia Champion
Then signing a SIS file with that libs is next headache for you, as building Qt libs require "All -Tcb" capabilities.
Reply With Quote

#6 Old Re: QtXml link error - 2009-11-11, 22:28

Join Date: Oct 2008
Posts: 19
alexeystoyanov
Offline
Registered User
Yes, I've created another thread for this problem. Yes, it is a big problem for me now. Probably will try again to build the QT from the official link. It is time to remove those stupid *.cert files. They are stopping our progress.
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
i cant build helloworld project akhin Carbide.c++ IDE and plug-ins 2 2008-12-22 13:38
编译3rd Sample程序时的LINK错误 mapk Symbian 9 2008-06-17 05:26
help !! about SIP errors wgarnett General Symbian C++ 3 2006-05-17 06:30
S80 Platform SDK and Visual Studio .NET Linking Error jayantjain Mobile Java Tools & SDKs 1 2005-10-07 23:14
Unresolved external symbols problem georgica1979 Symbian User Interface 1 2003-04-06 14:26

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia