]> git.sesse.net Git - vlc/commit
Qt: add QT_STATICPLUGIN define as per the qt spec
authorMartell Malone <martellmalone@gmail.com>
Tue, 25 Nov 2014 13:23:38 +0000 (13:23 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 25 Nov 2014 16:13:52 +0000 (17:13 +0100)
commit98ada626762841b5976ca71166fd2b4b970f19ea
treedab5ca02331cccfdc1394d8d8cdecdb6c55a66e6
parenta97bb6d84046e92dd341ffbb08992c7aca2e7f2b
Qt: add QT_STATICPLUGIN define as per the qt spec

The QT spec says we should use QT_STATICPLUGIN defined if building a
static plugin.

As we are using out own makefile and not a qt .pro project we have to
define it ourselves.

This is then used to decide if we should import the modules
QWindowsIntegrationPlugin and AccessibleFactory as these are not needed
on a shared build.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/gui/qt4/qt4.cpp
modules/gui/qt4/qt4.hpp