Re: [Interest] Little help with Qt for Android under Linux

2015-05-15 Thread Igor Mironchik
Hi, I encountered this problem on Windows, but I think that this is the same problem... The main problem is that that QtCreator wait 5 seconds for Android SDK for answer of available supported platforms... Try to close QtCreator, delete .user file and open and configure project again. If y

Re: [Interest] "Dynamic session lookup supported but failed"

2015-05-15 Thread Thiago Macieira
On Friday 15 May 2015 23:34:09 René J.V. Bertin wrote: > > You're using XCB. It expects X behaviour. > > Yes, I am. But X and DBus are 2 separate things. If it were "X behaviour" to > have a session DBus when starting an application, I should see the error > under Linux too when there is no sessio

[Interest] Little help with Qt for Android under Linux

2015-05-15 Thread Bob Hood
I've been trying different "tutorials" on setting up Qt/Creator under Linux for Android development. So far, I've not been able to get any to function, even those I find on Qt's own web site. I have followed these rather simple steps[1], and set up the entire environment under Linux (Mint) 32

Re: [Interest] "Dynamic session lookup supported but failed"

2015-05-15 Thread René J . V . Bertin
On Friday May 15 2015 13:30:54 Thiago Macieira wrote: > > But that is the platform plugin used on Linux, and yet it doesn't complain > > when I start, say, Assistant without a session DBus? > > By "without a session", do you mean in SSH without -X? Why would you want to > run a graphical applica

[Interest] Compile error: with QtConcurrent and GCC 4.8.3 and Qt 5.3.2

2015-05-15 Thread Richard Öhlinger
Hi! I've faced struggles compiling following (simplified) piece of code: QStringList data; QString res = QtConcurrent::blockingFilteredReduced(data, [](const QString&) {return true;}, [](QString& result, const QString& s) -> void {result = s;}); Compiler output: /home/user/

[Interest] Slow event loop performance on i.MX53

2015-05-15 Thread Robert Daniels
I'm trying to understand if the performance I'm seeing with the event loop is 'normal' or 'abnormal'. I have two embedded devices each running Qt - one is a i.MX53 and the other is a i.MX6 quadcore with all cores disabled except cpu0. I've run the events benchmark test on both (from qtbase/te

Re: [Interest] "Dynamic session lookup supported but failed"

2015-05-15 Thread Thiago Macieira
On Friday 15 May 2015 22:09:48 René J.V. Bertin wrote: > On Friday May 15 2015 12:22:05 Thiago Macieira wrote: > > Nothing in cross-platform Qt should be using it directly. The only thing > > that uses QtDBus directly is the XCB platform plugin (for the D-Bus menu > > and app indicators). > > But

Re: [Interest] "Dynamic session lookup supported but failed"

2015-05-15 Thread René J . V . Bertin
On Friday May 15 2015 12:22:05 Thiago Macieira wrote: > Nothing in cross-platform Qt should be using it directly. The only thing that > uses QtDBus directly is the XCB platform plugin (for the D-Bus menu and app > indicators). But that is the platform plugin used on Linux, and yet it doesn't co

Re: [Interest] Google Play 60-day deadline for resolving OpenSSL vulnerabilities

2015-05-15 Thread Thiago Macieira
On Friday 15 May 2015 11:29:43 m...@rpzdesign.com wrote: > The problem as I see it is that Android has the OpenSSL libraries > already on the device and Qt just dynamically links to them. And that might be the reason why Google retracted the notice. QtNetwork is just loading the libs already in

Re: [Interest] "Dynamic session lookup supported but failed"

2015-05-15 Thread Thiago Macieira
On Friday 15 May 2015 20:57:31 René J.V. Bertin wrote: > On Friday May 15 2015 10:19:00 Thiago Macieira wrote: > > This means you used QtDBus, which tried to connect to the bus daemon, > > which > > was compiled with support for launchd but the .plist file wasn't loaded > > into launchd. > > I don

Re: [Interest] "Dynamic session lookup supported but failed"

2015-05-15 Thread René J . V . Bertin
On Friday May 15 2015 10:19:00 Thiago Macieira wrote: > This means you used QtDBus, which tried to connect to the bus daemon, which > was compiled with support for launchd but the .plist file wasn't loaded into > launchd. I don't use it, not explicitly at least. Does Assistant use QtDBus, for

Re: [Interest] Google Play 60-day deadline for resolving OpenSSL vulnerabilities

2015-05-15 Thread Nuno Santos
The truth is that I received the message and after 15 minutes I had received another email saying the last email was a mistake. Have you received such email from Google? Nuno Santos Founder / CEO / CTO www.imaginando.pt +351 91 621 69 62 > On 15 May 2015, at 18:29, m...@rpzdesign.com wrote: >

Re: [Interest] Google Play 60-day deadline for resolving OpenSSL vulnerabilities

2015-05-15 Thread Nuno Santos
I don’t know either. I just build the Qt app on QtCreator. I have never invested time in learning what is being linked or not. Sorry :/ Nuno > On 15 May 2015, at 18:14, Thiago Macieira wrote: > > On Friday 15 May 2015 07:13:55 rpzrpz...@gmail.com wrote: >> Thiago: >> >> What do you mean b

Re: [Interest] Google Play 60-day deadline for resolving OpenSSL vulnerabilities

2015-05-15 Thread m...@rpzdesign.com
Oops, Sorry. The message replies boundaries were not that clear. Nuno, do you have a comment on how to get the proper OpenSSL requirements met from Google Play. Are the Openssl libraries linked into the APK so all we have to do is rebuild with QtCreator and re-upload to google play? Or is the

Re: [Interest] "Dynamic session lookup supported but failed"

2015-05-15 Thread Thiago Macieira
On Friday 15 May 2015 09:53:46 René J.V. Bertin wrote: > Hi, > > I'm seeing this message printed on my terminal when I start Qt5 applications > under certain conditions, on OS X: > > Dynamic session lookup supported but failed: launchd did not provide a > socket path, verify that org.freedesktop.

Re: [Interest] QProcess performance issues

2015-05-15 Thread Thiago Macieira
On Friday 15 May 2015 11:17:24 René J.V. Bertin wrote: > On Thursday May 14 2015 20:56:33 Thiago Macieira wrote: > >> Anyway, I can't remember, esp. not what exactly happens in popenEx(). > >> I've > >> linked to the code, so you can look that up just as easily as I ... > > > >I did. You didn't do

Re: [Interest] Google Play 60-day deadline for resolving OpenSSL vulnerabilities

2015-05-15 Thread Thiago Macieira
On Friday 15 May 2015 07:13:55 rpzrpz...@gmail.com wrote: > Thiago: > > What do you mean by the phrase "Upgrade and re-load to Google" > > Are the OpenSSL libraries linked into the APK from your local NDK? > > Or are the OpenSSL libraries on the smartphone or tablet device already? > > Thanks f

Re: [Interest] iOS Objective-C callback block example connecting back to iOS Qt app?

2015-05-15 Thread Edward Sutton
Thank you Robert. I am grateful for all the iOS examples I can find. Ben, I just compiled your quickiosexample with Qt 5.5 Beta. The quickiosexample runs great on my iPhone 5C. Very nice work! https://github.com/benlau/quickios/tree/master/tests/quickiosexample -Ed On May 15, 2015, at 7:

Re: [Interest] Google Play 60-day deadline for resolving OpenSSL vulnerabilities

2015-05-15 Thread rpzrpz...@gmail.com
Thiago: What do you mean by the phrase "Upgrade and re-load to Google" Are the OpenSSL libraries linked into the APK from your local NDK? Or are the OpenSSL libraries on the smartphone or tablet device already? Thanks for your response, Mark On 5/7/2015 7:51 PM, Thiago Macieira wrote: > On T

Re: [Interest] iOS Objective-C callback block example connecting back to iOS Qt app?

2015-05-15 Thread Robert Iakobashvili
Dear Ed, There is an example attached to this bug report: https://bugreports.qt.io/browse/QTBUG-42705 The attached to the bug example code is about mixing Qt C++ and Obj-C code and sharing text. May be it could be helpful. Take care. Regards, Robert On Fri, May 15, 2015 at 3:26 PM, Edward Sut

Re: [Interest] iOS Objective-C callback block example connecting back to iOS Qt app?

2015-05-15 Thread Harri Pasanen
Steps 1 & 2 are unnecessary. You can just call your C++ function from the Objective-C++ code. And by setting up you signal / slot registration correctly, you can even let Qt handle the threading issues, What you describe is more akin to Java to Qt C++ call, with Objective-C++ it really is sim

Re: [Interest] iOS Objective-C callback block example connecting back to iOS Qt app?

2015-05-15 Thread Edward Sutton
Hi Ben, Thank you very much for sharing your example. https://github.com/benlau/quickios/blob/master/qisystemutils.mm Understanding the Objective-C language has been much more difficult than I expected coming from C, C++, and C#. QMessageBox looks horrible on iOS. I am very glad you have a so

Re: [Interest] iOS Objective-C callback block example connecting back to iOS Qt app?

2015-05-15 Thread Edward Sutton
Harri, Thank you. I think I need to figure out how to: 1 - Pass in a function pointer to the Objective-C code. 2 - The Objective-C callback block calls the function pointer back into the C++ code 3 - C++ code raises a Qt signal 4 - Qt client app receives signal And figure out any threading iss

Re: [Interest] Dockwidgets as non-children

2015-05-15 Thread Felix morack
Can't you just do setParent(0) ? That used to work, but a long time ago. 2015-05-14 19:25 GMT+02:00 John Weeks : > > > On 14 May 2015, at 8:43 am, Scott Aron Bloom wrote: > > > > I have a request from a customer, he loves our docked layout.. However, > there are times when he wants to undock a

Re: [Interest] QProcess performance issues

2015-05-15 Thread René J . V . Bertin
On Thursday May 14 2015 20:56:33 Thiago Macieira wrote: >> Anyway, I can't remember, esp. not what exactly happens in popenEx(). I've >> linked to the code, so you can look that up just as easily as I ... > >I did. You didn't do what is the cause of the problem: the non-blocking part >of it. OK,

[Interest] qmake-qt5 and lex/yacc parsing

2015-05-15 Thread René J . V . Bertin
Hello, I'm porting an application (xxdiff) to Qt5 that has a lex/yacc based parser on board. The .pro file contains the following section: # # Parser/grammar generation. # QMAKE_LEX = flex QMAKE_YACC = bison QMAKE_YACCFLAGS = -d -o y.tab.c QMAKE_YACC_HEADER = y.tab.h QMAKE_YACC_SOURCE = y.tab.c

[Interest] macintosh style: apparently it *can* be used on other platforms too.

2015-05-15 Thread René J . V . Bertin
Hi, I had always assumed that Qt used native APIs to generate/draw its widgets when using the "Macintosh (aqua)" (Qt 4.8) and "Macintosh" (Qt 5) styles on OS X. Purely by accident I discovered that this is apparently not the case, while playing with the xcb platform plugin on OS X. It works wit

[Interest] "Dynamic session lookup supported but failed"

2015-05-15 Thread René J . V . Bertin
Hi, I'm seeing this message printed on my terminal when I start Qt5 applications under certain conditions, on OS X: Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded! Before I start hunting that string d

Re: [Interest] iOS Objective-C callback block example connecting back to iOS Qt app?

2015-05-15 Thread Ben Lau
Hi Edward, You may find example code from my project. quickios/qisystemutils.mm at master · benlau/quickios It has implemented an interface to create and communicate to UIAlertView , UIActionSheet , UIImagePickerController etc. It