Re: [Interest] window alway on top

2012-04-03 Thread Till Oliver Knoll
Am 03.04.2012 um 02:08 schrieb Tibo W tibo_...@yahoo.com: Hi guys, thanks a lot for your help ! I forgot to mention one thing: on Ubuntu 10.04 X11 x86 running with gnome and matacity, it's working. Yes, what I said: More like guidelines for the actual window manager... ;) I also had

Re: [Interest] post event between threads

2012-04-03 Thread Riccardo Roasio
I cannot use signal/slot because is blocking and i need to continue reading from serial port while message is processing... Il 02 aprile 2012 18:47, Thiago Macieira thiago.macie...@intel.com ha scritto: On segunda-feira, 2 de abril de 2012 18.05.17, Riccardo Roasio wrote: Hi, how can i post

Re: [Interest] post event between threads

2012-04-03 Thread Ильгиз Магазов
Hi, Riccardo just use Qt::QueuedConnection, by default it is a Qt::AutoConnection for me it works well, http://qt-project.org/doc/qt-4.8/qobject.html#connect http://qt-project.org/doc/qt-4.8/qt.html#ConnectionType-enum Tue, 3 Apr 2012 09:07:37 +0200 от Riccardo Roasio

Re: [Interest] post event between threads

2012-04-03 Thread Riccardo Roasio
I'm trying using signal/slots with Qt::QueuedConnection. Now the problem is this one..i have - gui thread (main) - serial rx thread - scriptmanager thread | |- script runner 1 thread (started from scriptsmanager) | |- script runner 2 thread (started from

Re: [Interest] post event between threads

2012-04-03 Thread Samuel Gaist
If you show us the code you use to setup the connections, we might be able to offer better help. Samuel On 3 avr. 2012, at 11:09, Riccardo Roasio wrote: I'm trying using signal/slots with Qt::QueuedConnection. Now the problem is this one..i have - gui thread (main) - serial rx thread

Re: [Interest] post event between threads

2012-04-03 Thread Riccardo Roasio
Ok, here serial rx threaad emit the signal: emit MessageReceivedSignal(); here the main thread catch the signal: connect(rxRoutine, SIGNAL(MessageReceivedSignal()),this, SLOT(TestSlot()),Qt::QueuedConnection); here is the constructor of scriptrunner that should catch the signal but it doesn't

Re: [Interest] post event between threads

2012-04-03 Thread Giuseppe D'Angelo
Do NOT add slots to QThread subclasses. You're doing it wrong. Please read ALL of the following docs, wiki articles, blog posts: http://qt-project.org/doc/qt-4.8/thread-basics.html http://labs.qt.nokia.com/2010/06/17/youre-doing-it-wrong/ http://qt-project.org/wiki/Threads_Events_QObjects

[Interest] -MT and static QT

2012-04-03 Thread Sergey
Hello, I've found this article: http://qt-project.org/faq/answer/why_does_a_statically_built_qt_use_the_dynamic_visual_studio_runtime_librar I'm using vs2005, QT 4.5.3 Built it statically, with QMAKE_CFLAGS_RELEASE= -O2 -MT in mkspecs\win32-msvc2005\qmake.conf But I didn't removed call to

Re: [Interest] post event between threads

2012-04-03 Thread Thiago Macieira
On terça-feira, 3 de abril de 2012 11.29.22, Riccardo Roasio wrote: And so what i can do? Or i have to read all the documentation Add it to another class. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center Intel Sweden AB -

Re: [Interest] more problems with virtual frame buffer

2012-04-03 Thread Thiago Macieira
On terça-feira, 3 de abril de 2012 08.35.25, Duane wrote: I've built a desktop version of 4.8.1 open source and I'm trying to make the qvfb binary. I get a series of errors involving png_* like png_structp does not name a type. I have png support built. I have libpng installed. I've seen

Re: [Interest] more problems with virtual frame buffer

2012-04-03 Thread Duane
On 04/03/2012 09:09 AM, Thiago Macieira wrote: On terça-feira, 3 de abril de 2012 08.35.25, Duane wrote: I've built a desktop version of 4.8.1 open source and I'm trying to make the qvfb binary. I get a series of errors involving png_* like png_structp does not name a type. I have png

Re: [Interest] more problems with virtual frame buffer

2012-04-03 Thread Konstantin Tokarev
03.04.2012, 17:16, Duane duane.heb...@group-upc.com: On 04/03/2012 09:09 AM, Thiago Macieira wrote:  On terça-feira, 3 de abril de 2012 08.35.25, Duane wrote:  I've built a desktop version of 4.8.1 open source and I'm trying to make  the qvfb binary.  I get a series of errors involving

Re: [Interest] more problems with virtual frame buffer

2012-04-03 Thread Thiago Macieira
On terça-feira, 3 de abril de 2012 09.16.24, Duane wrote: On 04/03/2012 09:09 AM, Thiago Macieira wrote: On terça-feira, 3 de abril de 2012 08.35.25, Duane wrote: I've built a desktop version of 4.8.1 open source and I'm trying to make the qvfb binary. I get a series of errors involving

Re: [Interest] more problems with virtual frame buffer

2012-04-03 Thread Harri Pasanen
On 04/03/2012 03:16 PM, Duane wrote: On 04/03/2012 09:09 AM, Thiago Macieira wrote: On terça-feira, 3 de abril de 2012 08.35.25, Duane wrote: I've built a desktop version of 4.8.1 open source and I'm trying to make the qvfb binary. I get a series of errors involving png_* like png_structp

Re: [Interest] more problems with virtual frame buffer

2012-04-03 Thread Duane
On 04/03/2012 09:35 AM, Harri Pasanen wrote: On 04/03/2012 03:16 PM, Duane wrote: On 04/03/2012 09:09 AM, Thiago Macieira wrote: On terça-feira, 3 de abril de 2012 08.35.25, Duane wrote: I've built a desktop version of 4.8.1 open source and I'm trying to make the qvfb binary. I get a series

Re: [Interest] post event between threads

2012-04-03 Thread André Somers
Op 3-4-2012 11:29, Riccardo Roasio schreef: And so what i can do? Or i have to read all the documentation Yes, reading the documentation will help you gain the needed understanding. Threading is a complex topic with many pitfalls. You've been given the list of things to read to understand

[Interest] Qt Creator 2.4.1 Designer plugin

2012-04-03 Thread Hugo Drumond Jacob
Hello All! I developed some widgets to use on my project, and, for productivity reasons I created a Qt Creator plugin to add my custom widgets to widgets palette of Qt Creator Designer. But, recently, I ported my widgets to Qt 4.8.0 and now I'm using Qt Creator 2.4.1, but, my plugin don't work

Re: [Interest] Qt 5.0 alpha released

2012-04-03 Thread Jason H
I was worried this would be a Duke Nukem Forever situation, I'm glad to see its not! :-) But last I checked there were many holes, like Windows desktop components, etc. It seems that Sybmian was very supported and the desktops were not. Is this no longer the case?

[Interest] Disabling Wayland in Qt5

2012-04-03 Thread BOUCARD Olivier
Hi all, I have successfully compiled a Qt5 version few weeks ago from the Git repository. It works well. As  the Qt5 Alpha is out, I thought it was time to update my Qt5 version. So I make a pull and a recursive update. Now when I try to compile it, it fails during the Wayland plugins

[Interest] How to reorder QListView contents through Drag-N-Drop

2012-04-03 Thread Michael Jackson
I have a QListView in my GUI. I would like to be able to use Drag-N-Drop to allow the user to move items with the list. I have checked some settings in QDesigner to enable this functionality but the issue I am having is that if the user drags a selection directly over another entry then the

Re: [Interest] Disabling Wayland in Qt5

2012-04-03 Thread Thiago Macieira
On terça-feira, 3 de abril de 2012 17.28.38, BOUCARD Olivier wrote: Hi all, I have successfully compiled a Qt5 version few weeks ago from the Git repository. It works well. As the Qt5 Alpha is out, I thought it was time to update my Qt5 version. So I make a pull and a recursive update. Now

[Interest] Re : Disabling Wayland in Qt5

2012-04-03 Thread BOUCARD Olivier
Thanks Thiago for your answer. But as you can imagine I don't compile each module manually. I use the build script. And I don't know how to tell it to forget about Wayland. Is just removing the qt-wayland module folder sufficient? Olivier. De : Thiago

Re: [Interest] %20%5BInterest%5D%20window%20alway%20on%20top

2012-04-03 Thread Tibo W
Yes, you're right, I don't have to change the focusPolicy. The widget is not a QDialog, but a QGraphicsView with a QDialog window flag. I use it to display a semi-transparent content on top of libVLC (who's inside a QWidget). Now, my problem is when I toggle the video fullscreen, the

Re: [Interest] Re : Disabling Wayland in Qt5

2012-04-03 Thread Thiago Macieira
On terça-feira, 3 de abril de 2012 18.25.49, BOUCARD Olivier wrote: Thanks Thiago for your answer. But as you can imagine I don't compile each module manually. I use the build script. And I don't know how to tell it to forget about Wayland. Is just removing the qt-wayland module folder

[Interest] Re : Re : Disabling Wayland in Qt5

2012-04-03 Thread BOUCARD Olivier
Ok. Thanks. De : Thiago Macieira thiago.macie...@intel.com À : interest@qt-project.org Envoyé le : Mardi 3 avril 2012 23h37 Objet : Re: [Interest] Re : Disabling Wayland in Qt5 On terça-feira, 3 de abril de 2012 18.25.49, BOUCARD Olivier wrote: Thanks

Re: [Interest] post event between threads

2012-04-03 Thread Lincoln Ramsay
On 04/03/2012 07:29 PM, ext Riccardo Roasio wrote: And so what i can do? Read those docs. In essence, you want something like this: QThread *thread = new QThread; MyObject *object = new MyObject; object-moveToThread(thread); thread-start(); connect(something, SIGNAL(blah()), object,

Re: [Interest] Very old wait cursor on Mac OSX

2012-04-03 Thread Tony Rietwyk
Hi Dair, Thanks-you for your very thorough explanation. Using an animated strip graphic similar to what MS Outlook 2010 does seems to be a good solution for my app. Tony. -Original Message- From: interest-bounces+tony=rightsoft.com...@qt-project.org

[Interest] self-register qaxserver in HKEY_CURRENT_USER\Software\Classes\CLSID instead of HCR\CLSID

2012-04-03 Thread Sergey
Hello, Is it possible somehow to tune qaxserver so that it would register itself in HKEY_CURRENT_USER\Software\Classes\CLSID instead of HCR\CLSID? I need it so that non-privileged user could register my ActiveX. -- Thanks ___ Interest mailing list