[mythtv] Problems with dynamic_cast
Mark Spieth
mark at digivation.com.au
Tue Jan 28 23:31:39 UTC 2020
On 29/01/2020 9:25 am, john.p.harvey at btinternet.com wrote:
>
> Is it failing when things are allocated in one shared library and this
> dynamic cast done in another library or executable? I seem to remember
> some issues with that on Android in the past. All works fine within
> the same shared library.
>
> John
>
The base class is in libQt5Core.so shared library, the derived class is
constructed in another libmythui.so.
Dynamic_cast is in the libmyth.so, passed as base class ptr defined in
libQt5Core.so via postEvent and is implicitly downcast.
Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-dev/attachments/20200129/5f15da4a/attachment.htm>
More information about the mythtv-dev
mailing list