Qt4 on Cygwin
Ralf Habacker
ralf.habacker at freenet.de
Fri Jul 27 07:56:04 CEST 2007
Yaakov (Cygwin Ports) schrieb:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Ralf Habacker wrote:
>
>> You can use the import/export decoration which is used by native
>> Qt/windows. See the following part in src/corelib/global/qglobal.h
>>
> [snip]
>
> I tried this method (by adding || defined(Q_OS_CYGWIN) as appropriate,
> and it didn't help.
>
What do you mean with this statement ? Does it not compile or link or
what else ? When you compile qt files with --save-temps do you see the
dllexport statement after the class statement in the related .i file like
class __declspec(dllexport) QString ...
Is QT_MAKEDLL defined ? And QT_BUILD_CORE_LIB when compiling qt core
files ?
And if you compile a client application with --save-temps do you see the
term dllimport in the related .i file after a class statement ?
class __declspec(dllimport) QString ...
If not there must be problems with the related macros.
Ralf
More information about the kde-cygwin
mailing list