代码之家  ›  专栏  ›  技术社区  ›  Matthieu Raynaud de Fitte

Ruby无法在Windows 10上加载qtruby4

  •  0
  • Matthieu Raynaud de Fitte  · 技术社区  · 6 年前

    我希望在windows10上使用Qt,目前正在尝试使用 qtbindings

    当你试图 require 'Qt'

    C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/qtbindings-4.8.6.5-x64-mingw32/lib/Qt4.rb:25:in `require': cannot load such file -- 2.6/qtruby4 (LoadError)
    

    我尝试卸载gem并重新安装它以防万一,但没有运气。

    我使用的是Ruby 2.6.5p114和qtbindings 4.8.6.5。我确保Ruby和gems都在path环境变量中。

    0 回复  |  直到 6 年前