[Interest] Qt 5.3.0 QML Android: how to deploy custom c++ plugin directory structure

2014-05-24 Thread Frédéric Martinsons
Hello Qt, I recently downloaded the last Qt release (5.3.0) and I try to porting my functional QML application to Android. I encountered a problem with integrating my custom c++ plugin into the APK. The directory structure I got on desktop is the following: MyProject/ MyBinary

Re: [Interest] Qt 5.3.0 QML Android: how to deploy custom c++ plugin directory structure

2014-05-24 Thread Jason H
Ive filed bugs against 3.0 and so the 3.1 creator should be working better, if they made it in. Note that the dynamic loader in android can only load libraries whose dependencies are already satisfied, unlike the real ld which will fetch and load dependencies. -- Sent from my

[Interest] Piping data between QProcesses

2014-05-24 Thread Petko Ditchev
Hello, I'm writing a data analysis application which consists of a few filters which pass data to each other and to a GUI. At this point it's pretty much an input ( which is actually 'arecord' , the audio recording CLI tool in a QProcess) which should pipe the data to a noise reduction filter

Re: [Interest] Piping data between QProcesses

2014-05-24 Thread Alan Ezust
You can connect one QProcess to another with a pipe this way: void QProcess::setStandardOutputProcess(QProcess * destination) You can also create one QDataStream from another QIODevice: QDataStream::QDataStream(QIODevice * d) Does that help? ___

Re: [Interest] Piping data between QProcesses

2014-05-24 Thread Petko Ditchev
I knew there was such a function, and I'd overlooked it. Thank you very much! I guess I can't call this function a few times for different processes though ? At least that's what I make out from the description in the documentation. So I'll probably use a function to transfer the data via my

Re: [Interest] STILL LOOKING for a QPA

2014-05-24 Thread Martin Koller
On Tuesday 20 May 2014 09:30:23 Thiago Macieira wrote: divThough I would ask how unstable is it 18 months in?/div It's stable. sorry, no. it isn't. I'm wringin a QPA plugin and the same source does not compile with 5.2.1 and 5.3.0 ... And for the part: the docs is in the code To be honest

[Interest] Subclassing QIODevice and passing it to QXMLStreamReader

2014-05-24 Thread Wiebe Cazemier
I'm trying to use a subclassed QIODevice for parsing XML with QXMLStreamreader, but no matter what I do, the data is not read. The docs say: Subclasses of QIODevice are only required to implement the protected readData() and writeData() functions. But no matter what I do, the code in my

Re: [Interest] Subclassing QIODevice and passing it to QXMLStreamReader

2014-05-24 Thread Wiebe Cazemier
- Original Message - From: Wiebe Cazemier wi...@halfgaar.net To: interest@qt-project.org Sent: Saturday, 24 May, 2014 8:08:02 PM Subject: [Interest] Subclassing QIODevice and passing it to QXMLStreamReader I'm trying to use a subclassed QIODevice for parsing XML with

Re: [Interest] Piping data between QProcesses

2014-05-24 Thread Thiago Macieira
Em sáb 24 maio 2014, às 19:15:51, Petko Ditchev escreveu: I knew there was such a function, and I'd overlooked it. Thank you very much! I guess I can't call this function a few times for different processes though ? That question doesn't make sense. Each process has exactly one stdout. At

Re: [Interest] STILL LOOKING for a QPA

2014-05-24 Thread Thiago Macieira
Em sáb 24 maio 2014, às 18:43:37, Martin Koller escreveu: On Tuesday 20 May 2014 09:30:23 Thiago Macieira wrote: divThough I would ask how unstable is it 18 months in?/div It's stable. sorry, no. it isn't. I'm wringin a QPA plugin and the same source does not compile with 5.2.1 and

Re: [Interest] STILL LOOKING for a QPA

2014-05-24 Thread Jason H
Well without documentation, I dont even inure what to upstream. Could someone at least provide a minimal skeleton example for 5.3? I dont know what changes, but I would think its a matter of reimplementing some interfaces, even if those interfaces change. -- Sent from my Android phone

Re: [Interest] STILL LOOKING for a QPA

2014-05-24 Thread Thiago Macieira
Em sáb 24 maio 2014, às 23:13:09, Jason H escreveu: bodyWell without documentation, I don#39;t even inure what to upstream.br br Everything. The entire plugin. Could someone at least provide a minimal skeleton example for 5.3? br That should be the minimal plugin. br I don#39;t know what

Re: [Interest] Qt 5.3.0 QML Android: how to deploy custom c++ plugin directory structure

2014-05-24 Thread Preet
Have you any hints to give me to get everything works. I managed to launch my application by reproducing the directory structure on the target with adb shell mkdir and adb push) after the APK install but it's very ugly and I would to have a self contained APK. I worked around this by

Re: [Interest] Qt 5.3.0 QML Android: how to deploy custom c++ plugin directory structure

2014-05-24 Thread Frédéric Martinsons
Ok can you give me the id. I would follow this. For the dependencies, my plugin is pure qt so I imagine the qt libs are already loaded at the time of the import. Le 24 mai 2014 14:09, Jason H jh...@gmx.com a écrit : I've filed bugs against 3.0 and so the 3.1 creator should be working better, if

Re: [Interest] Qt 5.3.0 QML Android: how to deploy custom c++ plugin directory structure

2014-05-24 Thread Frédéric Martinsons
I'm not sure to understand completely. You reproduce the directory structure after the build phase of your plugin in the qrc, build it manually and copy it to the android data dir ? Or you simply embed an archive of the directory and extract it on the first run at the right place ? Le 25 mai 2014