Cheers.

First the environment. Windows XP, Visual Studio.NET, qt3.2.3, sip3.10 and
pyqt3.10.  Python 2.3.3

I am trying to compile a static version of python with qt compiled into
it.

I've compiled python, qt as a static library and sip.
When I try to configure pyqt (just the configure step) I get these error
messages:

qui.lib(qwidgetfactory.obj) : error LNK2001: unresolved external symbol
"private
: static struct QStringData * QString::shared_null"
([EMAIL PROTECTED]@@0PAUQ
StringData@@A)
qui.lib(database.obj) : error LNK2001: unresolved external symbol
"private: stat
ic struct QStringData * QString::shared_null"
([EMAIL PROTECTED]@@0PAUQString
Data@@A)
qui.lib(domtool.obj) : error LNK2019: unresolved external symbol "private:
stati
c struct QStringData * QString::shared_null"
([EMAIL PROTECTED]@@0PAUQStringD
ata@@A) referenced in function "public: static class QVariant __cdecl
DomTool::e
lementToVariant(class QDomElement const &,class QVariant const &,class
QString &
)"
([EMAIL PROTECTED]@@SA?AVQVariant@@ABVQDomElement@@[EMAIL PROTECTED]@@@
Z)
qui.lib(qwidgetfactory.obj) : error LNK2001: unresolved external symbol
"class Q
Application * qApp" (?qApp@@3PAVQApplication@@A)
qui.lib(moc_database2.obj) : error LNK2001: unresolved external symbol
"class QA
pplication * qApp" (?qApp@@3PAVQApplication@@A)
qui.lib(qwidgetfactory.obj) : error LNK2001: unresolved external symbol
"public:
 static char * QSqlDatabase::defaultConnection"
([EMAIL PROTECTED]
@@2QADA)
qui.lib(database.obj) : error LNK2001: unresolved external symbol "public:
stati
c char * QSqlDatabase::defaultConnection"
([EMAIL PROTECTED]@@2QAD
A)
qui.lib(qwidgetfactory.obj) : error LNK2001: unresolved external symbol
"public:
 static class QString QString::null" ([EMAIL PROTECTED]@@[EMAIL PROTECTED])
qui.lib(domtool.obj) : error LNK2001: unresolved external symbol "public:
static
 class QString QString::null" ([EMAIL PROTECTED]@@[EMAIL PROTECTED])
modtest.exe : fatal error LNK1120: 4 unresolved externals


Sip compiles without errors or warnings.  The
c:\python-2.3.2\lib\site-packages directory is in the pythonpath and the
libsip.lib is in there.

Please help.

Greg

"Many a man may look respectable, and yet be able to hide at will behind a
        spiral staircase."
                                - Pelham (Plum) Grenville  Wodehouse


_______________________________________________
PyKDE mailing list    [EMAIL PROTECTED]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to