[CMake] Mixed linking

Norbert Pfeiler norbert.pfeiler+cmake at gmail.com
Fri Feb 6 10:24:09 EST 2015


>
> But I just don't know how to include the plugins.  Actually, I always get
> the error about the platform plugin (cocoa in my case).  Any tips ?


For Windows it’s like this:

#if defined(Q_OS_WIN) && defined(QT_STATIC)
#include <QtPlugin>
Q_IMPORT_PLUGIN(QWindowsIntegrationPlugin)
#endif

Best, Norbert.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20150206/4a339712/attachment.html>


More information about the CMake mailing list