Ruby-1.9, sqlite3 and qt4 on windows

I’m thinking of developing an app with ruby 1.9, sqlite3 and qt4 which
I’d like to distribute on windows, ideally as a packaged executable,
though if it works against the one-click installer that’d be fine too.
Anyone with experience to share? Sqlite3 is the only hard requirement,
but I’m very reluctant to go back to ruby 1.8, and Qt would be a plus
because this is intended to be a companion to an existing Qt app.

martin

Martin DeMello wrote:

I’m thinking of developing an app with ruby 1.9, sqlite3 and qt4 which
I’d like to distribute on windows, ideally as a packaged executable,
though if it works against the one-click installer that’d be fine too.
Anyone with experience to share? Sqlite3 is the only hard requirement,
but I’m very reluctant to go back to ruby 1.8, and Qt would be a plus
because this is intended to be a companion to an existing Qt app.

You might want to check out ruby2exe, I haven’t used this but it looks
like a
good possibility for what you’re trying to do.

http://www.erikveen.dds.nl/rubyscript2exe/index.html

If you’re going to add database support you might want to think about
using
ActiveRecord, this will make it easier for you to switch to another
database
later. There is also RubyDBI you might want to look at. Unless there is
a need
to use specific feature of sqlite3, you might want to use a more
flexible
database interface than sqlite3-ruby.

GUI wise, there is wxWidgets which takes a lot of ideas from MFC Windows
programming, you could check that project out, for Ruby you would then
be
working with WxRuby

http://www.wxwidgets.org/
http://wxruby.rubyforge.org/wiki/wiki.pl

I have not used either of there, but you can compare it with QT4

martin


Kind Regards,
Rajinder Y.

http://DevMentor.org
Do Good ~ Share Freely

Yes, i’m definitely using an orm :slight_smile: Debating the relative merits of
sequel and datamapper at the moment, just because i’d like to see what
other than activerecord is out there. But the sqlite3 backend needs to
work and googling gave me mixed results for how seamless that was on
windows. Also i’ve used rubyscript2exe before, but the homepage says
nothing about ruby 1.9.

I’m interested in qt because i want look-and-feel compatibility with
an existing C++/Qt app, but if that’s a no-go on windows my fallback
options are either Wx or JRuby+Glimmer. Also, there’s Rawr
[http://rawr.rubyforge.org/], which is a great incentive to explore
JRuby.

martin

On Fri, Oct 23, 2009 at 12:32 PM, Rajinder Y. [email protected]
wrote:

Martin, if you discover something about squel or datamapper when
comparing to datamapper, I would like to know just because I am
interested or curious. Maybe you can post your find on this thread,
thanks.

That should read when comparing it to ActiveRecord.


Kind Regards,
Rajinder Y.

http://devmentor.org
Do Good! ~ Share Freely

On Fri, Oct 23, 2009 at 4:22 AM, Martin DeMello
[email protected] wrote:

Yes, i’m definitely using an orm :slight_smile: Debating the relative merits of
sequel and datamapper at the moment, just because i’d like to see what
other than activerecord is out there.

Martin, if you discover something about squel or datamapper when
comparing to datamapper, I would like to know just because I am
interested or curious. Maybe you can post your find on this thread,
thanks.

But the sqlite3 backend needs to

martin

flexible database interface than sqlite3-ruby.

martin


Kind Regards,
Rajinder Y.

http://devmentor.org
Do Good! ~ Share Freely

Martin DeMello wrote:

I’m thinking of developing an app with ruby 1.9, sqlite3 and qt4 which
I’d like to distribute on windows, ideally as a packaged executable,
though if it works against the one-click installer that’d be fine too.
Anyone with experience to share?

One click executables are discussed here:
http://wiki.github.com/rdp/ruby_talk_faq
Cheers!
-r

STOP SENDIN ME THESE FCUK ALL FORWARDS>>>

On Sat, Oct 24, 2009 at 2:32 AM, Roger P. [email protected]
wrote:

Martin DeMello wrote:

I’m thinking of developing an app with ruby 1.9, sqlite3 and qt4 which
I’d like to distribute on windows, ideally as a packaged executable,
though if it works against the one-click installer that’d be fine too.
Anyone with experience to share?

One click executables are discussed here:
http://wiki.github.com/rdp/ruby_talk_faq

Thanks Roger, but I was asking if anyone had successfully deployed a
Qt app using Ocra or Rubyscript2Exe

martin

vishal jethani wrote:

STOP SENDIN ME THESE FCUK ALL FORWARDS>>>

Dear Vishal,

did you accidentally register to the ruby-lang mailing list and now are
getting
a flood of email you don’t want in your inbox?

If so you can always unsubscribe here:

http://www.ruby-lang.org/en/community/mailing-lists/


Kind Regards,
Rajinder Y.

http://DevMentor.org

Do Good! - Share Freely, Enrich and Empower people to Transform their
lives.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs