[Interest] Styled text not setting control size

2014-05-13 Thread Jason H
   TextField {     width: parent.width     style: TextFieldStyle {      textColor: "white"      font {pixelSize: 30}      background: Rectangle { color:"black" }     }    } When using the code above, the black area is about 1/2 the height of the letters that are entered into the text field. The le

[Interest] QML Styled button and text issue

2014-05-13 Thread Jason H
Text does not show up when used as: ///MyButton.QML import QtQuick 2.0 import QtQuick.Controls 1.1 import QtQuick.Controls.Styles 1.1 Button {  style: ButtonStyle {   background: Rectangle {    border.width: control.activeFocus ? 2 : 1    border.color: "#888"    radius: 10    gradient: Gradient

Re: [Interest] No emails since May 5

2014-05-13 Thread Jason H
I take that back. I'm not getting any emails unless they are addressed to me. From: Blasche Alexander To: Jason H ; Interests Qt Sent: Tuesday, May 13, 2014 8:52 AM Subject: RE: [Interest] No emails since May 5 You might be subject to: http://www.theregi

Re: [Interest] Two candidate updates for 5.3.x

2014-05-13 Thread Daniel Bowen
Thanks! https://codereview.qt-project.org/85118 looks promising, but there's still compile errors even after the patch. Thanks, -Daniel -Original Message- From: interest-bounces+qtmailinglist1=bowensite@qt-project.org [mailto:interest-bounces+qtmailinglist1=bowensite@qt-project.o

Re: [Interest] Size of libQt5Core in 5.3

2014-05-13 Thread Daniel Bowen
Thanks again for the info. Here's where I've gotten to so far. Starting from the last ./configure command line I mentioned, plus -no-feature- for every qfeature.txt item (minus LIBRARY, SETTINGS and REGULAREXPRESSION, since it doesn't build without those), I was at 4.3 MB stripped. Added to the

[Interest] Windows: static Qt 5.3 w/ Desktop OpenGL?

2014-05-13 Thread Paul Miller
I'm trying to build Qt 5.3 rc1 statically on Windows w/ *desktop* OpenGL support and the build is failing while building qwindows.lib with a bunch of unresolved external symbols relating to OpenGL. Is this configuration supported? I'm building with Visual Studio 2012, and this is my configure:

Re: [Interest] Accessing existing enums from QML

2014-05-13 Thread Tomasz Olszak
Dnia wtorek, 13 maja 2014 17:30:18 Jan Kundrát pisze: > On Wednesday, 7 May 2014 21:41:50 CEST, Tomasz Olszak wrote: > > Currently Qml doesn't handle such case. You can wrap your enums in > > QtObject > > > and expose it as singleton[1] object and use from inside Qml: > > > > import imap > > Ite

Re: [Interest] 5.3 RC1 OS X - strange white area in my widgets-based app

2014-05-13 Thread Paul Miller
On 5/9/2014 9:56 AM, Paul Miller wrote: > I just replaced 5.3 BETA with RC1 and my application on Mac > (widgets-based, with OpenGL) now has a solid white area (exactly > 640x480) covering the top-left corner of the window. What is this? I eventually tracked this down to some old QMainWindow layou

Re: [Interest] Accessing existing enums from QML

2014-05-13 Thread Jan Kundrát
On Wednesday, 7 May 2014 21:41:50 CEST, Tomasz Olszak wrote: > Currently Qml doesn't handle such case. You can wrap your enums in QtObject > and expose it as singleton[1] object and use from inside Qml: > > import imap > Item { > property int operation: imap.FLAG_ADD > } Do you have a small exam

Re: [Interest] Using QMediaplayer with QAbstractVideoSurface on Android?

2014-05-13 Thread Lopes Yoann
On May 13, 2014, at 4:52 PM, Lopes Yoann wrote: > Another thing you need to know is that the texture you'll get uses the > GL_TEXTURE_EXTERNAL_OES texture target and not the regular GL_TEXTURE_2D > target. You can find some information about this here > http://developer.android.com/reference/an

Re: [Interest] Using QMediaplayer with QAbstractVideoSurface on Android?

2014-05-13 Thread Lopes Yoann
Hi, On Android, a media player can only render to texture or directly to screen. We currently only support rendering to texture. The texture is created by the Android Qt Multimedia plugin following a callback from the QSGVideoNode in the scenegraph thread. That callback is a hack and doesn't a

Re: [Interest] BUG? QTimer in QThread

2014-05-13 Thread Thiago Macieira
Em ter 13 maio 2014, às 13:56:35, Sensei escreveu: > Thanks Mandeep, the problem was caused by the timer starting in the > constructor and then moved by moveToThread, as André pointed out. I > don't really understand why is it so, but well, it works Because it isn't. That's not the bug. -- Thi

Re: [Interest] BUG? QTimer in QThread

2014-05-13 Thread Thiago Macieira
Em ter 13 maio 2014, às 13:34:15, André Somers escreveu: > I think the root of your problem may be that you are starting your timer > from the constructor of myClass, and then move the instance of myClass > to a thread. What happens if you do something like this? The timer should have been moved

Re: [Interest] No emails since May 5

2014-05-13 Thread Jason H
Well, as of this morning, it seems to work as of 8:05AM US/EDT. - Original Message - From: Blasche Alexander To: Jason H ; Interests Qt Cc: Sent: Tuesday, May 13, 2014 8:52 AM Subject: RE: [Interest] No emails since May 5 You might be subject to: http://www.theregister.co.uk/2014/

Re: [Interest] No emails since May 5

2014-05-13 Thread Blasche Alexander
You might be subject to: http://www.theregister.co.uk/2014/04/08/yahoo_breaks_every_mailing_list_in_the_world_says_email_guru/ http://www.pcworld.com/article/2141120/yahoo-email-antispoofing-policy-breaks-mailing-lists.html Search for DMARC and you'll finds plenty more references -- Alex __

Re: [Interest] No emails since May 5

2014-05-13 Thread Jonathan Greig
I see Jason's original email in my gmail spam box too. Jason, are all of the mailing list ending up in your spam box? If not, the mailing list may not be sending them to you for a reason related to what Tomasz mentioned. On Tue, May 13, 2014 at 7:05 AM, Tomasz Olszak wrote: > 2014-05-13 9:46 GM

Re: [Interest] BUG? QTimer in QThread

2014-05-13 Thread Mandeep Sandhu
On Tue, May 13, 2014 at 5:33 PM, Filip Piechocki wrote: > I would like to mention, that in the first email the thread is never started > and without starting the thread I would not expect much to happen in this > thread :) I was about to say the same! :) -mandeep > > BR, > Filip Piechocki > >

Re: [Interest] BUG? QTimer in QThread

2014-05-13 Thread Filip Piechocki
Looks like Andre was a little bit faster to point this out. BR, Filip Piechocki On Tue, May 13, 2014 at 2:03 PM, Filip Piechocki wrote: > I would like to mention, that in the first email the thread is never > started and without starting the thread I would not expect much to happen > in this th

Re: [Interest] No emails since May 5

2014-05-13 Thread Tomasz Olszak
2014-05-13 9:46 GMT+02:00 Jason H : > I've posted to the list successfully, but not had any messages delivered from > the list since May 5. > > I can see my activity on the mailing list archives, so I know I'm posting > successfully. > ___ > Interest ma

Re: [Interest] BUG? QTimer in QThread

2014-05-13 Thread Filip Piechocki
I would like to mention, that in the first email the thread is never started and without starting the thread I would not expect much to happen in this thread :) BR, Filip Piechocki On Tue, May 13, 2014 at 2:00 PM, Mandeep Sandhu wrote: > > Thanks Mandeep, the problem was caused by the timer st

Re: [Interest] BUG? QTimer in QThread

2014-05-13 Thread André Somers
Mandeep Sandhu schreef op 13-5-2014 14:00: >> Thanks Mandeep, the problem was caused by the timer starting in the >> constructor and then moved by moveToThread, as André pointed out. I don't >> really understand why is it so, but well, it works :) > I'm glad it worked for you, although the example

Re: [Interest] BUG? QTimer in QThread

2014-05-13 Thread Mandeep Sandhu
> Thanks Mandeep, the problem was caused by the timer starting in the > constructor and then moved by moveToThread, as André pointed out. I don't > really understand why is it so, but well, it works :) I'm glad it worked for you, although the example I sent you starts the timer in the c'tor only (

Re: [Interest] BUG? QTimer in QThread

2014-05-13 Thread Sensei
On 13/05/14 13:48, Mandeep Sandhu wrote: > Without seeing the full code I can't comment on what the problem might be. > > However I quickly wrote a small test app which essentially does > whatever you've mentioned. It works fine on my Ubuntu setup with both > Qt5 (5.2.0) and Qt4 (4.8.6). > > Have a

Re: [Interest] BUG? QTimer in QThread

2014-05-13 Thread Sensei
On 13/05/14 13:34, André Somers wrote: > I think the root of your problem may be that you are starting your timer > from the constructor of myClass, and then move the instance of myClass > to a thread. What happens if you do something like this? > > Q_SLOT myClass::start() > { >inThread_ =

Re: [Interest] BUG? QTimer in QThread

2014-05-13 Thread Mandeep Sandhu
Without seeing the full code I can't comment on what the problem might be. However I quickly wrote a small test app which essentially does whatever you've mentioned. It works fine on my Ubuntu setup with both Qt5 (5.2.0) and Qt4 (4.8.6). Have a look at the code and see if there's anything differe

Re: [Interest] BUG? QTimer in QThread

2014-05-13 Thread André Somers
Sensei schreef op 13-5-2014 13:24: > Dear all, > > I am reporting this weird behavior because I believe it could be a > potential bug: my code is too simple to have an unexpected behavior. > > Anyway *BEWARE*: I might be making a huge mistake in my code that I > don't see! Please forgive me if I am

[Interest] Using QMediaplayer with QAbstractVideoSurface on Android?

2014-05-13 Thread Ola Røer Thorsen
Hi all, I've got a custom video player application currently being used on Linux (embedded with EGLFS), Desktop Linux and Windows 7. Now trying to deploy it on Android as well, but I'm facing some problems. I'm using the Qt 5.3.0 RC version. The application uses Qt Quick2. The video playing part

[Interest] BUG? QTimer in QThread

2014-05-13 Thread Sensei
Dear all, I am reporting this weird behavior because I believe it could be a potential bug: my code is too simple to have an unexpected behavior. Anyway *BEWARE*: I might be making a huge mistake in my code that I don't see! Please forgive me if I am wrong! :) So, here I go. I have a class t

Re: [Interest] Size of libQt5Core in 5.3

2014-05-13 Thread Peter Kümmel
On 13.05.2014 00:14, Ian Monroe wrote: > On Mon, May 12, 2014 at 2:55 PM, Peter Kümmel wrote: >> On 12.05.2014 23:29, Daniel Bowen wrote: >>> >>> If anyone has other things to add, please do. >> >> Maybe it is worth to think about a Qt library which really only >> provides essential stuff. What wo

Re: [Interest] Size of libQt5Core in 5.3

2014-05-13 Thread Peter Kümmel
On 13.05.2014 00:01, Thiago Macieira wrote: > Em seg 12 maio 2014, às 23:55:27, Peter Kümmel escreveu: >>> If anyone has other things to add, please do. >> >> Maybe it is worth to think about a Qt library which really only >> provides essential stuff. > > Please note any discussion about further sp

[Interest] No emails since May 5

2014-05-13 Thread Jason H
I've posted to the list successfully, but not had any messages delivered from the list since May 5. I can see my activity on the mailing list archives, so I know I'm posting successfully. ___ Interest mailing list Interest@qt-project.org http://lists.q

Re: [Interest] Annoying ApplicationWindow Error

2014-05-13 Thread Nurmi J-P
On 13 May 2014, at 05:50, Jason H wrote: > QtQuick 2.x project I'm getting this error: > > """ > QQuickView only supports loading of root objects that derive from QQuickItem. > > If your example is using QML 2, (such as qmlscene) and the .qml file you > loaded has 'import QtQuick 1.0' or