mirror of
https://github.com/qmlnet/qmlnet.git
synced 2026-05-15 14:15:54 -06:00
[GH-ISSUE #223] Linux Arm32 Qml.Net.Internal.Interop libQmlNet.so: undefined symbol: type_info_callbacks_registerCallbacks #141
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#141
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 @zhangjingru on GitHub (Sep 4, 2020).
Original GitHub issue: https://github.com/qmlnet/qmlnet/issues/223
qmake qmlnet_native/QmlNet/QmlNet.pro produced libQmlNet.so
libQmlNet.so copy to publish
root@NanoPi2:/opt/armapp_qmlnet# dotnet QmlDoNet.dll
Hello World!
System.TypeInitializationException: The type initializer for 'Qml.Net.Internal.Interop' threw an exception.
---> System.Exception: Symbol could not be loaded: /opt/armapp_qmlnet/libQmlNet.so: undefined symbol: type_info_callbacks_registerCallbacks. Symbol name: type_info_callbacks_registerCallbacks
at NetNativeLibLoader.Loader.UnixPlatformLoader.LoadSymbol(IntPtr library, String symbolName)
at Qml.Net.Internal.Interop.LoadDelegates(Object o, IntPtr library, IPlatformLoader loader)
at Qml.Net.Internal.Interop.LoadInteropType[T](IntPtr library, IPlatformLoader loader)
at Qml.Net.Internal.Interop..cctor()
--- End of inner exception stack trace ---
at Qml.Net.Internal.Interop.get_NetVariantList()
at Qml.Net.Internal.Qml.NetVariantList..ctor()
at Qml.Net.QCoreApplication.Create(Int32 type, List`1 args, Int32 flags)
at Qml.Net.QCoreApplication..ctor(Int32 type, String[] args, Int32 flags)
at Qml.Net.QGuiApplication..ctor(String[] args, Int32 flags)
at QmlDoNet.Program.Main(String[] args) in D:\Project\QmlDoNet\QmlDoNet\Program.cs:line 15
qmake qmlnet_native/QmlNet.pro
Project MESSAGE: This project is using private headers and will therefore be tied to this specific Qt module build version.
Project MESSAGE: Running this project against other versions of the Qt modules may crash at any arbitrary point.
Project MESSAGE: This is not a bug, but a result of using Qt internals. You have been warned!
@pauldotknopf commented on GitHub (Sep 4, 2020):
If you are using the
Qml.Netpackage from NuGet, you need to make sure you use the correct commit to build the native libs.Can you verify that? If you use
0.10.0from NuGet, build the native libs from that tag.@zhangjingru commented on GitHub (May 13, 2022):