I am in my first steps with Julia and I am trying to understand its mechanisms. I took “QmlJuliaExamples-master”
as a reference because I am interested in building tables with data from my DBs.
I followed the instructions in README.md
and when I run include(“gui.jl”)
I get the expected result. the same thing if I run from commandline julia --project=. gui.jl
Running: “Execute active file in REPL” I get tons of warnings and the result displayed is not as expected and a strange string appears: “Conacatenation, showing multiple arguments”
Running: “Run file in a new process
” I get the expected result (at least I think so)
Running: “Debug file in a new process
” I get error in file CxxWrap.jl
Exception has occurred: ErrorException
unknown call f introduced by ccall lowering getindex
Stacktrace:
[1] CxxWrap.StdLib.StdWString(arg1::Vector{Int32}, arg2::Int64)
@ CxxWrap.StdLib ~/.julia/packages/CxxWrap/eWADG/src/CxxWrap.jl:668
[2] CxxWrap.StdLib.StdWString(s::String)
@ CxxWrap.StdLib ~/.julia/packages/CxxWrap/eWADG/src/StdLib.jl:75
[3] QString(s::String)
@ QML ~/.julia/packages/QML/7GpMI/src/QML.jl:185
[4] convert(::Type{QString}, s::String)
@ QML ~/.julia/packages/QML/7GpMI/src/QML.jl:200
[5] cxxconvert(to_type::Type{CxxWrap.CxxWrapCore.ConstCxxRef{QString}}, x::String, ::Type{CxxWrap.CxxWrapCore.IsCxxType})
@ CxxWrap.CxxWrapCore ~/.julia/packages/CxxWrap/eWADG/src/CxxWrap.jl:619
[6]
cconvert(to_type::Type{CxxWrap.CxxWrapCore.ConstCxxRef{QString}}, x::String)
@ CxxWrap.CxxWrapCore ~/.julia/packages/CxxWrap/eWADG/src/CxxWrap.jl:598
[7] qmlfunction(arg1::String, arg2::typeof(counter_slot))
@ QML ~/.julia/packages/CxxWrap/eWADG/src/CxxWrap.jl:668
[8] top-level scope
@ ~/.julia/packages/QML/7GpMI/src/QML.jl:584
It should be noted that vscode reports me 43 errors/warnings in StdLib.jl