diff options
author | Tor Arne Vestbø <tor.arne.vestbo@digia.com> | 2012-12-06 14:06:25 +0100 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@digia.com> | 2013-02-27 13:07:22 +0100 |
commit | 5b99d46b3985b435fbf4b786a4abaf77714711d0 (patch) | |
tree | 2a0d8ddbd4412ca0d63b97f1ccc2df74d48aa610 /LICENSE.FDL | |
parent | 77168c03ffb2d8eeef231766e4322601495778c9 (diff) |
iOS: Link to the platform plugin and iosmain plugin and define main
Ideally we'd only have to do QTPLUGIN += ios, but this doesn't work as
we need to link with the force_load linker option. Even trying to build
on QTPLUGIN and then replace the -l line with what we need will fail, as
the prl logic in qmake which runs after all the prf files does not know
about the force_load option and will then fail to resolve dependencies
from the prl file.
Since we load the platform plugin using -force_load, there's no need to
generate a cpp file that does the plugin import.
The main wrapper is not a real Qt plugin, and doesn't have an import
function that we can call, so we link it manually instead of relying
on QTPLUGIN.
Change-Id: I0381a3c9ed7f8d41a4121e1fc0b7c0e210a8b832
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
Diffstat (limited to 'LICENSE.FDL')
0 files changed, 0 insertions, 0 deletions