From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id 85AE58179A for ; Wed, 31 Jul 2013 18:04:08 +0200 (CEST) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of kakadu.hafanana@gmail.com) identity=pra; client-ip=209.85.160.53; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="kakadu.hafanana@gmail.com"; x-sender="kakadu.hafanana@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of kakadu.hafanana@gmail.com designates 209.85.160.53 as permitted sender) identity=mailfrom; client-ip=209.85.160.53; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="kakadu.hafanana@gmail.com"; x-sender="kakadu.hafanana@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-pb0-f53.google.com) identity=helo; client-ip=209.85.160.53; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="kakadu.hafanana@gmail.com"; x-sender="postmaster@mail-pb0-f53.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqsDAFM0+VHRVaA1k2dsb2JhbABbgztQq3aSJAIBgRAIFg4BAQEBBwsLCRQEJIIkAQEFQAEbEgsBAwwGBQsNDSEiAREBBQEKEgYTEodrAQMPDJs1jFGDAIRIChknAwoVT4d0AQUMjy5NB4QLA4kkhXeIRIEpjj8WKYQ/Nw X-IPAS-Result: AqsDAFM0+VHRVaA1k2dsb2JhbABbgztQq3aSJAIBgRAIFg4BAQEBBwsLCRQEJIIkAQEFQAEbEgsBAwwGBQsNDSEiAREBBQEKEgYTEodrAQMPDJs1jFGDAIRIChknAwoVT4d0AQUMjy5NB4QLA4kkhXeIRIEpjj8WKYQ/Nw X-IronPort-AV: E=Sophos;i="4.89,788,1367964000"; d="scan'208";a="28085203" Received: from mail-pb0-f53.google.com ([209.85.160.53]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 31 Jul 2013 18:04:07 +0200 Received: by mail-pb0-f53.google.com with SMTP id up15so950426pbc.12 for ; Wed, 31 Jul 2013 09:04:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=U9/1PrP3UDg6gZ587P6ABYQ2N9JV6rTFkPUfO3Yf/wE=; b=g/LFD9WfuMUjvcKCxFFDWIhP1wq73eUOgRbzEv/CMa3+Y5b1n65+Hb+Eutv/HLMF1S xlz88WSlbxqVDHho0e7XwWgZCiicuIxt7cEk3ONTDN83L11r5uq+skuZA20M1mFf3s4l WmavO0pOs3qoDWyNUdAtGLGL+SmiL4qfFVrf0pYIIvRNXDtWkjm/iyPUO9bLHtIMYBW3 Gy1L/Zq9Wyq1XWSssXSJ7kMIOdHabM9w1Ba3DLHKpxWIhbsQXwBFZSPOBin/RfTVv+zZ 766LH/dTtQQzuxhrDvaIQKsBU+It6Rha1Vo+iJ6uhUO+8hUga1+q6ag+6Y7U15VeId0x iPMw== MIME-Version: 1.0 X-Received: by 10.68.252.137 with SMTP id zs9mr80702720pbc.60.1375286645893; Wed, 31 Jul 2013 09:04:05 -0700 (PDT) Received: by 10.70.27.2 with HTTP; Wed, 31 Jul 2013 09:04:05 -0700 (PDT) In-Reply-To: <20130709145845.GA25897@frosties> References: <518B78EA.7020306@gmail.com> <20130709145845.GA25897@frosties> Date: Wed, 31 Jul 2013 20:04:05 +0400 Message-ID: From: Kakadu To: Goswin von Brederlow Cc: Caml List Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [Caml-list] Interfacing with QtQuick 2.0 from Qt5, RFC QtQuick runtime allowsinterfacing only using QObject subclasses. That's why I force user to write API in file and than I generatae C++ and Ocaml sources to use them in interfacing with QtQuick. Some C++ code is needed but I don't need to write it, it's autogenerated (like C++ moc tool does). Kakadu On Tue, Jul 9, 2013 at 6:58 PM, Goswin von Brederlow wrote: > On Sat, Jun 01, 2013 at 10:16:13PM +0400, Kakadu wrote: >> Hey! >> >> 'Hello world' tutorial have become longer and more copy-pastable. See you >> on github pages: http://kakadu.github.io/lablqt/qtquick-helloworld.html >> >> RFC >> >> Best wishes, >> Kakadu > > At the start you say that no c++ is needed and ocaml code is connected > directly to QtQuick. Then later you say `Controller_c.h`, > `Controller_c.cpp` and `Controller.ml` will be generated. > > So what is it now? Is that c++ code just a unused side product of the > moc compiler? > > MfG > Goswin > > -- > Caml-list mailing list. Subscription management and archives: > https://sympa.inria.fr/sympa/arc/caml-list > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs