diff options
author | Ulf Hermann <ulf.hermann@theqtcompany.com> | 2015-06-19 13:27:53 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@theqtcompany.com> | 2015-06-22 14:21:25 +0000 |
commit | 68e31e4ab9fb3fdd544bc402e7654e2ac1f5eb53 (patch) | |
tree | e7dd3f9afd802d1a1ce53930910c317744966f61 /src/plugins/printsupport/cups/qcupsprintersupport_p.h | |
parent | b93d1f6b1f90f9c24ba31b8c7c1b8d01327c05b9 (diff) |
Replace #ifdefs with qmake feature checks.
This prevents the building of dysfunctional plugins that don't define
a loader function, or won't compile at all.
Change-Id: Ib62edb8db4a8917effa05292cb702bb4022f552c
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'src/plugins/printsupport/cups/qcupsprintersupport_p.h')
-rw-r--r-- | src/plugins/printsupport/cups/qcupsprintersupport_p.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/plugins/printsupport/cups/qcupsprintersupport_p.h b/src/plugins/printsupport/cups/qcupsprintersupport_p.h index 170daa9d3b..6dcaa4e893 100644 --- a/src/plugins/printsupport/cups/qcupsprintersupport_p.h +++ b/src/plugins/printsupport/cups/qcupsprintersupport_p.h @@ -48,8 +48,6 @@ #include <qpa/qplatformprintersupport.h> -#if !defined(QT_NO_PRINTER) && !defined(QT_NO_CUPS) - #include <QtCore/qstringlist.h> QT_BEGIN_NAMESPACE @@ -73,5 +71,4 @@ private: QT_END_NAMESPACE -#endif // !defined(QT_NO_PRINTER) && !defined(QT_NO_CUPS) #endif // QCUPSPRINTERSUPPORT_H |