winrt: Fix Qt5PrintSupport(d).lib generation
With QT_NO_PRINTER set via the feature system there is no symbol exported at all in a packaging build. This implies that no .lib is generated. When an application has QT+=printsupport the build will fail due to a missing file. For android and ios it only worked as there is no separation and linker works against the .so file Task-number: QTBUG-56321 Change-Id: I389adaca61669b302b6c431effed2ef6d1c499a3 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
This commit is contained in:
parent
be00e37bb3
commit
cfd069181c
@ -2326,4 +2326,8 @@ QPrinter::PrintRange QPrinter::printRange() const
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#elif defined(Q_OS_WINRT)
|
||||
QT_BEGIN_NAMESPACE
|
||||
bool Q_PRINTSUPPORT_EXPORT qt_winrt_export_lib_creation_variable;
|
||||
QT_END_NAMESPACE
|
||||
#endif // QT_NO_PRINTER
|
||||
|
Loading…
x
Reference in New Issue
Block a user