[Interest] qcamera resolution issue

2014-06-11 Thread Sarath Natakam
Hi, We are developing a camera application on Windows 8, quick 1.1, qt 5.2. We attempted to use qcamera with our usb camera. The camera supports two resolutions. How can one set the desired resolution for streaming? The user of this application will have a drop down to select resolution and

Re: [Interest] How to speed-up chameleons

2014-06-11 Thread igor.mironchik
Hi. First chameleon waits for another, i.e. he doing nothing while another will not come to the meeting place. And here semaphore is not necessary. Most slow place is QEventDispatcherWin32::processEvents() From: Romain Beaumont Sent: Wednesday, June 11, 2014 7:54 PM To: Igor Mironchik Cc: int

Re: [Interest] Qt 4.8.6 static UB failing due to "global weak symbol vtable"

2014-06-11 Thread Thiago Macieira
Em qua 11 jun 2014, às 15:59:16, Bob Hood escreveu: > ld: bad codegen, pointer diff in __GLOBAL__I_a to global weak symbol > __ZN7QStringD1Ev for architecture i386 > clang: error: linker command failed with exit code 1 (use -v to see > invocation) So it isn't a compiler bug, but it's definitely a

Re: [Interest] Qt 4.8.6 static UB failing due to "global weak symbol vtable"

2014-06-11 Thread Bob Hood
On 6/11/2014 7:39 AM, Thiago Macieira wrote: > Em ter 10 jun 2014, às 17:48:58, Bob Hood escreveu: >> Google isn't turning up much that is helpful. I've tried various >> combinations of the "visibility" flags, as that's about all that's turning >> up, and it isn't helping. >> >> Any suggestions, i

Re: [Interest] How to speed-up chameleons

2014-06-11 Thread Romain Beaumont
"first chameleon should wait a second;" this sound like semaphore to me, but I don't know this chameleon problem. What part of Qt is causing it to be slow ? QThread ? the signal/slot ? 2014-06-11 18:51 GMT+02:00 : > Hi. > > What do you suggest? > > *From:* Romain Beaumont > *Sent:* Wednesday

[Interest] Critical/Fatal error detection

2014-06-11 Thread Jason Kretzer
Good Day All, I am using the following code to open and display html content. void MyClass::playHtml(QString filePath, int w, int h) { QUrl url = QUrl::fromLocalFile(filePath); mWidget = new QWebView(this); mWidget->page()->mainFrame()->setScrollBarPolicy(Qt::Horizontal, Qt::ScrollBarAlways

Re: [Interest] How to speed-up chameleons

2014-06-11 Thread igor.mironchik
Hi. What do you suggest? From: Romain Beaumont Sent: Wednesday, June 11, 2014 5:12 PM To: Keith Gardner Cc: igor.mironc...@gmail.com ; interest@qt-project.org Subject: Re: [Interest] How to speed-up chameleons Hi, Why do you need to use Qt signals/slots ? Isn't there something more appropria

Re: [Interest] QML Mobile controls

2014-06-11 Thread Ben Lau
On 11 June 2014 23:18, Nurmi J-P wrote: > On 11 Jun 2014, at 16:44, Ben Lau wrote: > > > > btw , I have another question for the solution. How will it handle the > DP unit? > > > > Since the scaling using devicePixelRatio is still not implemented in > Android yet (QTBUG-38252) , I wonder what sh

Re: [Interest] QML Mobile controls

2014-06-11 Thread Nurmi J-P
On 11 Jun 2014, at 16:44, Ben Lau wrote: > > btw , I have another question for the solution. How will it handle the DP > unit? > > Since the scaling using devicePixelRatio is still not implemented in Android > yet (QTBUG-38252) , I wonder what should user do to make their application > fit w

Re: [Interest] How to speed-up chameleons

2014-06-11 Thread Romain Beaumont
Hi, Why do you need to use Qt signals/slots ? Isn't there something more appropriate to this task ? 2014-06-11 15:36 GMT+02:00 Keith Gardner : > I have one question to you. Why new syntax of QObject::connect() improve >> performance for a 5%. >> >> I mean that if in code change >> >> connect( se

Re: [Interest] Does cross thread signal/slot connection order matter?

2014-06-11 Thread Murphy, Sean
>> I've got an object that I want to live in another thread, so in a class in >> my main thread I've got: >>  >> //  pseudo-code, may not compile >> QThread* thread = new QThread(this); >> myObject* foo =  new myObject(); >> foo ->moveToThread(thread); >> thread->start(); >>  >> But when I go to c

Re: [Interest] QML Mobile controls

2014-06-11 Thread Ben Lau
On 11 June 2014 21:38, Thiago Macieira wrote: > Em qua 11 jun 2014, às 19:56:53, Ben Lau escreveu: > > Hi Nurmi, > > > > It is great to know that! That will be part of Qt Widget or Qt Quick > > framework? > > > > We are working on Android style for the Qt Quick Controls. The target > is > > > to

Re: [Interest] Does cross thread signal/slot connection order matter?

2014-06-11 Thread André Somers
Murphy, Sean schreef op 11-6-2014 16:00: I've got an object that I want to live in another thread, so in a class in my main thread I've got: // pseudo-code, may not compile QThread* thread = new QThread(this); myObject* foo = new myObject(); foo ->moveToThread(thread); thread->start();

[Interest] Does cross thread signal/slot connection order matter?

2014-06-11 Thread Murphy, Sean
I've got an object that I want to live in another thread, so in a class in my main thread I've got: // pseudo-code, may not compile QThread* thread = new QThread(this); myObject* foo = new myObject(); foo ->moveToThread(thread); thread->start(); But when I go to connect the signals/slots betwe

Re: [Interest] Qt 4.8.6 static UB failing due to "global weak symbol vtable"

2014-06-11 Thread Bob Hood
On 6/11/2014 7:39 AM, Thiago Macieira wrote: > Em ter 10 jun 2014, às 17:48:58, Bob Hood escreveu: >> Google isn't turning up much that is helpful. I've tried various >> combinations of the "visibility" flags, as that's about all that's turning >> up, and it isn't helping. >> >> Any suggestions, i

Re: [Interest] Qt 4.8.6 static UB failing due to "global weak symbol vtable"

2014-06-11 Thread Thiago Macieira
Em ter 10 jun 2014, às 17:48:58, Bob Hood escreveu: > Google isn't turning up much that is helpful. I've tried various > combinations of the "visibility" flags, as that's about all that's turning > up, and it isn't helping. > > Any suggestions, insights, or perhaps is there a configure flag to di

Re: [Interest] QML Mobile controls

2014-06-11 Thread Thiago Macieira
Em qua 11 jun 2014, às 19:56:53, Ben Lau escreveu: > Hi Nurmi, > > It is great to know that! That will be part of Qt Widget or Qt Quick > framework? > > We are working on Android style for the Qt Quick Controls. The target is > > to provide native styling for the controls in Qt 5.4. You can track

Re: [Interest] How to speed-up chameleons

2014-06-11 Thread Keith Gardner
> > I have one question to you. Why new syntax of QObject::connect() improve > performance for a 5%. > > I mean that if in code change > > connect( sender, SIGNAL( signal() ), receiver, SLOT( slot() ) ); > > to > > connect( sender, &Sender::signal, receiver, &Receiver::slot ); > > then code works f

Re: [Interest] How to speed-up chameleons

2014-06-11 Thread igor.mironchik
Hi guys, I have one question to you. Why new syntax of QObject::connect() improve performance for a 5%. I mean that if in code change connect( sender, SIGNAL( signal() ), receiver, SLOT( slot() ) ); to connect( sender, &Sender::signal, receiver, &Receiver::slot ); then code works faster... W

Re: [Interest] QML Mobile controls

2014-06-11 Thread Ben Lau
Hi Nurmi, It is great to know that! That will be part of Qt Widget or Qt Quick framework? On 11 June 2014 18:44, Nurmi J-P wrote: > On Wed, 2014-06-11 at 13:13 +0800, Ben Lau wrote: > > Hi, > > > > > > I am also interested to know is anybody working on this? I am writing > > an Android applica

Re: [Interest] QML Mobile controls

2014-06-11 Thread Nurmi J-P
On Wed, 2014-06-11 at 13:13 +0800, Ben Lau wrote: > Hi, > > > I am also interested to know is anybody working on this? I am writing > an Android application using Qt. It needs native look and feel and > therefore I have developed some components like ActionBar,NavBar, > Navigation Drawer , ViewP

Re: [Interest] Youtube View example in 5.3.0

2014-06-11 Thread Luca Carlon
I installed the codec you suggested. Internet Explorer can play youtube videos and also Qt seems to be able to play webm video files (tested with the qmlvideo example). Anyway, the same behaviour occurs with the Youtube View example. Still no video. I tested with both the ANGLE and OpenGL version.

[Interest] Qt 5 documentation snapshot changes

2014-06-11 Thread Pasion Jerome
Hello all, Just a heads up: The "stable" directory (http://doc-snapshot.qt-project.org/qt5-stable) is going to be removed fairly soon and it is now a redirect to to the "qt-5.3" directory: http://doc-snapshot.qt-project.org/qt5-5.3 This change is due to the new branch scheme. The redirect is se

Re: [Interest] Youtube View example in 5.3.0

2014-06-11 Thread Lopes Yoann
On Jun 10, 2014, at 11:40 PM, Luca Carlon wrote: I would like to be able to play youtube videos in a QML element. I came across the perfect example in the Qt tree: http://qt-project.org/doc/qt-5/qtwebkitexamples-webkitqml-youtubeview-example.html. However it seems to work perfectly for me on Li

[Interest] Making a WebView QML element transparent

2014-06-11 Thread Luca Carlon
Hello, anyone who knows if it is possible to make the background of a WebView QML element transparent? It seems that by default it is white. If I try to set the html to something like: html{background:transparent;background-color:rgba(0, 0, 0, 0.0)} I still get white. I also tried to "import QtWe