JuliaGraphics / QML.jl

Build Qt6 QML interfaces for Julia programs.
Other
386 stars 35 forks source link

QT6 Branch doesn't compile on M1 with Julia 1.8 rc3 #147

Closed f-ij closed 1 year ago

f-ij commented 2 years ago

I added the QML#qt6 package to my Julia installation. Upon using I get:

ERROR: LoadError: UndefVarError: QAbstractItemModel not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/QML/h78ec/src/QML.jl:484 [2] include @ ./Base.jl:422 [inlined] [3] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt64}}, source::Nothing) @ Base ./loading.jl:1554 [4] top-level scope @ stdin:1 in expression starting at /Users/werk/.julia/packages/QML/h78ec/src/QML.jl:1 in expression starting at stdin:1 ERROR: Failed to precompile QML [2db162a6-7e43-52c3-8d84-290c1c42d82a] to /Users/werk/.julia/compiled/v1.8/QML/jl_17xT67. Stacktrace: [1] error(s::String) @ Base ./error.jl:35 [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool) @ Base ./loading.jl:1705 [3] compilecache @ ./loading.jl:1649 [inlined] [4] _require(pkg::Base.PkgId) @ Base ./loading.jl:1337 [5] _require_prelocked(uuidkey::Base.PkgId) @ Base ./loading.jl:1200 [6] macro expansion @ ./loading.jl:1180 [inlined] [7] macro expansion @ ./lock.jl:223 [inlined] [8] require(into::Module, mod::Symbol) @ Base ./loading.jl:1144

ufechner7 commented 1 year ago

Perhaps this can be closed now that 0.8 is released?