diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-10-16 11:30:47 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-10-16 23:59:28 +0200 |
commit | 880db10f553d1190ab79f3dd45a89bfa28e5c84b (patch) | |
tree | b3f1b4e550ffcfa8ddf7b848c0baefc10e1d0734 /mkspecs/features | |
parent | f6012c4a56b311978d6f6c421f8a4f7dfa851ad6 (diff) |
iOS: Remove dead code for linking to platform plugin
The code only existed to avoid the auto-generated
Q_IMPORT_PLUGIN(QIOSIntegrationPlugin), but nowadays
with bitcode enabled the code is not used, plus we end
up with this auto-generated file for other plugins anyways.
Change-Id: I91c8c88f4e825caab7d7d5250edaba8c57cb7374
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'mkspecs/features')
-rw-r--r-- | mkspecs/features/uikit/qt.prf | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/mkspecs/features/uikit/qt.prf b/mkspecs/features/uikit/qt.prf index 4475c137dc..a1720c1535 100644 --- a/mkspecs/features/uikit/qt.prf +++ b/mkspecs/features/uikit/qt.prf @@ -1,25 +1,6 @@ qt_depends = $$resolve_depends(QT, "QT.") !watchos:equals(TEMPLATE, app):contains(qt_depends, gui(-private)?) { - LIBS *= -L$$[QT_INSTALL_PLUGINS/get]/platforms - - lib_name = qios - lib_path_and_base = $$[QT_INSTALL_PLUGINS/get]/platforms/lib$${lib_name}$$qtPlatformTargetSuffix() - LIBS += -l$${lib_name}$$qtPlatformTargetSuffix() $$fromfile($${lib_path_and_base}.prl, QMAKE_PRL_LIBS) - - !bitcode { - # By marking qt_registerPlatformPlugin as undefined, we ensure that - # the plugin.o translation unit is considered for inclusion in - # the final binary, which in turn ensures that the plugin's - # static initializer is included and run. - QMAKE_LFLAGS += -u _qt_registerPlatformPlugin - - # We do link and dependency resolution for the platform plugin - # manually, since we know we always need the plugin, so we don't - # need to generate an import for it. - QTPLUGIN.platforms = - - } - !no_main_wrapper { # The LC_MAIN load command available in iOS 6.0 and above allows dyld to # directly call the entrypoint instead of going through _start in crt.o. |