2 Nov 2002 13:36
Qt 3.1.0
Martin Fuchs <martin-fuchs <at> gmx.net>
2002-11-02 12:36:31 GMT
2002-11-02 12:36:31 GMT
Hi! I've tried to compile the Qt 3.1.0 beta under cycwin. Starting with the original version from Trolltech I had to tweak it a bit. Attached is a diff file with the adjustments. I could sucessfully compile it in the "-static" mode. However I have problems to link it as shared object (aka DLL). For example, when linking the image format plugins, the cygwin ld complains about missing functions like QString::upper() and some more... Although this functions ARE compiled and present in the qstring.o object file. The problem is: They are not propperly exported from the DLL. I also found the "__declspec dllexport"-declarations in class QString. So - what's the problem here - why doesn't export ld this functions?! Since you have manged to successfully build Qt 2 (and may be 3.0.4 ?), I'm asking for some help here. P.S.: I've tried to additionally specify "Q_EXPORT" in qstring.cpp. This seems to solve the problem for this few functions. But there are much more... -- -- Martin Fuchs martin-fuchs <at> gmx.net
Martin
RSS Feed