Re: [Interest] Retrieving the object info due to exception std::bad_alloc

2018-02-28 Thread Thiago Macieira
On Wednesday, 28 February 2018 15:23:22 PST Konstantin Tokarev wrote: > bad_alloc is mostly thrown due to too view memory for the request in > question. > > so when you continue your program, chances are good to see more > > bad_allocs. > > Or don't get any bad_alloc at all, being killed by OOM Ki

Re: [Interest] Retrieving the object info due to exception std::bad_alloc

2018-02-28 Thread Konstantin Tokarev
28.02.2018, 09:51, "alexander golks" : > Am Tue, 27 Feb 2018 23:12:51 +0530 > schrieb Ramakanth Kesireddy : > >>  Hi, >> >>  As mentioned in http://doc.qt.io/archives/qt-4.8/exceptionsafety.html, the >>  below code is being used to catch the exceptions in application:- >> >>  QApplication app(arg

Re: [Interest] QUdpSocket

2018-02-28 Thread Thiago Macieira
On Tuesday, 27 February 2018 10:47:12 PST Igor Mironchik wrote: > Hi. What I afraid that happened. > > Is situation possible that QUdpSocket in bound state can be somehow > disconnected (not from app's code) for any reason? Yes. If you don't connect, it's disconnected. But disconnected UDP socket

Re: [Interest] Retrieving the object info due to exception std::bad_alloc

2018-02-28 Thread Thiago Macieira
On Tuesday, 27 February 2018 09:42:51 PST Ramakanth Kesireddy wrote: > Please let me know if there any means to get the runtime object info like > class name, method name(if possible line number) throwing the exception > std::bad_alloc in catch block? There isn't, not portably. -- Thiago Macieir

Re: [Interest] QUdpSocket

2018-02-28 Thread Francisco Gonzalez
2018-02-28 14:16 GMT+01:00 Igor Mironchik : > Hi, > > Sure, I check codes. My IPC works. I just want to know should I care about > something with UDP or I can just do bind() and process pending datagrams, > and don't worry about something additional in my code?! Thanks. > > QUdpSocket inherits "*e

Re: [Interest] QUdpSocket

2018-02-28 Thread Konrad Rosenbaum
Hi, On Wed, February 28, 2018 14:16, Igor Mironchik wrote: > On 28.02.2018 15:49, Konrad Rosenbaum wrote: >> Your above code means that the socket will listen on somePort of every >> open interface and may share this with other programs listening on the >> same port. >> >> I hope you are checking

Re: [Interest] QML Menu

2018-02-28 Thread Jérôme Godbout
you probbaly can bind the width with the menu width. You could do so with Component.onCompleted: { // Fix android bad layout if(Qt.application.platform == 'Android') width = Qt.binding(function(){ return menu.width; }); } You could wrap this into MenuItem.qml that is import after the QtQuick

Re: [Interest] QUdpSocket

2018-02-28 Thread Igor Mironchik
Hi, On 28.02.2018 15:49, Konrad Rosenbaum wrote: First off: UDP sockets are not connected - it is a connectionless protocol in which every data packet is routed on its own. Sure, I know it, thanks. Your above code means that the socket will listen on somePort of every open interface and may

Re: [Interest] QUdpSocket

2018-02-28 Thread Konrad Rosenbaum
hi, On Tue, February 27, 2018 19:47, Igor Mironchik wrote: > Is situation possible that QUdpSocket in bound state can be somehow > disconnected (not from app's code) for any reason? I.e. something wrong > on the network, UDP socket can't work properly, something wrong in the > OS that leads to tha

Re: [Interest] How to debug QNetworkReply? It never finishes!

2018-02-28 Thread Tomasz Olszak
Thank all of you for hints, I debugged issue more. I wanted to upload list of ip interfaces of certain device when they change (e.g. when vpn is connected). I Used QNetworkConfigurationManager to listen to QNetworkConfiguration added/removed/modified and then I tried to send request to remote serv

Re: [Interest] Where can I download the qtcreator/qt5 offline installer in qt.io?

2018-02-28 Thread Liang Jian
Thanks On Wed, Feb 28, 2018 at 4:45 PM, Michael Corcoran < michael.corco...@outlook.com> wrote: > You can find most things by drilling down http://download.qt.io too ;) > > Get Outlook for iOS > -- > *From:* Interest project.org> on behalf

[Interest] QML Menu

2018-02-28 Thread Igor Mironchik
Hello,     Menu {     id: menu     x: menuButton.x - width + menuButton.width - 2     y: toolBar.y + toolBar.height     MenuItem {     text: qsTr( "Change Password" )     implicitHeight: minimumCtrlHeight     onTriggered: {     qmlCppSignals.di

Re: [Interest] Where can I download the qtcreator/qt5 offline installer in qt.io?

2018-02-28 Thread Michael Corcoran
You can find most things by drilling down http://download.qt.io too ;) Get Outlook for iOS From: Interest on behalf of Liang Jian Sent: Wednesday, February 28, 2018 8:53:20 PM To: interest@qt-project.org Subject: Re: [Interest] Where can I