You Are Here:

Community: Developer Discussion Boards

#1 Old undefined symbol error - 2009-11-07, 04:59

Join Date: May 2009
Posts: 44
MuratMetu
Offline
Registered User
Hello I got the following error during compile time:

Creation Time Description Resource Path Location Type
1257565797812 Undefined symbol: '__declspec(dllimport) QDomDocument::QDomDocument(class QString const &) (__imp_??0QDomDocument@@QAE@ABVQString@@@Z)' MyClass Unknown C/C++ Problem


I have following method declaring variable x which is a type of QDomDocument
and in my header file I included #include <QtXml/qdom.h>

void MyClass:: parseResult(QTextStream* inputText){
QDomDocument x("Test");
}

What can be reason for this?
Reply With Quote

#2 Old Re: undefined symbol error[SOLVED] - 2009-11-07, 05:21

Join Date: May 2009
Posts: 44
MuratMetu
Offline
Registered User
Solved after adding xml module to the QT variable in the .pro file:

QT += core \
gui \
network \
webkit \
xml \ --> (xml added)
webkit
Reply With Quote

#3 Old Re: undefined symbol error - 2009-11-09, 16:09

Join Date: Oct 2007
Posts: 2,306
Location: જુનાગઢ - India
savaj's Avatar
savaj
Offline
Forum Nokia Champion
Any module (including QtXml) can also be added in project using Project creation vizard. You have to just check XML in Qt Module windows, for adding xml module.
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
error LNK2019: unresolved external symbol ??? wgarnett General Symbian C++ 3 2009-09-28 07:53
Head Set Status arunmdevan General Symbian C++ 15 2009-02-28 05:30
mwldsym2.exe: Undefined symbol in Carbide.C++ 1.3 ValentinK Carbide.c++ IDE and plug-ins 4 2008-03-14 16:23
Parsing file content hendrawan.ashari General Symbian C++ 7 2007-03-09 11:41
Carbide.vs 2.01 Registration Problem baykal Symbian Tools & SDKs 5 2006-12-22 17:55

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