JuliaGraphics / QML.jl

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

Makie examples not working on Linux #139

Closed fatteneder closed 2 years ago

fatteneder commented 2 years ago

Running the makie-plot.jl example with the instructions given in #133 gives me the following output:

image

I am on Linux:

julia> versioninfo()
Julia Version 1.7.1
Commit ac5cc99908 (2021-12-22 19:35 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
  CPU: Intel(R) Core(TM) i7-5820K CPU @ 3.30GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-12.0.1 (ORCJIT, haswell)
fatteneder commented 2 years ago

I did some rudimentary debugging with print statements. What I found is that the render_function in the makie-plots.jl example is never triggered. The same happens with makie.jl and also gltriangle.jl.

Here are the other outputs for completeness:

image

image

Also: I am seeing some WARNING: redefinition of constant warnings when using QML. Looks like this is triggered by Revise.jl, at least disabling it removed the warnings, but did not solve the initial problem.

fatteneder commented 2 years ago

Closing this because its a duplicate of https://github.com/barche/QmlJuliaExamples/issues/1