Re: [Interest] ´ð¸´: how to block run function of QRunnable class

2013-03-19 Thread Tony Rietwyk
Hi Ken, Sorry for the confusion - deriving from both QRunnable and QThread is probably NOT a good idea - you don't want to create your own QThread - just access the static methods: // Hack to get around Qt strictness... class TSleepThread: public QThread { public: static void

[Interest] 答复: ´ð¸´: how to block run function of QRunnable class

2013-03-19 Thread 彭亮
Hi, Yes, you method works perfectly too. But, if Run class derived from Qrunnable and Qthread, is there any problem? Or is there any potential risk? Thanks Ken 发件人: interest-bounces+pengliang=founder@qt-project.org

Re: [Interest] opengl graphics system status in 4.8.x?

2013-03-19 Thread Simon St James
Hi Thiago, On Monday 18 Mar 2013 15:55:25 Thiago Macieira wrote: On segunda-feira, 18 de março de 2013 20.07.34, Simon St James wrote: Currently, performance is surprisingly good considering we are still using the raster graphics system where everything is plotted pixel by pixel by Qt and

Re: [Interest] opengl graphics system status in 4.8.x?

2013-03-19 Thread Till Oliver Knoll
Am 19.03.2013 um 08:01 schrieb Simon St James kdede...@etotheipiplusone.com: ... The experiment itself was a success, since it concluded that we should do something entirely different for performance using OpenGL. That's the Qt 5 / Qt Quick 2 scene graph. Sounds pretty decisive, then :)

Re: [Interest] qt3D and qt5 status

2013-03-19 Thread Alejandro Exojo
2013/3/10 qtnext qtn...@gmail.com: I wants to port an existing apps from Qt4 to Qt5. I suppose that all is easily portable, but I use qt3D c++ scenegraph to render my opengl stuff. It seems that qt3D is not included in qt5 trunk, but has anybody tryed to compile qt3D C++ with qt5 ? Does it

Re: [Interest] qt3D and qt5 status

2013-03-19 Thread BOUCARD Olivier
The last commit from the repository says: 5.2 is the expected release version, so set it already. We have to be a little more patient. ;-) Olivier Boucard. De : Alejandro Exojo aex...@modpow.es À : Interest@qt-project.org Envoyé le : Mardi 19 mars 2013 9h30

[Interest] Qt5 Visual Studio Add-In 1.2.1 RC

2013-03-19 Thread Haataja Ismo
Hi, Release candidate of Qt5 Visual Studio Add-In 1.2.1 in now available for download here. http://origin.releases.qt-project.org/digia_vsaddin/ Change list of modifications available here http://qt.gitorious.org/qt-labs/vstools/blobs/master/Qt4VS2003/Qt4VSAddin/Changes-1.2.1 Final version

[Interest] scale all fonts

2013-03-19 Thread Hamish Moffatt
Is it possible to apply a scaling to all font sizes used in an application? I can see Qt is doing the right thing by converting point sizes to pixel sizes in accordance with the DPI of the display. Now suppose I want to override the DPI, or redefine point to be other than 1/72 (achieves the

Re: [Interest] opengl graphics system status in 4.8.x?

2013-03-19 Thread Samuel Rødal
On 03/18/2013 09:07 PM, Simon St James wrote: Hi all, I am currently working on emscripten-qt (http://vps2.etotheipiplusone.com:30176/redmine/projects/emscripten-qt/wiki/Demos/), a project that uses Emscripten (https://github.com/kripken/emscripten/wiki) to compile Qt 4.8.x to Javascript

Re: [Interest] scale all fonts

2013-03-19 Thread Bo Thorsen
Den 19-03-2013 11:27, Hamish Moffatt skrev: Is it possible to apply a scaling to all font sizes used in an application? I can see Qt is doing the right thing by converting point sizes to pixel sizes in accordance with the DPI of the display. Now suppose I want to override the DPI, or redefine

Re: [Interest] scale all fonts

2013-03-19 Thread Manuele Conti
Il 19/03/2013 11:27, Hamish Moffatt ha scritto: Is it possible to apply a scaling to all font sizes used in an application? I can see Qt is doing the right thing by converting point sizes to pixel sizes in accordance with the DPI of the display. Now suppose I want to override the DPI, or

Re: [Interest] scale all fonts

2013-03-19 Thread Rutledge Shawn
On 19 Mar 2013, at 11:27 AM, Hamish Moffatt wrote: Is it possible to apply a scaling to all font sizes used in an application? I can see Qt is doing the right thing by converting point sizes to pixel sizes in accordance with the DPI of the display. Now suppose I want to override the DPI,

Re: [Interest] gstreamer is not enabled in Qt5

2013-03-19 Thread Ramakanthreddy_Kesireddy
I couldnot find gstreamer 0.10.38..So I installed 0.10.36 as gstreamer should be 1.0 but still getting the same error as mentioned below. Any pointers to enable gstreamer in configure verbose output? Br, Ramakanth From:

Re: [Interest] qt3D and qt5 status

2013-03-19 Thread Sean Harmer
On Tuesday 19 March 2013 09:20:02 BOUCARD Olivier wrote: The last commit from the repository says: 5.2 is the expected release version, so set it already. We have to be a little more patient. ;-) Apologies I've only just spotted this thread. This was discussed on the development@ list back

Re: [Interest] qt3D and qt5 status

2013-03-19 Thread BOUCARD Olivier
I have missed that too. Sounds great to me. Olivier. De : Sean Harmer sean.har...@kdab.com À : interest@qt-project.org Envoyé le : Mardi 19 mars 2013 13h24 Objet : Re: [Interest] qt3D and qt5 status On Tuesday 19 March 2013 09:20:02 BOUCARD Olivier wrote:

Re: [Interest] scale all fonts

2013-03-19 Thread Hamish Moffatt
On 19/03/2013 10:55 PM, Rutledge Shawn wrote: On 19 Mar 2013, at 11:27 AM, Hamish Moffatt wrote: Is it possible to apply a scaling to all font sizes used in an application? I can see Qt is doing the right thing by converting point sizes to pixel sizes in accordance with the DPI of the

Re: [Interest] Qt5 Visual Studio Add-In 1.2.1 RC

2013-03-19 Thread Duane
On 3/19/2013 5:38 AM, Haataja Ismo wrote: Hi, Release candidate of Qt5 Visual Studio Add-In 1.2.1 in now available for download here. http://origin.releases.qt-project.org/digia_vsaddin/ Change list of modifications available here

[Interest] QThread and sleep

2013-03-19 Thread Hugo Drumond Jacob
Hi folks! Today some doubt has ocurred on my office. Suppose that for some reason we need to sleep a thread (not the main thread) for some time (eg. 100 ms). The QThread::wait(int) provides similar functionality to the POSIX pthread_join() and this don't will sleep the target thread, but the

Re: [Interest] how to block run function of QRunnable class

2013-03-19 Thread K. Frank
Hello Tony! I have something of a side question, below. On Tue, Mar 19, 2013 at 2:09 AM, Tony Rietwyk t...@rightsoft.com.au wrote: Hi Ken, ... // Hack to get around Qt strictness... class TSleepThread: public QThread { public: static void sleep(unsigned long secs) {

Re: [Interest] how to block run function of QRunnable class

2013-03-19 Thread André Somers
Op 19-3-2013 14:57, K. Frank schreef: Hello Tony! I have something of a side question, below. On Tue, Mar 19, 2013 at 2:09 AM, Tony Rietwyk t...@rightsoft.com.au wrote: Hi Ken, ... // Hack to get around Qt strictness... class TSleepThread: public QThread { public: static void

Re: [Interest] how to block run function of QRunnable class

2013-03-19 Thread K. Frank
Hi André! On Tue, Mar 19, 2013 at 10:11 AM, André Somers an...@familiesomers.nl wrote: Op 19-3-2013 14:57, K. Frank schreef: Hello Tony! I have something of a side question, below. ... A cross-platform sleep (in a cross-platform framework, at that). What's not to like? But seriously,

Re: [Interest] how to block run function of QRunnable class

2013-03-19 Thread Frank Hemer
On Tuesday 19 March 2013 15:11:03 André Somers wrote: Op 19-3-2013 14:57, K. Frank schreef: Hello Tony! I have something of a side question, below. On Tue, Mar 19, 2013 at 2:09 AM, Tony Rietwyk t...@rightsoft.com.au wrote: Hi Ken, ... // Hack to get around Qt strictness...

[Interest] QGridLayout does not update

2013-03-19 Thread Etienne Sandré-Chardonnal
Dear all, I am encountering the following issue using QGridLayout in a widget. The QGridLayout is currently used for displaying labels along a grid with two columns, in a subclassed QWidget. This QWidget was set as the widget of a QSCrollArea, the QScrollArea is the content of a QDockWidget.

Re: [Interest] how to block run function of QRunnable class

2013-03-19 Thread K. Frank
Hi Frank! On Tue, Mar 19, 2013 at 10:24 AM, Frank Hemer fr...@hemer.org wrote: On Tuesday 19 March 2013 15:11:03 André Somers wrote: Op 19-3-2013 14:57, K. Frank schreef: ... A cross-platform sleep (in a cross-platform framework, at that). What's not to like? But seriously, does

Re: [Interest] QGridLayout does not update

2013-03-19 Thread Etienne Sandré-Chardonnal
Tried, with no success. Surprisingly, if I directly set my QWidget as the QDockWidget content, it works. But if I put a QScrollArea as the QDockWidget content, and my QWidget as QScrollArea content, it does not work. Something is wrong with the QScrollArea Etienne 2013/3/19 preeteesh kakkar

Re: [Interest] QGridLayout does not update

2013-03-19 Thread Etienne Sandré-Chardonnal
Ah, I think I got an idea from the docs. Apparently, one cannot modify the layout of a widget after it has been set as a QScrollArea content. Damned... this prevents me from dynamically changing the content of the dock without recreating everything at each update Etienne void

Re: [Interest] gstreamer is not enabled in Qt5

2013-03-19 Thread Thiago Macieira
On terça-feira, 19 de março de 2013 12.03.48, Ramakanthreddy_Kesireddy wrote: I couldnot find gstreamer 0.10.38..So I installed 0.10.36 as gstreamer should be 1.0 but still getting the same error as mentioned below. Any pointers to enable gstreamer in configure verbose output? You've already

Re: [Interest] QThread and sleep

2013-03-19 Thread Thiago Macieira
On terça-feira, 19 de março de 2013 10.37.56, Hugo Drumond Jacob wrote: Hi folks! Today some doubt has ocurred on my office. Suppose that for some reason we need to sleep a thread (not the main thread) for some time Suppose that you're wrong and you came to the wrong solution that sleeping is

Re: [Interest] QThread and sleep

2013-03-19 Thread Thiago Macieira
On terça-feira, 19 de março de 2013 14.56.47, Hugo Drumond Jacob wrote: No problem! In fact, we are using! It's just a question about QThread::wait and QThread::sleep: It's safe use QThread::wait in other situation that not synchronously QThread::terminate ? and you already answered: yes.

Re: [Interest] scale all fonts

2013-03-19 Thread Till Oliver Knoll
Am 19.03.2013 um 14:19 schrieb Hamish Moffatt ham...@risingsoftware.com: On 19/03/2013 10:55 PM, Rutledge Shawn wrote: On 19 Mar 2013, at 11:27 AM, Hamish Moffatt wrote: Is it possible to apply a scaling to all font sizes used in an application? I can see Qt is doing the right thing by

Re: [Interest] QThread and sleep

2013-03-19 Thread Hugo Drumond Jacob
2013/3/19 Thiago Macieira thiago.macie...@intel.com: On terça-feira, 19 de março de 2013 14.56.47, Hugo Drumond Jacob wrote: No problem! In fact, we are using! It's just a question about QThread::wait and QThread::sleep: It's safe use QThread::wait in other situation that not synchronously

[Interest] Unable to capture audio with QAudioInput

2013-03-19 Thread pritam.ghang...@gmail.com
Hi I was trying to capture audio using QAudioInput. But I get nothing in the output buffer. Please see the attached code. I try to send it to google for text recognition after recording but buffer itself is empty. Platform: Ubuntu Linux 32bit 12.10 with Qt5.0 -- Regards, pritam #include

Re: [Interest] QThread and sleep

2013-03-19 Thread Thiago Macieira
On terça-feira, 19 de março de 2013 15.15.31, Hugo Drumond Jacob wrote: 2013/3/19 Thiago Macieira thiago.macie...@intel.com: On terça-feira, 19 de março de 2013 14.56.47, Hugo Drumond Jacob wrote: No problem! In fact, we are using! It's just a question about QThread::wait and