Introduce a version number to QPlatformPrinterSupportFactoryInterface.

Append a version number to QPlatformPrinterSupportFactoryInterface_iid
as is done for QPlatformIntegrationFactoryInterface. Start with 5.1 since
a6bcdf1516 changes the API in 5.5.
Use macro in plugins.

Task-number: QTBUG-46009
Change-Id: Ib9d2a02d20b9c4c6ad6c1045a907d69d80e3def4
Reviewed-by: Paul Olav Tvete <paul.tvete@theqtcompany.com>
This commit is contained in:
Friedemann Kleint 2015-05-11 09:36:17 +02:00
parent 45ccabdd49
commit 2142f09c3d

View File

@ -52,7 +52,7 @@ QT_BEGIN_NAMESPACE
class QPlatformPrinterSupport;
#define QPlatformPrinterSupportFactoryInterface_iid "org.qt-project.QPlatformPrinterSupportFactoryInterface"
#define QPlatformPrinterSupportFactoryInterface_iid "org.qt-project.QPlatformPrinterSupportFactoryInterface.5.1"
class Q_PRINTSUPPORT_EXPORT QPlatformPrinterSupportPlugin : public QObject
{