Skip to content

Commit e5e26fc

Browse files
committed
Add support for Qt Quick Graphs
Issue #210
1 parent b11988f commit e5e26fc

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

Project.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,12 @@ julia = "1.10"
2525
Requires = "ae029012-a4dd-5104-9daa-d747884805df"
2626
Qt65Compat_jll = "f5784262-74e5-52be-b835-f3e8a3cf8710"
2727
Qt6Quick3D_jll = "6dc365b9-5e99-58d6-8812-efce7277b6ef"
28+
Qt6Graphs_jll = "7aac1016-a7e0-562a-8747-d0456fd6285f"
2829

2930
[extensions]
3031
Qt65CompatExt = "Qt65Compat_jll"
3132
Qt6Quick3DExt = "Qt6Quick3D_jll"
33+
Qt6GraphsExt = "Qt6Graphs_jll"
3234

3335
[extras]
3436
BenchmarkTools = "6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf"

ext/Qt6GraphsExt.jl

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
module Qt6GraphsExt
2+
3+
using QML
4+
using Qt6Graphs_jll
5+
6+
function __init__()
7+
QML.loadqmljll(Qt6Graphs_jll)
8+
end
9+
10+
end

src/QML.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,8 @@ function __init__()
178178

179179
@static if !isdefined(Base, :get_extension)
180180
@require Qt65Compat_jll="f5784262-74e5-52be-b835-f3e8a3cf8710" include("../ext/Qt65CompatExt.jl")
181-
@require Qt6Quick3D_jll="6dc365b9-5e99-58d6-8812-efce7277b6ef" include("../ext/Qt6ChartsExt.jl")
181+
@require Qt6Quick3D_jll="6dc365b9-5e99-58d6-8812-efce7277b6ef" include("../ext/Qt6Quick3DExt.jl")
182+
@require Qt6Graphs_jll="6dc365b9-5e99-58d6-8812-efce7277b6ef" include("../ext/Qt6GraphsExt.jl")
182183
end
183184

184185
global ARGV = ArgcArgv([Base.julia_cmd()[1], ARGS...])

0 commit comments

Comments
 (0)