> Sent: Tuesday, September 20, 2016 at 7:39 AM > From: "Till Oliver Knoll" <till.oliver.kn...@gmail.com> > To: "Qt Project" <interest@qt-project.org> > Subject: Re: [Interest] Swift and Qt? (formally?) > > Am 19.09.16 um 18:52 schrieb Robert Iakobashvili: > > On Mon, Sep 19, 2016 at 5:25 PM, Jason H <jh...@gmx.com> wrote: > >> There is a 9-month old github; https://github.com/msorvig/qt-and-swift for > >> integrating the two. > >> > >> Are there any plans for formal Qt support of Swift? Obj-C is painful. > > > > +2 > > As far as I know there is no "Swift++" compiler available, that is a > compiler which can compile "Swift + C++", right? In analogy to ObjC++. > > So unless that's the case the common denominator between "Qt" and > "Swift" is C. Of course one could "wrap" the Qt objects - somehow - into > C structures and make them "look" like objects (and vice versa). But > that would be a clumsy approach. > > So unless we do have C++ support in Swift my guess is that Qt can do > little here. >
Well it is on the roadmap, but out of scope for 3.0, which was just released. I don't think I need full-interop, just enough to let me avoid coding Obj-c, which for me is mainly AppDelegate. But I can see how in the short term it is zero-sum. The app however would mirror how interop is done with Android static classes though. That might be something? _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest