Re: [Interest] QtDBus Example to read files from USB

2014-10-29 Thread Thiago Macieira
On Thursday 30 October 2014 04:55:19 Ramakanthreddy Kesireddy wrote: > Yes there is an error to indicate service doesn't exist. > response is: QDBusMessage(type=Error, service="", error > name="org.freedesktop.DBus.Error.ServiceUnknown", error message="The name > org.freedesktop.UDisks was not prov

Re: [Interest] QtDBus Example to read files from USB

2014-10-29 Thread Ramakanthreddy Kesireddy
Yes there is an error to indicate service doesn't exist. response is: QDBusMessage(type=Error, service="", error name="org.freedesktop.DBus.Error.ServiceUnknown", error message="The name org.freedesktop.UDisks was not provided by any .service files", signature="", contents=() ) Please let me kn

Re: [Interest] Crash in QSerialPort when closing?

2014-10-29 Thread Reinhardt Behm
This is the more complicated way. Just use deleterLater(). It has the same effect. After the next round the eventloop the object will be deleted. -- Best Regards Reinhardt Behm mailto: rb...@hushmail.com Skype: reinhardt.behm On Thursday 30 October 2014 11:03:22 Tony Rietwyk wrote: > Hi Sea

Re: [Interest] Crash in QSerialPort when closing?

2014-10-29 Thread Tony Rietwyk
Hi Sean, Closing a device within a read slot sounds dodgy anyway. In these cases, I usually do QTimer::singleShot(0, ...) and do the close in that slot. Regards, Tony From: interest-bounces+tony=rightsoft.com...@qt-project.org [mailto:interest-bounces+tony=rightsoft.com...@q

Re: [Interest] Crash in QSerialPort when closing?

2014-10-29 Thread Murphy, Sean
> > Your version of QtSerialPort is too very old (according to call-stack). > > Please update to latest (e.g. to 5.3.2/5.3.3). > > I'll try to upgrade then. If that's all it is, that'd be great! Looks like that has fixed the problem. Thanks for the help! Sean ___

Re: [Interest] Crash in QSerialPort when closing?

2014-10-29 Thread Murphy, Sean
> Your version of QtSerialPort is too very old (according to call-stack). > Please update to latest (e.g. to 5.3.2/5.3.3). I'll try to upgrade then. If that's all it is, that'd be great! Sean >> I’m getting a weird issue where I can repeatedly cause a crash to happen in >> QSerialPort if I att

Re: [Interest] Position y() of widget inside Layout

2014-10-29 Thread Igor Mironchik
Hi. Look at this small example. It’s not fully functional but as example it’s good enough, I hope... From: Jean Richard Lima Sent: Wednesday, October 29, 2014 8:34 PM To: Interest@qt-project.org Subject: [Interest] Position y() of widget inside Layout Hello! How can I get the y () position o

Re: [Interest] Crash in QSerialPort when closing?

2014-10-29 Thread Denis Shienkov
Hi. Your version of QtSerialPort is too very old (according to call-stack). Please update to latest (e.g. to 5.3.2/5.3.3). BR, Denis 29.10.2014 21:35, Murphy, Sean пишет: I’m getting a weird issue where I can repeatedly cause a crash to happen in QSerialPort if I attempt to close the serial

[Interest] Crash in QSerialPort when closing?

2014-10-29 Thread Murphy, Sean
I'm getting a weird issue where I can repeatedly cause a crash to happen in QSerialPort if I attempt to close the serial port when I'm in a slot connected to the readyRead() signal, and I'm just wondering if I'm doing something weird. I've got a class that inherits from QSerialPort. I instantia

Re: [Interest] Syntax error compiling 5.3.2

2014-10-29 Thread Scott Aron Bloom
Thanks... -Original Message- From: interest-bounces+scott.bloom=onshorecs@qt-project.org [mailto:interest-bounces+scott.bloom=onshorecs@qt-project.org] On Behalf Of Thiago Macieira Sent: Wednesday, October 29, 2014 11:18 AM To: interest@qt-project.org Subject: Re: [Interest] Synt

Re: [Interest] Syntax error compiling 5.3.2

2014-10-29 Thread Thiago Macieira
On Wednesday 29 October 2014 17:22:22 Scott Aron Bloom wrote: > fontdatabases/fontconfig/qtfontconfigdatabase.cpp:94: error: > 'FC_WEIGHT_ULTRABLACK' was not declared in this scope > > I cant find anything on this on google. > > Compiling for centos 5.8 64bit, > gcc 4.1.2 > > Im somewhat stuck b

Re: [Interest] Syntax error compiling 5.3.2

2014-10-29 Thread Scott Aron Bloom
It doesn’t.. My customers, to say the least, are EXTREMELY reluctant to change the gcc. Since any other applications that depend on it, would also need to be updated. Shipped in their words, means “default shipped” or updated automatically. Not a “optional, kind of required package”. Scott

[Interest] Position y() of widget inside Layout

2014-10-29 Thread Jean Richard Lima
Hello! How can I get the y () position of a widget inside another? I have 3 widgets within another widget when and try: geometry()->y() it returns me is always 0 when applied to the layout, if he gives me shot, but I need the layout and position, as I am dragging one over the other to switch plac

Re: [Interest] Syntax error compiling 5.3.2

2014-10-29 Thread Keith Gardner
I know that gcc 4.4 is also available for CentOS 5.8 through yum. Could you update to this version? It still fulfills the requirement of being shipped with the OS. On Wed, Oct 29, 2014 at 12:22 PM, Scott Aron Bloom < scott.bl...@onshorecs.com> wrote: > fontdatabases/fontconfig/qtfontconfigdata

[Interest] Syntax error compiling 5.3.2

2014-10-29 Thread Scott Aron Bloom
fontdatabases/fontconfig/qtfontconfigdatabase.cpp:94: error: 'FC_WEIGHT_ULTRABLACK' was not declared in this scope I cant find anything on this on google. Compiling for centos 5.8 64bit, gcc 4.1.2 Im somewhat stuck by customer demands, that I stick with the GCC version that the OS ships with..

Re: [Interest] QtDBus Example to read files from USB

2014-10-29 Thread Thiago Macieira
On Wednesday 29 October 2014 11:02:30 Ramakanthreddy Kesireddy wrote: > Is there any way to determine whether dbus service is running or not as the > below code doesn't works in the latest Qt5.3 on Yocto? Make the call and check if the reply was an error one indicating that the service doesn't e

[Interest] Android activities navigation.

2014-10-29 Thread Reynier Pupo Gómez
Hi, I just starting to develop android apps with Qt and I face a problem. In the android way an application could containt several activities representing content allowing us to give the correct structure to an application. Each activity can switch to another using a stack and the back button(

Re: [Interest] QtDBus Example to read files from USB

2014-10-29 Thread Ramakanthreddy Kesireddy
Thanks for your inputs. Is there any way to determine whether dbus service is running or not as the below code doesn't works in the latest Qt5.3 on Yocto? Thanks and Regards, Ramakanth -Original Message- From: interest-bounces+ramakanthreddy.kesireddy=techmahindra@qt-project.org [m