Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: "Jérémie Dimino" <jeremie@dimino.org>
To: Kakadu <kakadu.hafanana@gmail.com>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Re: lablqt = OCaml + qt
Date: Thu, 24 Nov 2011 15:50:58 +0100	[thread overview]
Message-ID: <1322146258.32530.5.camel@arrakis> (raw)
In-Reply-To: <CAGmVoG1CnX+SnNiubaZZvhAx9bZu1oFCQ6o1+Uy-eFpAA0MMUQ@mail.gmail.com>

Hi,

Le jeudi 24 novembre 2011 à 18:04 +0400, Kakadu a écrit :
> Bad news: it seems that lablqt is in decadance. I'm still planning to
> implement inheritance (described here), but there are some problems
> with proof-of-concept app. It shows a widget and after pressing any
> key it crashes while calling caml_send0 function (autogenerated
> function for calling methods of ocaml objects. see ocaml sources)

In classes.ml, lines 23, you expect x0 to be an OCaml object (of type
qKeyEvent), but in AA.cpp, line 28, you call the keyPressEvent method
with argument _ev which is just a value of type "[`qobject] obj" and not
an OCaml object. This is why it crashes.

-- 
Jérémie



      reply	other threads:[~2011-11-24 14:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-22  9:57 [Caml-list] " Kakadu
2011-11-24 14:04 ` [Caml-list] " Kakadu
2011-11-24 14:50   ` Jérémie Dimino [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1322146258.32530.5.camel@arrakis \
    --to=jeremie@dimino.org \
    --cc=caml-list@inria.fr \
    --cc=kakadu.hafanana@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox