Re: [Interest] QNetworkAccessManager doesn't recover when network is reconnected on Ubuntu.

2015-12-02 Thread Thiago Macieira
On Thursday 03 December 2015 08:45:34 Nesuan Taiso wrote: > > Can you disable libqnmbearer.so and try again? > > > > Find the file and, as root, chmod it to 0. > > Yes this works, thank you! Please file this as a bug against component "Bearer management" in Qt and note that it was the NM bearer

Re: [Interest] Building Qt for iOS as shared libraries

2015-12-02 Thread Thiago Macieira
On Wednesday 02 December 2015 22:51:04 Rollastre Prostrit wrote: > Putting aside Apple's Appstore requirements and things like that, is > there a way to build Qt 5.5 from source for iOS using shared libs Upgrade to 5.7. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect -

Re: [Interest] application appearance changing when laptop goes in saving energy mode

2015-12-02 Thread Jason H
I'd see what WM_* message(s) are being sent. Specifically WM_DISPLAYCHANGE, WM_FONTCHANGE, etc. Qt is probably initializing correctly, then when WM_DISPLAYCHANGE happens, they get reset back to defaults, without picking up Qt's customizations. If you can identify the message, you can filter it

[Interest] Do Camera.videoRecorder options matter?

2015-12-02 Thread Jason H
I'm writing a QML app and am working on recording video. Previously we did images, which worked more or less as expected. (OSX/iOS/Android) But I'm looking at the videoRecorder stuff and none of it seems to matter. I'm looking at: https://fossies.org/linux/qt-everywhere-opensource-src/qtmultime

[Interest] Building Qt for iOS as shared libraries

2015-12-02 Thread Rollastre Prostrit
Hi list. Putting aside Apple's Appstore requirements and things like that, is there a way to build Qt 5.5 from source for iOS using shared libs (.dylib) instead of static ones? it seems like the "-shared" flag I pass to the ./configure is completely ignored if I run this command: ./configure

Re: [Interest] QNetworkAccessManager doesn't recover when network is reconnected on Ubuntu.

2015-12-02 Thread Nesuan Taiso
On 3/12/2015 3:03 AM, Thiago Macieira wrote: On Wednesday 02 December 2015 19:27:40 Nesuan Taiso wrote: On Ubuntu 15, if the network is disabled using the notification tray icon, then network requests fail (as expected). The first failure is 'NetworkSessionFailedError' and subsequent failures ar

Re: [Interest] QNetworkInterface working differently on Qt5?

2015-12-02 Thread Thiago Macieira
On Wednesday 02 December 2015 08:02:16 Thiago Macieira wrote: > I did some changes for QNetworkInterface for Qt 5.2 that may have caused > this problem. I will look into changing it so that the information is > merged. The extra interface name will be lost (good riddance!). Fixed in https://codere

[Interest] Qt 5.5.1 QWebEngineView crash in debug mode

2015-12-02 Thread ynon perek
Hi All, I recently upgraded to the new QWebEngineView with Qt 5.5.1 on a Mac 64bit. When running with devtools (setting QTWEBENGINE_REMOTE_DEBUGGING environment variable to a numeric value), the application crash on exit. Is this a known bug? Any workarounds ? This is the code I use: #include #

Re: [Interest] QNetworkAccessManager doesn't recover when network is reconnected on Ubuntu.

2015-12-02 Thread Thiago Macieira
On Wednesday 02 December 2015 19:27:40 Nesuan Taiso wrote: > On Ubuntu 15, if the network is disabled using the notification tray > icon, then network requests fail (as expected). > The first failure is 'NetworkSessionFailedError' and subsequent failures > are 'UnknownNetworkError'. > But even once

Re: [Interest] QNetworkInterface working differently on Qt5?

2015-12-02 Thread Thiago Macieira
On Wednesday 02 December 2015 08:09:26 Tom Isaacson wrote: > >ifconfig has been deprecated for 10 years. Please show me the output of ip > >addr > # ip addr > 1: lo: mtu 65536 qdisc noqueue state UNKNOWN > link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 > inet 127.0.0.1/8 brd 127.255

Re: [Interest] application appearance changing when laptop goes in saving energy mode

2015-12-02 Thread maitai
Hello, Still searching to fix that one. I can now reproduce it at leasure: If I connect my laptop to an external monitor, launch the application, then unplug the external monitor and hover the mouse on the windows bar to make it appear (autohide is activated), my application AND QtCreator cha

[Interest] Memory Leak in Qml TreeView ?

2015-12-02 Thread Damien Courtois
Hi, I was profiling a section of my project which uses a Qml TreeView when I noticed what seemed like a memory leak. So I created a small Qml application to reproduce the problem, and there seem to indeed be a memory leak in TreeView's. The enclosed Qml file simply creates a TreeView, bind it to a

Re: [Interest] [QML] Need advice on frontend architecture

2015-12-02 Thread Ben Lau
On 2 December 2015 at 06:14, Ronan Jouchet wrote: > On 11/18/2015 12:35 PM, Ben Lau wrote: > >> I think there is no popular recommended frontend architecture for >> QML application yet. And I would like to make one. >> >> Since I also code in React/Flux, and it should be a good choice for QML >>

[Interest] Qt plugin key stroke events handling (different behaviours on different platforms)

2015-12-02 Thread Nuno Santos
Hi, When using Qt to create a plugin window I’m having two different behaviours on Windows and Mac. On Windows, when the plugin window if I press the keyboard keys, the key events are handled on host application side (regardless of the windows focus) and I can’t use the keyboard for writing.

Re: [Interest] Handle frames and web forms with QWebEngine

2015-12-02 Thread NoRulez
If someone is interested. I found a solution which avoid the use of QWebEngine/QWebChannel and JavaScript stuff and is a lot more easy and straight forward to use. connect(m_pWebEngineView, &QWebEngineView::loadFinished, [=]() { m_pWebEngineView->page()->runJavaScript("window.frames[\"MyFrame\"]

[Interest] QNetworkAccessManager doesn't recover when network is reconnected on Ubuntu.

2015-12-02 Thread Nesuan Taiso
On Ubuntu 15, if the network is disabled using the notification tray icon, then network requests fail (as expected). The first failure is 'NetworkSessionFailedError' and subsequent failures are 'UnknownNetworkError'. But even once the network is reenabled, the network requests continue to fail i

Re: [Interest] QNetworkInterface working differently on Qt5?

2015-12-02 Thread Tom Isaacson
>Can you show me your code? // loop through and find the network interface that matches the mac we used... QList ifList = QNetworkInterface::allInterfaces(); for (QList::const_iterator i = ifList.constBegin(); i != ifList.constEnd(); ++i) { if(i->hardwareAddress() == mac)