Re: [Interest] Replacement for Qt Script

2016-04-21 Thread Ian Geiser
On Thu, 21 Apr 2016 05:21:43 -0400 Ben Lau wrote > > > On 18 April 2016 at 23:38, Ian Geiser wrote: >   On Mon, 18 Apr 2016 11:06:59 -0400 Jason H wrote >  > > ttps://forum.qt.io/topic/52306/qt-5-5-qt-script-deprecated-what-is-replacement/12 >  > > >  > > I saw

Re: [Interest] Replacement for Qt Script

2016-04-21 Thread Ben Lau
On 18 April 2016 at 23:38, Ian Geiser wrote: > On Mon, 18 Apr 2016 11:06:59 -0400 Jason H wrote > > > ttps:// > forum.qt.io/topic/52306/qt-5-5-qt-script-deprecated-what-is-replacement/12 > > > > > > I saw this thread, but it did not seem to offer a clear detail other > than to use

Re: [Interest] Replacement for Qt Script

2016-04-18 Thread Jason H
? > > > > If MyStruct is just a JS object, then just use JS. function MyStruct(){ > return {"x": 100, "y": 100}; }; var myStruct = new MyStruct(); > > You only need createObject when you are creating an object defined in C++ > or dynamic object from QML. > > That is my rub here. These are

Re: [Interest] Replacement for Qt Script

2016-04-18 Thread Ian Geiser
On Mon, 18 Apr 2016 11:06:59 -0400 Jason H wrote > ttps://forum.qt.io/topic/52306/qt-5-5-qt-script-deprecated-what-is-replacement/12 > > > > I saw this thread, but it did not seem to offer a clear detail other than > > to use QJSEngine and QJSValue directly. Specifically I use

Re: [Interest] Replacement for Qt Script

2016-04-18 Thread Jason H
ttps://forum.qt.io/topic/52306/qt-5-5-qt-script-deprecated-what-is-replacement/12 > > I saw this thread, but it did not seem to offer a clear detail other than to > use QJSEngine and QJSValue directly. Specifically I use > qScriptRegisterMetaType very heavy to add custom types. I know if I am

Re: [Interest] Replacement for Qt Script

2016-04-18 Thread Ian Geiser
On Mon, 18 Apr 2016 09:40:12 -0400 Scott Aron Bloom wrote > The forum had a great thread on this > > https://forum.qt.io/topic/52306/qt-5-5-qt-script-deprecated-what-is-replacement/12 I saw this thread, but it did not seem to offer a clear detail other than to use QJSEngine a

Re: [Interest] Replacement for Qt Script

2016-04-18 Thread Scott Aron Bloom
The forum had a great thread on this https://forum.qt.io/topic/52306/qt-5-5-qt-script-deprecated-what-is-replacement/12 -Original Message- From: Interest [mailto:interest-bounces+scott.bloom=onshorecs@qt-project.org] On Behalf Of Ian Geiser Sent: Monday, April 18, 2016 5:36 AM To: