[qpa] Use QPlatformIntegrationFactoryInterface_iid for Q_PLUGIN_METADATA

Makes it work with both Qt 5.4 and Qt 5.5.
This commit is contained in:
Martin Gräßlin 2015-08-21 13:40:20 +02:00
parent abb9bf1355
commit f0f8421cef

View file

@ -25,7 +25,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
class KWinIntegrationPlugin : public QPlatformIntegrationPlugin
{
Q_OBJECT
Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.2" FILE "kwin.json")
Q_PLUGIN_METADATA(IID QPlatformIntegrationFactoryInterface_iid FILE "kwin.json")
public:
QPlatformIntegration *create(const QString &system, const QStringList &paramList) override;
};