Add option for skipping use of private API.
authorMorten Johan Sørvig <morten.sorvig@digia.com>
Tue, 6 May 2014 12:05:13 +0000 (14:05 +0200)
committerMorten Johan Sørvig <morten.sorvig@theqtcompany.com>
Thu, 13 Aug 2015 09:03:53 +0000 (09:03 +0000)
commit85e64f95c8637f876ba84dcbd01e375050e76d8c
tree3c596a7bf8524bf2d2b104af9b4fbc48a956a508
parentecaca66217be76f23e80948c042bc1a2ddeed3f8
Add option for skipping use of private API.

The qsqlodbc and qsqlpsql are known to cause rejections
from the Mac App store due to use of private/deprecated
API.

The plugins are deployed whenever the SQL module is used.
Due to this corse granularity of plugin selection apps
may find themselves rejected for plugins which they
are not actually using.

Make macdeployqt print a warning when sqlodbc or sqlpsql
is deployed. Add "-appstore-compliant" which will
skip deployment of the plugins.

Task-number: QTBUG-37835
Task-number: QTBUG-38607
Change-Id: I7325156ffaf228a97d7ceeb12f329b3f10db4ff2
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>
src/macdeployqt/macdeployqt/main.cpp
src/macdeployqt/shared/shared.cpp