I tried to see whether I could get PackageCompiler v2.1.5 to work on a simple QML app:
module QMLApp
using QML
function julia_main()::Cint
loadqml((@__DIR__) * "/App.qml")
exec()
return 0
end
end # module QMLApp
I can confirm that using QMLApp; QMLApp.julia_main() works in this case. Also, PackageCompiler finishes compiling successfully. But when running the produced executable, that gives:
~/BtSync/PeaceFounder/SandBox/QMLApp$ ./artifacts/QMLApp/bin/QMLApp
Cannot add multiple registrations for org.julialang
[51119] signal (6): Abort trap: 6
in expression starting at none:0
__pthread_kill at /usr/lib/system/libsystem_kernel.dylib (unknown line)
Allocations: 645181 (Pool: 644613; Big: 568); GC: 1
Abort trap: 6
I tried to see whether I could get PackageCompiler v2.1.5 to work on a simple QML app:
I can confirm that
using QMLApp; QMLApp.julia_main()
works in this case. Also, PackageCompiler finishes compiling successfully. But when running the produced executable, that gives:I made the example available in the repository https://github.com/JanisErdmanis/QMLAppTest.