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 mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id 97F4E7EC6E for ; Thu, 19 Dec 2013 13:28:01 +0100 (CET) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of kakadu.hafanana@gmail.com) identity=pra; client-ip=209.85.220.52; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="kakadu.hafanana@gmail.com"; x-sender="kakadu.hafanana@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of kakadu.hafanana@gmail.com designates 209.85.220.52 as permitted sender) identity=mailfrom; client-ip=209.85.220.52; receiver=mail3-smtp-sop.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 (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-pa0-f52.google.com) identity=helo; client-ip=209.85.220.52; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="kakadu.hafanana@gmail.com"; x-sender="postmaster@mail-pa0-f52.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqQCAE7lslLRVdw0lGdsb2JhbABZg0NJDKYmkwOBDAgWDgEBAQEHCwsJEiqCJQEBAQRAARsSCwEDDAYFCwMKDSEhAQERAQUBChIGExKHXQEDEQ2lDIxagwmNdgoZJwMKZIYYEQEFDIxzghMHhDYEjzuGcIFrgTCLKgODShgphFc8 X-IPAS-Result: AqQCAE7lslLRVdw0lGdsb2JhbABZg0NJDKYmkwOBDAgWDgEBAQEHCwsJEiqCJQEBAQRAARsSCwEDDAYFCwMKDSEhAQERAQUBChIGExKHXQEDEQ2lDIxagwmNdgoZJwMKZIYYEQEFDIxzghMHhDYEjzuGcIFrgTCLKgODShgphFc8 X-IronPort-AV: E=Sophos;i="4.95,512,1384297200"; d="scan'208";a="41716385" Received: from mail-pa0-f52.google.com ([209.85.220.52]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/RC4-SHA; 19 Dec 2013 13:28:00 +0100 Received: by mail-pa0-f52.google.com with SMTP id ld10so1108809pab.39 for ; Thu, 19 Dec 2013 04:27:59 -0800 (PST) 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=vg1A+JCiRBQt4dtBMGpzOihOY/qzfDTuvt4GgbfCvb0=; b=EypuOlHAC7Fgh93zT+dCVguf1CqOazenMzcXJZlz58b98FQiH9suofxGtpbvnVsuxv /762x1IWR2zvbiiV/lGYy4E8+50nZhdcnw3hah9oNC2wEyHtXOUrtBmRfdS1OkdtFkbY LpaU7zcCFkl0M/COgr5Dnp0OO1xYZxiWWo/TeP5UuwuKxnOIdV0YnBvEzepmVFkRgvVd dV9khpFus/YE9byfShKggziPEXdf5yh/AZsnqp9WbGZAOjq2p9fl660Sp6Su4N3izk89 6a4Dq977mMuFhe5yk8yGUUoc5UA3RuT0jakBW3dbyj2CLACw+RFCivTJabneaG92ne/P VUJQ== MIME-Version: 1.0 X-Received: by 10.66.230.233 with SMTP id tb9mr1392542pac.38.1387456079026; Thu, 19 Dec 2013 04:27:59 -0800 (PST) Received: by 10.70.19.37 with HTTP; Thu, 19 Dec 2013 04:27:58 -0800 (PST) In-Reply-To: References: Date: Thu, 19 Dec 2013 12:27:58 +0000 Message-ID: From: Kakadu To: Paolo Donadeo Cc: OCaml mailing list Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [Caml-list] [ANN] Lablqt Paolo, At the moment I have tested main use case of C++ in QtQuick: implementing business logic which expected to work fast. I can name three limitations: 1) If you need complex GUI control (that doesn't suit well into QtQuick paradigm) you will probably need to implement it in C++ by subclassing QQuickItem. The only example of this I have seen is pie chart using QPainter from Qt Docs. Reason: I don't clearly understand when this complex controls are needed. QML itself is rather powerful one. 2) At this moment startup process is a little bit hardcoded in one C++ function. i.e. some features are unavailable. It was made for simplicity but I don't see any theoretical reason against rewriting it in more verbose way in 1 weekend. 3) I have working demo with main GUI thread and some OCaml threads that do some work and report changes in main thread. It seems that it works OK but I'm not sure what will happen if we construct more interesting examples. Kind regards, Kakadu On Thu, Dec 19, 2013 at 7:53 AM, Paolo Donadeo wrote: > At present, what are the limitation in using OCaml/QT compared to using > C++/QT? > > > -- > Paolo Donadeo, sent with Gmail on Android > > Il 15/dic/2013 22:12 "Kakadu" ha scritto: >> >> Salut, >> >> From today lablqt is available in opam. With it you can create user >> interfaces in declarative manner in QML and connect it with OCaml >> using `mocml` code generator and `lablqml` ocamlfind package. Qt 5.2 >> is required for compilation >> >> More information you can get at [1]. There is mine opam repo where >> demo application is included. It is called QOCamlBrowser -- >> application similar to default ocamlbrowser. >> >> All comments will be appreciated. >> >> Kind regards, >> Dmitrii Kosarev aka Kakadu >> >> [1] http://kakadu.github.io/lablqt >> >> -- >> 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