iOS, nsphotolibrarysupport: force plugin to be static

Since the iOS plugin (kernel) is static, the
optional plugin needs to be static as well. Otherwise the linker
will complain about missing symbols (coming from the
optional plugin calling out to functions in kernel).

Task-number: QTBUG-42937
Change-Id: I154de0d383bfae09c75a57395b57414fc5ffcc2d
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
This commit is contained in:
Richard Moe Gustavsen 2016-11-04 12:10:12 +01:00
parent e88ccc0c42
commit 94b0e4c5d6

View File

@ -1,5 +1,9 @@
TARGET = qiosnsphotolibrarysupport
# QTBUG-42937: Since the iOS plugin (kernel) is
# static, this plugin needs to be static as well.
qtConfig(shared): CONFIG += static
QT += core gui gui-private
LIBS += -framework Foundation -framework UIKit -framework AssetsLibrary