[Qt-wince-interest] Error while executing qt on winCE

Saravanan Ponnuswamy psaravanan81 at gmail.com
Fri Jun 20 04:50:48 CEST 2008


Hi,

I have an source code of an application developed in Qt only but on LINUX
platform.I need to port that on WinCE. Can anyone say me how to compile the
application  ..? if anyone has any documents regarding that can you give me
?

I tried the way i do in linux as follows:

On the Visual Studio Command Prompt:

cd /path-to-source/
qmake.exe -project
qmake.exe
nmake


Everything is compiling,but its linking .. it shows the following errors:

*eEdit@@MAAXPAVQDragLeaveEvent@@@Z)
speedySearchDetails.obj : error LNK2001: unresolved external symbol
"protected:
virtual void __cdecl QLineEdit::dragLeaveEvent(class QDragLeaveEvent *)"
(?dragL
eaveEvent at QLineEdit@@MAAXPAVQDragLeaveEvent@@@Z)
speedySearchScreen.obj : error LNK2001: unresolved external symbol
"protected: v
irtual void __cdecl QLineEdit::dragLeaveEvent(class QDragLeaveEvent *)"
(?dragLe
aveEvent at QLineEdit@@MAAXPAVQDragLeaveEvent@@@Z)
speedyLineEdit.obj : error LNK2001: unresolved external symbol "protected:
virtu
al void __cdecl QLineEdit::dragLeaveEvent(class QDragLeaveEvent *)"
(?dragLeaveE
vent at QLineEdit@@MAAXPAVQDragLeaveEvent@@@Z)
form4.obj : error LNK2001: unresolved external symbol "protected: virtual
void _
_cdecl QLineEdit::dragLeaveEvent(class QDragLeaveEvent *)"
(?dragLeaveEvent at QLin
eEdit@@MAAXPAVQDragLeaveEvent@@@Z)
form6.obj : error LNK2001: unresolved external symbol "protected: virtual
void _
_cdecl QLineEdit::dropEvent(class QDropEvent *)" (?dropEvent at QLineEdit
@@MAAXPAVQ
DropEvent@@@Z)
form7.obj : error LNK2001: unresolved external symbol "protected: virtual
void _
_cdecl QLineEdit::dropEvent(class QDropEvent *)" (?dropEvent at QLineEdit
@@MAAXPAVQ
DropEvent@@@Z)
form8.obj : error LNK2001: unresolved external symbol "protected: virtual
void _
_cdecl QLineEdit::dropEvent(class QDropEvent *)" (?dropEvent at QLineEdit
@@MAAXPAVQ
DropEvent@@@Z)
speedySearchDetails.obj : error LNK2001: unresolved external symbol
"protected:
virtual void __cdecl QLineEdit::dropEvent(class QDropEvent *)"
(?dropEvent at QLine
Edit@@MAAXPAVQDropEvent@@@Z)
speedySearchScreen.obj : error LNK2001: unresolved external symbol
"protected: v
irtual void __cdecl QLineEdit::dropEvent(class QDropEvent *)"
(?dropEvent at QLineE
dit@@MAAXPAVQDropEvent@@@Z)
speedyLineEdit.obj : error LNK2001: unresolved external symbol "protected:
virtu
al void __cdecl QLineEdit::dropEvent(class QDropEvent *)"
(?dropEvent at QLineEdit@
@MAAXPAVQDropEvent@@@Z)
form4.obj : error LNK2001: unresolved external symbol "protected: virtual
void _
_cdecl QLineEdit::dropEvent(class QDropEvent *)" (?dropEvent at QLineEdit
@@MAAXPAVQ
DropEvent@@@Z)
speedySearchDetails.obj : error LNK2001: unresolved external symbol
"protected:
virtual void __cdecl QAbstractItemView::dragMoveEvent(class QDragMoveEvent
*)" (
?dragMoveEvent at QAbstractItemView@@MAAXPAVQDragMoveEvent@@@Z)
speedySearchDetails.obj : error LNK2001: unresolved external symbol
"protected:
virtual void __cdecl QAbstractItemView::dragLeaveEvent(class QDragLeaveEvent
*)"
 (?dragLeaveEvent at QAbstractItemView@@MAAXPAVQDragLeaveEvent@@@Z)
speedySearchDetails.obj : error LNK2001: unresolved external symbol
"protected:
virtual void __cdecl QTableWidget::dropEvent(class QDropEvent *)"
(?dropEvent at QT
ableWidget@@MAAXPAVQDropEvent@@@Z)
speedySearchDetails.obj : error LNK2001: unresolved external symbol
"protected:
virtual void __cdecl QAbstractItemView::startDrag(class QFlags<enum
Qt::DropActi
on>)" (?startDrag at QAbstractItemView@@MAAXV?$QFlags at W4DropAction@Qt@@@@@Z)
speedySearchScreen.obj : error LNK2019: unresolved external symbol
"__declspec(d
llimport) public: class QString __cdecl QDomElement::tagName(void)const "
(__imp
_?tagName at QDomElement@@QBA?AVQString@@XZ) referenced in function "public:
virtua
l void __cdecl speedySearchScreen::onServResponse(int,class QString)"
(?onServRe
sponse at speedySearchScreen@@UAAXHVQString@@@Z)
speedyAdvManager.obj : error LNK2001: unresolved external symbol
"__declspec(dll
import) public: class QString __cdecl QDomElement::tagName(void)const "
(__imp_?
tagName at QDomElement@@QBA?AVQString@@XZ)
speedyThemeManager.obj : error LNK2001: unresolved external symbol
"__declspec(d
llimport) public: class QString __cdecl QDomElement::tagName(void)const "
(__imp
_?tagName at QDomElement@@QBA?AVQString@@XZ)
speedyAdvManager.obj : error LNK2019: unresolved external symbol
"__declspec(dll
import) public: bool __cdecl QDomDocument::setContent(class QIODevice
*,class QS
tring *,int *,int *)" (__imp_?setContent at QDomDocument@@QAA_NPAVQIODevice@
@PAVQSt
ring@@PAH2 at Z) referenced in function "public: void __cdecl
speedyAdvManager::loa
dAd(void)" (?loadAd at speedyAdvManager@@QAAXXZ)
speedyThemeManager.obj : error LNK2001: unresolved external symbol
"__declspec(d
llimport) public: bool __cdecl QDomDocument::setContent(class QIODevice
*,class
QString *,int *,int *)" (__imp_?setContent at QDomDocument@@QAA_NPAVQIODevice@
@PAVQ
String@@PAH2 at Z)
speedyTextEdit.obj : error LNK2001: unresolved external symbol "protected:
virtu
al void __cdecl QTextEdit::dragEnterEvent(class QDragEnterEvent *)"
(?dragEnterE
vent at QTextEdit@@MAAXPAVQDragEnterEvent@@@Z)
speedyTextEdit.obj : error LNK2001: unresolved external symbol "protected:
virtu
al void __cdecl QTextEdit::dragMoveEvent(class QDragMoveEvent *)"
(?dragMoveEven
t at QTextEdit@@MAAXPAVQDragMoveEvent@@@Z)
speedyTextEdit.obj : error LNK2001: unresolved external symbol "protected:
virtu
al void __cdecl QTextEdit::dragLeaveEvent(class QDragLeaveEvent *)"
(?dragLeaveE
vent at QTextEdit@@MAAXPAVQDragLeaveEvent@@@Z)
speedyTextEdit.obj : error LNK2001: unresolved external symbol "protected:
virtu
al void __cdecl QTextEdit::dropEvent(class QDropEvent *)"
(?dropEvent at QTextEdit@
@MAAXPAVQDropEvent@@@Z)
debug\Clients.exe : fatal error LNK1120: 69 unresolved externals
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
8\VC\ce\bi
n\x86_arm\link.EXE"' : return code '0x460'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
8\VC\bin\n
make.exe"' : return code '0x2'
Stop.

D:\workspace\InCarz\clients\Clients>

*Can anyone please suggest a solution for this  problem..?

with regards,
saravanan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-wince-interest/attachments/20080620/7800223a/attachment.html 


More information about the Qt-wince-interest mailing list