Re: [Interest] Strange problem where exec() of dialogs returns immediately

2012-03-11 Thread Nikos Chantziaras
I'm CCing the list. That's what it's there for to begin with :-) On 11/03/12 11:42, Adrien Guinet wrote: Le 10/03/2012 19:15, Nikos Chantziaras a écrit : On 10/03/12 17:59, Thiago Macieira wrote: Please provide us a compileable testcase. I was able to reproduce this with a minimal

Re: [Interest] Strange problem where exec() of dialogs returns immediately

2012-03-11 Thread Nikos Chantziaras
On 11/03/12 16:32, Diego Schulz wrote: On Sat, Mar 10, 2012 at 3:15 PM, Nikos Chantziarasrea...@gmail.com wrote: On 10/03/12 17:59, Thiago Macieira wrote: Please provide us a compileable testcase. I was able to reproduce this with a minimal application. I'm attaching it. It just

Re: [Interest] Strange problem where exec() of dialogs returns immediately

2012-03-11 Thread Thiago Macieira
On domingo, 11 de março de 2012 18.25.58, Nikos Chantziaras wrote: But it is the creation of that message box that causes the problem, right? Try removing the message box and you'll see it works again. Of course if I remove the message box the bug doesn't trigger, because the point of this

[Interest] Receive screen rotate/resize events?

2012-03-11 Thread g4hx
Hello everyone, I have the following problem: I recently wrote a qt4-based screen locker. For obvious reasons, I show the widget in full screen by calling the showFullScreen() method. However, since I have a thinkpad tablet, I often rotate the screen, thus switching between laptop and tablet

[Interest] Moving to Qt Mobility

2012-03-11 Thread Daniel França
Hi all, at first I was using Phonon, but it has some limitations, and I've read that Phonon is not recommended anymore, then I'm trying to move to Qt Mobility - Multimedia, I can develop for desktop with that right? I need low level functions that Phonon can't provide, is it the right

Re: [Interest] Moving to Qt Mobility

2012-03-11 Thread Preet
Hi Daniel, You should clarify what you mean by 'low level functions'. Qt Mobility's Multimedia stuff uses gstreamer as a back end (at least on Linux desktop), but it doesn't give you much low level functionality. For that, you'd be better off using gstreamer, or vlc or another back end directly.

Re: [Interest] Strange problem where exec() of dialogs returns immediately

2012-03-11 Thread Nikos Chantziaras
On 11/03/12 19:09, Thiago Macieira wrote: On domingo, 11 de março de 2012 18.45.50, Nikos Chantziaras wrote: On 11/03/12 18:33, Thiago Macieira wrote: On domingo, 11 de março de 2012 18.25.58, Nikos Chantziaras wrote: But it is the creation of that message box that causes the problem, right?

Re: [Interest] Moving to Qt Mobility

2012-03-11 Thread Daniel França
Hi, thanks for the answer. low level functions I mean things like: get video fps change things like if a video is showed interlaced, etc render subtitles on video, etc. I think use VLC backend is a good option for me, is there good documentation about that? If you could show me some start point

Re: [Interest] Strange problem where exec() of dialogs returns immediately

2012-03-11 Thread Thiago Macieira
On domingo, 11 de março de 2012 19.39.31, Nikos Chantziaras wrote: Note how even you had to force an event loop by that horrible while (true) construct. Remove it completely. Once you solve the problem of the last window closing too soon, the main event loop will take care of the main

Re: [Interest] Moving to Qt Mobility

2012-03-11 Thread Preet
Hey Daniel, I haven't used libVLC before so I can't comment on using it with Qt. You can start here: http://wiki.videolan.org/LibVLC. I've used gstreamer before (only for audio), but there's an excellent Qt wrapper for gstreamer you can check out here if you're interested:

Re: [Interest] Strange problem where exec() of dialogs returns immediately

2012-03-11 Thread Nikos Chantziaras
On 11/03/12 19:58, Thiago Macieira wrote: On domingo, 11 de março de 2012 19.39.31, Nikos Chantziaras wrote: The application is an engine for running programs in it, and those programs have their own internal event loops. They call callbacks so the host application can advance its own event

Re: [Interest] Moving to Qt Mobility

2012-03-11 Thread Daniel França
Hi Thiago, I know that, I need the fps because it's for a subtitling application. I've to set the subtitle in the right frame, advance frames, etc. the interlaced stuff was only an example, I know it has nothing to do. On Sun, Mar 11, 2012 at 3:05 PM, Thiago Macieira

Re: [Interest] Moving to Qt Mobility

2012-03-11 Thread Daniel França
Thank you, I'm gonna look this wrapper. 2012/3/11 Preet prismatic.proj...@gmail.com Hey Daniel, I haven't used libVLC before so I can't comment on using it with Qt. You can start here: http://wiki.videolan.org/LibVLC. I've used gstreamer before (only for audio), but there's an excellent Qt

Re: [Interest] Receive screen rotate/resize events?

2012-03-11 Thread Lincoln Ramsay
On 03/12/2012 02:46 AM, ext g4hx wrote: When I rotate the screen, an X11 event of type ... is created. However, none of the available toolkits that I know (qt3/4/gtk) picks up the event. So once the screen is rotated, my widget is not spread across the screen anymore. ... I would like to know

[Interest] qmake Conditions and Scopes

2012-03-11 Thread Szalata, Zenon M.
I am trying to implement a project file to build my project conditionally. In my case the condition is the host architecture, either 32 bit linux or 64 bit linux. I tried something like this: message($$QMAKESPEC) linux-g++-32 { message( have 32 bit linux) } linux-g++-64 { message(have 64

Re: [Interest] qmake Conditions and Scopes

2012-03-11 Thread Lincoln Ramsay
On 03/12/2012 02:33 PM, ext Szalata, Zenon M. wrote: I took this from qmake Advanced Usage available in assistant. It's terribly limiting to make decisions based on the mkspec and almost always wrong (even when Qt does it). We've turned up bugs by failing to name custom mkspecs in precisely