> Sent: Tuesday, September 20, 2016 at 1:35 PM
> From: "Jason H" <jh...@gmx.com>
> To: "Till Oliver Knoll" <till.oliver.kn...@gmail.com>
> Cc: "Qt Project" <interest@qt-project.org>
> Subject: Re: [Interest] Swift and Qt? (formally?)
>
> > 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?

I could also restate the problem entirely. It would really be appreciated if Qt 
supplied an AppDelegate that I can hook into and supply handlers for without 
having to write Obj-C. That would satisfy my (and I think others' wishes) It 
would also tie into my long-running gripe about Qt's incomplete platform 
integration on Mobile. If such an AppDelegate plugin approach were developed, 
it should also be able to plug into Android well. (The  plugin*, not the 
AppDelegate. Android would need it's own version of app delegate) 

*Not strictly a QPlugin.
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to