Skip to content

Commit

Permalink
Fix fixqtpath (#647)
Browse files Browse the repository at this point in the history
  • Loading branch information
tkf authored and stevengj committed Feb 14, 2019
1 parent 7e1c835 commit e137bb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui.jl
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ function fixqtpath(qtconf=joinpath(dirname(pyprogramname),"qt.conf"))
# for some reason I don't understand,
# if libpython has already been loaded, then
# we need to use Python's setenv rather than Julia's
PyDict(pyimport("os")."environ")."QT_PLUGIN_PATH" = realpath(plugin_path)
PyDict(pyimport("os")."environ")["QT_PLUGIN_PATH"] = realpath(plugin_path)
return true
end
end
Expand Down

0 comments on commit e137bb0

Please sign in to comment.