Re: [Interest] Gracefully Closing a QProcess

2014-08-08 Thread Thiago Macieira
On Friday 08 August 2014 14:55:41 Jason R. Kretzer wrote: > In the end, not sure what is the "right" way to go about this. All I > want to do is terminate and restart a process that has triggered an error. > > Thoughts? a) don't reuse the same QProcess object b) reuse, but don't try to start a p

Re: [Interest] Writing a Video in Qt Frame by Frame

2014-08-08 Thread Ian Monroe
2014-08-08 15:41 GMT-07:00 Santiago J. Barro-Torres : > > Hello, > > Right now I am using OpenCV (http://opencv.org/) to capture a video from > a Webcam. I can't do that in Qt because this option is not yet > implemented in Windows, so I had to look for alternatives. > > I still would like to use Q

[Interest] Writing a Video in Qt Frame by Frame

2014-08-08 Thread Santiago J. Barro-Torres
Hello, Right now I am using OpenCV (http://opencv.org/) to capture a video from a Webcam. I can't do that in Qt because this option is not yet implemented in Windows, so I had to look for alternatives. I still would like to use Qt for the User Interface. How can I integrate the single Frames

Re: [Interest] Stability of Qt when working in Visual Studio 2013

2014-08-08 Thread Paolino Marmolaro
Using VS 2013 Express, Qt 5.3.1, Boost 1.54, C++11 great! 2014-08-08 15:32 GMT+02:00 rap : > Qt 5.3.1 seems to work like charm and fast with Visual Studio 2013. > Having c++11 features available (after Qt 5.2. w/ VS2010 > without them) is great. > > -risto > > > -Alkuperäinen viesti-

Re: [Interest] QLineEdit upper case

2014-08-08 Thread pmqt71
thanks Oliver, I know about is-a and has-a but in this case I just want do what I can do in 2 seconds with MFC just setting a property. I've already spent so much time, so the faster solution is the best solution for a so simple problem. going for validator inheritance. pm 2014-08-08 20:14 GM

Re: [Interest] Best way to build Qt5 distribution for internal development

2014-08-08 Thread Adam Light
Michael: On Fri, Aug 8, 2014 at 7:39 AM, Michael Jackson wrote: > In the past I have provided my developers with a custom build of Qt 4.8.x > for their VS version (2010, 2012, 2013) all 64 bit versions. This was done > via a combination of a self compile and creating an installer using the Qt >

Re: [Interest] question about relocating Qt library installation

2014-08-08 Thread Darren Dale
On Fri, Aug 8, 2014 at 10:13 AM, Darren Dale wrote: > On Wed, Aug 6, 2014 at 4:20 PM, Darren Dale wrote: > >> On Mon, Aug 4, 2014 at 11:59 PM, Thiago Macieira < >> thiago.macie...@intel.com> wrote: >> >>> On Monday 04 August 2014 09:47:55 Darren Dale wrote: >>> > I spent a good part of the weeke

[Interest] Gracefully Closing a QProcess

2014-08-08 Thread Jason R. Kretzer
Good Day! I saw a partial question and answer to this a bit ago on this list but I have a follow up scenario. I would like to start a QProcess and connect a SLOT to its SIGNAL(error(QProcess::ProcessError)) In the SLOT, I would like to gracefully restart the process without triggering the

Re: [Interest] QLineEdit upper case

2014-08-08 Thread Till Oliver Knoll
Am 08.08.14 18:08, schrieb pmqt71: > ... > @Oliver: > yes my problem is that QLineEdit can have only 1 validator. I think > inherithance should be easier than implementin a ChainValidator, am I right? We could now fill pages of discussions about "Inheritance being evil", "is-a" vs "has-a" vs "uses

Re: [Interest] How to stop dissassembler view?

2014-08-08 Thread rap
> From: Thiago Macieira > Sent: Friday, August 08, 2014 6:27 PM > > On 8 août 2014, at 14:14, rap wrote: > > > Debugging always brings the dissassembler view at Breakpoints. How can > > > this be stopped? I just need to break on Breakpoints in my source code. > > > > > > Thanks > > > - Risto > >

[Interest] Recording video from Webcam using QMediaRecorder in Windows

2014-08-08 Thread Santiago J. Barro-Torres
Hi All, I wrote a simple code which just takes the default camera (Webcam of my laptop) and record a video and save it to a file. Executing the code, there is no output file. I found this: http://stackoverflow.com/questions/22452432/qt-recording-video-using-qmediarecorder-not-working And seems

Re: [Interest] Gstreamer support

2014-08-08 Thread Mandeep Sandhu
On Fri, Aug 8, 2014 at 8:00 AM, Nikos Chantziaras wrote: > On 08/08/14 17:46, pritam.ghang...@gmail.com wrote: >> Got that working. Configure script looks for Gstreamer only if phonon is >> enabled. > > Video through Phonon might not be the best experience. You might want to > look into QtGStreame

Re: [Interest] QLineEdit upper case

2014-08-08 Thread pmqt71
I have a base class for dialogs, QxDialog, where I'd like to manage the upper case input for all contained QLineEdits. Some of them, in the derived dialog, already have a validator for other purposes (email, postal code...). @Bo: if the user type 'a' the event text should be translated in 'A'. So

Re: [Interest] QLineEdit upper case

2014-08-08 Thread Bo Thorsen
You don't have to modify it. Just filter it out if it's one you don't want to to allow the lineedit to receive. Bo. Den 08-08-2014 16:54, pmqt71 skrev: > Hi Bo, > as I said, some controls already have a validator so I can't replace it. > > I also tried the event filter, but once intercepted, the

Re: [Interest] QLineEdit upper case

2014-08-08 Thread Till Oliver Knoll
Am 08.08.2014 um 16:54 schrieb pmqt71 : > Hi Bo, > as I said, some controls already have a validator so I can't replace it. So basically your problem is: "How to chain together (combine) several Validators!" E.g. you have one Validator which only accepts the characters 'a', 'b' and 'c' while a

Re: [Interest] Signal and Slot mechansim in Qt4.8.x

2014-08-08 Thread Thiago Macieira
On Friday 08 August 2014 14:29:18 Bo Thorsen wrote: > As long as your application is single threaded, then the order is > perfectly well defined. If you think of connections as implementations > of the visitor pattern with one visitor object in a list of signals, > then it's not hard to do this.

Re: [Interest] How to stop dissassembler view?

2014-08-08 Thread Thiago Macieira
On Friday 08 August 2014 15:40:13 rap wrote: > From: Samuel Gaist > Sent: Friday, August 08, 2014 3:23 PM > Subject: Re: [Interest] How to stop dissassembler view? > > On 8 août 2014, at 14:14, rap wrote: > > Debugging always brings the dissassembler view at Breakpoints. How can > > this be stopp

Re: [Interest] Gstreamer support

2014-08-08 Thread Nikos Chantziaras
On 08/08/14 17:46, pritam.ghang...@gmail.com wrote: > Got that working. Configure script looks for Gstreamer only if phonon is > enabled. Video through Phonon might not be the best experience. You might want to look into QtGStreamer instead. it's provides by GStreamer itself: http://gstreamer

Re: [Interest] QLineEdit upper case

2014-08-08 Thread pmqt71
Hi Bo, as I said, some controls already have a validator so I can't replace it. I also tried the event filter, but once intercepted, the event is not modifiable : ... if (event->type() == QEvent::KeyRelease) { QKeyEvent* keyEvent = static_cast(event); // keyEvent has no method to cha

Re: [Interest] Gstreamer support

2014-08-08 Thread pritam.ghang...@gmail.com
Got that working. Configure script looks for Gstreamer only if phonon is enabled. Regards, Pritam On Fri, Aug 8, 2014 at 3:17 PM, pritam.ghang...@gmail.com < pritam.ghang...@gmail.com> wrote: > > > > On Thu, Aug 7, 2014 at 9:57 PM, Mandeep Sandhu < > mandeepsandhu@gmail.com> wrote: > >> On

[Interest] Best way to build Qt5 distribution for internal development

2014-08-08 Thread Michael Jackson
In the past I have provided my developers with a custom build of Qt 4.8.x for their VS version (2010, 2012, 2013) all 64 bit versions. This was done via a combination of a self compile and creating an installer using the Qt Installer Framework. The basics are this: Pick a directory, say c:/Deve

Re: [Interest] question about relocating Qt library installation

2014-08-08 Thread Darren Dale
On Wed, Aug 6, 2014 at 4:20 PM, Darren Dale wrote: > On Mon, Aug 4, 2014 at 11:59 PM, Thiago Macieira < > thiago.macie...@intel.com> wrote: > >> On Monday 04 August 2014 09:47:55 Darren Dale wrote: >> > I spent a good part of the weekend looking for information on the web. >> I'm >> > not certain

Re: [Interest] QLineEdit upper case

2014-08-08 Thread Bo Thorsen
Den 08-08-2014 15:41, pmqt71 skrev: > Hi, > > I need a QLineEdit control that forces user input in uppercase while > editing, not after loosing the focus. > > I'm trying different ways but each has side effects: > > - using the textEdited signal to make the text upper : bad behaviour if > editing i

[Interest] QLineEdit upper case

2014-08-08 Thread pmqt71
Hi, I need a QLineEdit control that forces user input in uppercase while editing, not after loosing the focus. I'm trying different ways but each has side effects: - using the textEdited signal to make the text upper : bad behaviour if editing in the middle; - using a validator : dislike this so

Re: [Interest] Stability of Qt when working in Visual Studio 2013

2014-08-08 Thread rap
Qt 5.3.1 seems to work like charm and fast with Visual Studio 2013. Having c++11 features available (after Qt 5.2. w/ VS2010 without them) is great. -risto -Alkuperäinen viesti- From: Santiago J. Barro-Torres Sent: Friday, August 08, 2014 4:21 PM To: interest@qt-project.org Subject:

Re: [Interest] Stability of Qt when working in Visual Studio 2013

2014-08-08 Thread Bo Thorsen
Qt 5.3 is perfect with VS 2013, that's my main Windows development setup. If you are on Qt 4.x, you have to compile Qt yourself, and only 4.8.6 compiles. Bo. Den 08-08-2014 15:21, Santiago J. Barro-Torres skrev: > > Hi all, > > Does anybody knows how good is the stability of Qt when working wit

[Interest] Stability of Qt when working in Visual Studio 2013

2014-08-08 Thread Santiago J. Barro-Torres
Hi all, Does anybody knows how good is the stability of Qt when working with Visual Studio 2013? This page: http://qt-project.org/doc/qt-5/supported-platforms.html Recommends working with Visual Studio 2012, as it is actively tested by the Qt Project. What do you recommend me to do? Should I

Re: [Interest] Signal and Slot mechansim in Qt4.8.x

2014-08-08 Thread Till Oliver Knoll
Am 08.08.2014 um 14:29 schrieb Bo Thorsen : >> ...as soon as slots of multiple >> classes are to be connected to a given signal "in a well-defined >> order" such a design would probably be doomed to fail rather sooner >> than later, IMHO. > > As long as your application is single threaded, then

Re: [Interest] How to stop dissassembler view?

2014-08-08 Thread rap
Got it, thread creation and exit are set as default points to break on in tools/Debugger options. -risto > From: rap > Sent: Friday, August 08, 2014 3:14 PM > Debugging always brings the dissassembler view at Breakpoints. How can this > be stopped? > I just need to break on Breakpoints in

Re: [Interest] Help!! app qt4 upgrade to qt5 for wayland on tizen ivi, can't get the QDialog's window handle which can cast to EGLNativeWindowType

2014-08-08 Thread Till Oliver Knoll
Am 08.08.2014 um 10:25 schrieb "Steve (YiLiang) Zhou" : > Thanks Giulio, > Our app has an render thread which use opengl api to draw something like map > on eglsurface. > So I was thinking about to use a QGLWidget to render it , just call > glwidget->makeCurrent() when the render thread ready

Re: [Interest] How to stop dissassembler view?

2014-08-08 Thread rap
From: Samuel Gaist Sent: Friday, August 08, 2014 3:23 PM Subject: Re: [Interest] How to stop dissassembler view? On 8 août 2014, at 14:14, rap wrote: > Debugging always brings the dissassembler view at Breakpoints. How can this > be stopped? > I just need to break on Breakpoints in my sourc

Re: [Interest] Signal and Slot mechansim in Qt4.8.x

2014-08-08 Thread Bo Thorsen
Den 08-08-2014 14:03, Till Oliver Knoll skrev: > Am 08.08.2014 um 12:15 schrieb Giuseppe D'Angelo : > >> Il 08/08/2014 10:51, Bo Thorsen ha scritto: >>> The order of the slots execution is undefined. You can not rely on it. >> >> Generally speaking it *is* defined: slot activation follows the order

Re: [Interest] How to stop dissassembler view?

2014-08-08 Thread Samuel Gaist
On 8 août 2014, at 14:14, rap wrote: > Debugging always brings the dissassembler view at Breakpoints. How can this > be stopped? > I just need to break on Breakpoints in my source code. > > Thanks > - Risto > Hi, Are you by any chance trying to debug a release build ? ___

[Interest] How to stop dissassembler view?

2014-08-08 Thread rap
Debugging always brings the dissassembler view at Breakpoints. How can this be stopped? I just need to break on Breakpoints in my source code. Thanks - Risto ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listin

Re: [Interest] Signal and Slot mechansim in Qt4.8.x

2014-08-08 Thread Till Oliver Knoll
Am 08.08.2014 um 12:15 schrieb Giuseppe D'Angelo : > Il 08/08/2014 10:51, Bo Thorsen ha scritto: >> The order of the slots execution is undefined. You can not rely on it. > > Generally speaking it *is* defined: slot activation follows the order of the > connect() statements (*). But, but...!

Re: [Interest] Signal and Slot mechansim in Qt4.8.x

2014-08-08 Thread Till Oliver Knoll
Am 08.08.2014 um 10:39 schrieb Ramakanthreddy Kesireddy : > ... > > If multiple signals are emitted once, I would like to know if framework would > take care of slots execution in parallel or in sequential order. For "direct connections" slots are always executed in the same thread from wher

Re: [Interest] Signal and Slot mechansim in Qt4.8.x

2014-08-08 Thread Bo Thorsen
Den 08-08-2014 12:15, Giuseppe D'Angelo skrev: > Il 08/08/2014 10:51, Bo Thorsen ha scritto: >> The order of the slots execution is undefined. You can not rely on it. > > Generally speaking it *is* defined: slot activation follows the order of > the connect() statements (*). Yes. > In this specif

Re: [Interest] Help!! app qt4 upgrade to qt5 for wayland on tizen ivi, can't get the QDialog's window handle which can cast to EGLNativeWindowType

2014-08-08 Thread Giulio Camuffo
2014-08-08 11:25 GMT+03:00 Steve (YiLiang) Zhou : > Thanks Giulio, > Our app has an render thread which use opengl api to draw something like map > on eglsurface. > So I was thinking about to use a QGLWidget to render it , just call > glwidget->makeCurrent() when the render thread ready to draw

Re: [Interest] Signal and Slot mechansim in Qt4.8.x

2014-08-08 Thread Giuseppe D'Angelo
Il 08/08/2014 10:51, Bo Thorsen ha scritto: The order of the slots execution is undefined. You can not rely on it. Generally speaking it *is* defined: slot activation follows the order of the connect() statements (*). In this specific case, there are multiple threads in the game, and the qu

Re: [Interest] Gstreamer support

2014-08-08 Thread pritam.ghang...@gmail.com
On Thu, Aug 7, 2014 at 9:57 PM, Mandeep Sandhu wrote: > On Thu, Aug 7, 2014 at 7:38 AM, pritam.ghang...@gmail.com > wrote: > > Hi > > > > I am compiling Qt for an embedded broadcom 97405 platform. > > Final target is to get html5 video tag working. > > > > The whole build system and paltfrom is

Re: [Interest] Signal and Slot mechansim in Qt4.8.x

2014-08-08 Thread Bo Thorsen
Hi, The order of the slots execution is undefined. You can not rely on it. Bo. Den 08-08-2014 10:39, Ramakanthreddy Kesireddy skrev: > Hi, > > I got a usecase where I had implemented in Qt4.8.x app on the assumption > that slots execute one after another in the order they are connected. > > HMI

[Interest] Signal and Slot mechansim in Qt4.8.x

2014-08-08 Thread Ramakanthreddy Kesireddy
Hi, I got a usecase where I had implemented in Qt4.8.x app on the assumption that slots execute one after another in the order they are connected. HMI response is slow when continuous data is pumped into my application from other device. Though we maintain separate threads(threads implementatio

Re: [Interest] Help!! app qt4 upgrade to qt5 for wayland on tizen ivi, can't get the QDialog's window handle which can cast to EGLNativeWindowType

2014-08-08 Thread Steve (YiLiang) Zhou
Thanks Giulio, Our app has an render thread which use opengl api to draw something like map on eglsurface. So I was thinking about to use a QGLWidget to render it , just call glwidget->makeCurrent() when the render thread ready to draw a frame. I don't need to embed a QGLWidget to another waylan

Re: [Interest] qt giving the ld error

2014-08-08 Thread Nilesh Kokane
Hi Ch'Gans Thanks for your valuable reply first. IIRC, I think you have to have you cross tools in your PATH, so try this: $ export PATH=/opt/poky/1.6.1/sysroots/ i686-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/:$PATH $ qtcreator.sh Actually, there is a environment variable setup in the /opt

Re: [Interest] qt giving the ld error

2014-08-08 Thread Ch'Gans
On 08/08/14 18:55, Nilesh Kokane wrote: > Hi Ch'Gans, > > > Thanks for your valuable reply > > This is not the right file, try this instead: > /opt/poky/1.6/sysroots/x86_64- > pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-linux-gnueabi-g++ > > > i just tried with > (/opt/poky/1.6.1/sysroots/i6