I have finished developing a GUI desktop Ruby application that uses Qt through the qtbindings gem, and I need to release it with a few requirements:
- The user doesn't have to build or compile anything, especially Qt libraries, installing Ruby and Rubygems is OK, but not more
- It must run on Mac and Windows, Linux too preferably
I've tried tar2rubyscript & rubyscript2exe but I failed due to some cryptic errors, as I've described on KDE-bindings mailing list
A helpful guy on #qtruby IRC channel suggested I bundle it as a gem and release it. I've been trying to do that but my problem is, how can I link qtbindings to a static Qt library? I made the gemspec, and I used bundler, but it builds against the native Qt development libraries / headers.. and my users won't have that.
So my questions are, again:
- Can I use a gem for this? If so, how can I have the user build qtbindings against a static library of Qt that I provide?
- Do you know of any other way to package a qtruby app? Did you do it?