Revision 6170986...
Go back to digest for 5th February 2012Other in Other
Initial changes for Windows support.
Here are the problems:
* PerlQt .dlls and Qt dlls use the same name ("QtCore4.dll", "QtGui4.dll").
So the PerlQt one gets loaded, but the Qt one doesn't. The only way to
get around this is to rename the .dll. But I don't want to rename all the
Perl modules, because that would break current code. So you'd end up with
the .pm files having a different name from the .dll files.
* ExtUtils::MakeMaker uses a separate file to list what functions should
be visible to outside code, specifically marking the boot functions as
visible. PerlQt uses CMake, which doesn't appear to support this,
expecting the visibility attributes to be set in the code. But Perl uses
macros to declare the XS functions, so in order to set the visibility in
the code, I have to redefine one of the Perl macros to inject
"__declspec(dllexport)".
I'm looking at