[Gammaray-interest] Missing plugins on OSX / IOS
Filipe Azevedo
filipe.azevedo at kdab.com
Mon Oct 24 15:15:20 CEST 2016
On Friday, October 21, 2016 10:24:35 PM CEST Paul Nader wrote:
> Hi,
Hey
>
> I've compiled the probe to run on IOS and I can connect gammaray to a
> remote app running on an iphone and browse the locales, objects, standard
> paths, etc but the plugins seem not to have loaded in the mac-osx client
> gui (ie Help->Diagnostics->Plugins shows to blank boxes).
Most likely an issue for the plugin discovered, had a look at PluginManager,
especially the PluginManagerBase::scan() member.
Also for any of the static plugin used by Q_IMPORT_PLUGIN, you will have to
make sure the according library to be linked too. See staticprobe.h for more
informations.
>
> To compile the IOS probe I created an IOS toolchain file to cross-compile
> using Xcode 8 and had cmake generate an xcode project which I then manually
> changed to target to armv7 and use the IOS 10 sdk as well as a few other
> quirks (no bitcode and signing). This should be handled by the toolchain
> file, but my cmake knowledge is fairly limited.
I would have just duplicate the osx toolchain and repalce i686 to something
like arm/armv7.
>
> Maybe something went astray in my build because the plugins (eg
> gammaray_fontbrowser_ui_plugin_debug.so) all ended up as .so Mach-O 64-bit
> bundle x86_64 instead of .dylib Mach-O 64-bit dynamically linked shared
> libraries, which is the format the image formats plugins from qt are in.
I would say it is normal, the probe only use the non ui plugins.
Any of the ui plugins is only used by the client (or the probe in case of
using deprecated in process ui) and is actually built as bundle/so.
Why we choosen bundle/so over dylib is probably that the osx version was a
port of the unix version and we did not needed to link those plugins.
>
> Or maybe the plugins are also required in the probe end? I checked the
> plugins are all installed.
Non ui plugins definitly.
Where did you checked for plugins ?
>
> Anyone have any pointers as to what might have gone wrong?
See the plugin manager hints given earlier.
>
> Cheers,
> Paul
Cheers, Filipe,
-
Filipe Azevedo | filipe.azevedo at kdab.com | Qt Expert, Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel: France +33 (0)4 90 84 08 53, http://www.kdab.fr
KDAB - The C++, Qt and OpenGL Experts
More information about the Gammaray-interest
mailing list