mirror of
https://github.com/qmlnet/qmlnet.git
synced 2026-05-15 14:15:54 -06:00
[GH-ISSUE #187] Not Support for running on ARM #120
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#120
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 (Mar 4, 2020).
Original GitHub issue: https://github.com/qmlnet/qmlnet/issues/187
dotnet publish -r linux-arm
dotnet Features.dll
Unhandled exception. System.Exception: Unsupported target
at Qml.Net.Runtimes.RuntimeManager.RuntimeTargetToString(RuntimeTarget target)
at Qml.Net.Runtimes.RuntimeManager.FindQtRuntime(String[] runtimeDirectories, String qtVersion, RuntimeTarget target)
at Qml.Net.Runtimes.RuntimeManager.FindSuitableQtRuntime(RuntimeSearchLocation runtimeSearchLocation)
at Qml.Net.Runtimes.RuntimeManager.DiscoverOrDownloadSuitableQtRuntime(RuntimeSearchLocation runtimeSearchLocation)
at Features.Program.Main(String[] args) in D:\Project\qmlnet-examples\src\Features\Program.cs:line 12
source code:
private static string RuntimeTargetToString(RuntimeTarget target)
{
switch (target)
{
case RuntimeTarget.Windows64:
return "win-x64";
case RuntimeTarget.LinuxX64:
return "linux-x64";
case RuntimeTarget.OSX64:
return "osx-x64";
case RuntimeTarget.Unsupported:
throw new Exception("Unsupported target");
default:
throw new Exception($"Unknown target {target}");
}
}
@shartte commented on GitHub (May 29, 2020):
Which platform is Qt on for this? Linux/X11 or Android?
@pauldotknopf commented on GitHub (May 30, 2020):
Anything other than
win-x64,linux-x64,osx-x64, you'll need to compile/package the native bits to QmlNet yourself.Compile
./src/native/QmlNet/QmlNet.proand make sure it's available in yourPATH/LD_LIBRARY_PATH.