mirror of
https://github.com/qmlnet/qmlnet.git
synced 2026-05-15 14:15:54 -06:00
[GH-ISSUE #228] Linux armhf 32bit support #145
Labels
No labels
bug
enhancement
help wanted
help wanted
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/qmlnet#145
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @raven-worx on GitHub (Nov 9, 2020).
Original GitHub issue: https://github.com/qmlnet/qmlnet/issues/228
Hi,
we managed to compile libQmlNet.so for Linux armv7 (32bit). But during runtime we encounter the following runtime exception:
Digging into the source we spotted the explicit check for 64bit pointer width.
https://github.com/qmlnet/qmlnet/blob/develop/src/net/Qml.Net/Runtimes/RuntimeManager.cs#L47
What is the need for explicit 64bit?
And is there any chance to easily support 32bit?
@pauldotknopf commented on GitHub (Nov 9, 2020):
If you've manually compiled
libQmlNet.soand it's installed into the proper location (/usr/lib, orLD_LIBRARY_PATH), then you shouldn't need to call theRuntimeManager.DiscoverOrDownloadSuitableQtRuntimeanymore.@pauldotknopf commented on GitHub (Nov 9, 2020):
Using
RuntimeManageris only for using the pre-compiled Qt/lib bits that we manage.@raven-worx commented on GitHub (Nov 9, 2020):
i built libQmlNet.so by simply invoking
build.shand the result was linked against our custom Qt libs (verified by ldd).Then i built qmlnet-examples and run it on the armv7 target device via
dotnet Features.dlland the exception is raised.@pauldotknopf commented on GitHub (Nov 9, 2020):
Uncomment the usage of
RuntimeManagerin the examples project.@raven-worx commented on GitHub (Nov 10, 2020):
ok, i uncommented the RuntimeManager line and it works now. thank you!