Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Qt GUI programming

118 views
Skip to first unread message

Tobia

unread,
Feb 10, 2010, 6:29:19 AM2/10/10
to
I would like to write a cross-platform GUI app in Scheme, using the Qt
toolkit.
This includes compiling standalone executables for Windows and Mac OS
X.

What implementation do you think is best suited for such a project?
What R6RS implementation, if any, do you think is best suited?

I'd rather avoid writing a Qt compatibility layer myself, but will do
it if there isn't a decent one around.

Tobia

marcomaggi

unread,
Feb 10, 2010, 7:58:45 AM2/10/10
to

With your requirements, today, R6RS is not an option. AFAICT there
are no implementations capable of generating standalone executables,
and no implementation having a QT binding. I know nothing of what PLT
Scheme does, though.

You have to go with Gambit-C or Chicken; it seems to me that Chicken
is a better choice because the community is better involved in the
development of the core.

As for QT, IIRC there is a module that allows to access tables of
methods at runtime, "on demand", without interfacing the whole library
at compile time. However, I can neither remember its name nor find
the web link right now... :-/
--
Marco Maggi

Grant Rettke

unread,
Feb 10, 2010, 7:36:45 PM2/10/10
to
On Feb 10, 5:29 am, Tobia <tobia.confo...@gmail.com> wrote:
> What implementation do you think is best suited for such a project?
> What R6RS implementation, if any, do you think is best suited?

In PLT Scheme you can write R6RS code that interacts with a portable
GUI that you would have to write in the "PLT Scheme" language, and you
can generate stand-alone exes.

Grant Rettke

unread,
Feb 10, 2010, 10:53:57 PM2/10/10
to
Totally forgot about this... it might offer a vehicle for you...

https://code.launchpad.net/~derick-eddington/scheme-libraries/gtk

N T

unread,
Feb 11, 2010, 6:47:13 AM2/11/10
to

Chicken scheme has a binding for qt4, although not officially
supported on all platforms:
http://chicken.wiki.br/chicken-projects/egg-index-4.html#ui

bunn...@gmail.com

unread,
Feb 11, 2010, 8:34:18 AM2/11/10
to
On 11 Feb., 12:47, N T <npt11...@googlemail.com> wrote:
> Chicken scheme has a binding for qt4, although not officially
> supported on all platforms:http://chicken.wiki.br/chicken-projects/egg-index-4.html#ui
>

Not a complete binding, but a minimal interface which allows creating
GUIs from XML specifications produced by the designer, accessing
properties,
attaching signal/slot handlers and using OpenGL.

Windows support (mingw) is mostly ready. Mac support is currently
missing,
but can be resurrected with a bit of fiddling.


cheers,
felix

0 new messages