specify MODULE to avoid module .pri filename clash
authorMark Brand <mabrand@mabrand.nl>
Fri, 2 Nov 2012 00:36:31 +0000 (01:36 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 2 Nov 2012 14:25:14 +0000 (15:25 +0100)
Since 733ac1f6e6b3155a594376ef99288c6117124000 the default MODULE
is the base of the .pro file for the plugin (i.e., "windows"). Since
MODULE becomes the base of the module .pri, the names of the module
.pri files can clash. Now we explicitly specify MODULE for
printersupport plugins to avoid overwriting the module .pri files of
the platform plugins whose .pro files have the same names.

Follow-up to 81f8f0db5cb75e29b041a011ca4e7dbbf2d903c5 which renamed the
TARGET.

Change-Id: Ie83892dc419257e1df3b81bcf6ecec751ae345b0
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
src/plugins/printsupport/cocoa/cocoa.pro
src/plugins/printsupport/cups/cups.pro
src/plugins/printsupport/windows/windows.pro

index 4e99b4a..c0206fd 100644 (file)
@@ -1,5 +1,5 @@
 TARGET = cocoaprintersupport
-
+MODULE = cocoaprintersupport
 PLUGIN_TYPE = printsupport
 load(qt_plugin)
 
index bd0b6af..0ea5058 100644 (file)
@@ -1,5 +1,5 @@
 TARGET = cupsprintersupport
-
+MODULE = cupsprintersupport
 PLUGIN_TYPE = printsupport
 load(qt_plugin)
 
index 5e87385..5b5dd86 100644 (file)
@@ -1,5 +1,5 @@
 TARGET = windowsprintersupport
-
+MODULE = windowsprintersupport
 PLUGIN_TYPE = printsupport
 load(qt_plugin)