Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 3

Qt-interest Archive, February 2007
Qt 4.2.2 compilation problem on Win32


Message 1 in thread

I tried to compile Qt using the Intel C++ compiler. I configured Qt with 
this command :
configure -debug-and-release -qt-zlib -qt-libjpeg -qt-libpng -qt-libmng 
-no-qt3support -platform win32-icc .

When I ran nmake, I had this link error:

	link /LIBPATH:"e:\intel_devenv\qt-4.2.2\lib" 
/LIBPATH:"e:\intel_devenv\qt-4.2.2\lib" /NOLOGO /BASE:0x65000000 /DEBUG 
/DEBUG /DLL /VERSION:4.22 /OUT:..\..\lib\QtGuid4.dll 
@C:\DOCUME~1\DDESMA~1\LOCALS~1\Temp\nmD10.tmp
    Création de la bibliothèque ..\..\lib\QtGuid4.lib et de l'objet 
..\..\lib\QtGuid4.exp
qstroker.obj : error LNK2019: symbole externe non résolu 
"__declspec(dllimport) public: __thiscall QPointF::QPointF(class QPointF 
const &)" (__imp_??0QPointF@@QAE@ABV0@@Z) référencé dans la fonction 
"public: void __thiscall QStrokerOps::strokePath(class QPainterPath 
const &,void *,class QMatrix const &)" 
(?strokePath@QStrokerOps@@QAEXABVQPainterPath@@PAXABVQMatrix@@@Z)
qstyle.obj : error LNK2019: symbole externe non résolu 
"__declspec(dllimport) public: __thiscall 
QGenericReturnArgument::QGenericReturnArgument(class 
QGenericReturnArgument const &)" 
(__imp_??0QGenericReturnArgument@@QAE@ABV0@@Z) référencé dans la 
fonction "public: class QIcon __thiscall QStyle::standardIcon(enum 
QStyle::StandardPixmap,class QStyleOption const *,class QWidget const 
*)const " 
(?standardIcon@QStyle@@QBE?AVQIcon@@W4StandardPixmap@1@PBVQStyleOption@@PBVQWidget@@@Z)
..\..\lib\QtGuid4.dll : fatal error LNK1120: 2 externes non résolus


Can you tell me what I have to do to compile Qt with Intel compiler.

Thanks,
David

--
 [ signature omitted ]