JuliaGraphics / QML.jl

Build Qt6 QML interfaces for Julia programs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Makie examples not working on Linux

fatteneder opened this issue · comments

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)

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:

  • makie.jl

image

  • gltriangle.jl (or is this the desired output? it seems a bit boring though ... 😅)

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.

Closing this because its a duplicate of barche/QmlJuliaExamples#1