Re: [Development] [QML] Assigning ints to enumeration properties

2013-03-06 Thread Knoll Lars
On 3/6/13 8:23 PM, "Alan Alpert" <4163654...@gmail.com> wrote: >On Wed, Mar 6, 2013 at 3:11 AM, Laszlo Papp wrote: >> On Wed, Mar 6, 2013 at 9:48 AM, Olivier Goffart >>wrote: >>> >>> This is not a warning, this is an error in C++ >>> >>> enum Foo { A , B }; >>> Foo bar = 1; // error: invalid

Re: [Development] [QML] Assigning ints to enumeration properties

2013-03-06 Thread Laszlo Papp
On Wed, Mar 6, 2013 at 7:23 PM, Alan Alpert <4163654...@gmail.com> wrote: > The problem with a warning on the console is that these are emitted > every time the application runs. So if you've written your application > correctly and are happy with it, the user shouldn't be seeing the > console flo

Re: [Development] [QML] Assigning ints to enumeration properties

2013-03-06 Thread Olivier Goffart
On Wednesday 06 March 2013 11:23:49 Alan Alpert wrote: [...] > We can't have explicit casts because the scripts are in JavaScript, > which is dynamically typed. Yes. Considering that, I guess implicit cast are ok. But don't pretend it is to match C++ :-) -- Olivier Woboq - Qt services and supp

Re: [Development] [QML] Assigning ints to enumeration properties

2013-03-06 Thread Alan Alpert
On Wed, Mar 6, 2013 at 3:11 AM, Laszlo Papp wrote: > On Wed, Mar 6, 2013 at 9:48 AM, Olivier Goffart wrote: >> >> This is not a warning, this is an error in C++ >> >> enum Foo { A , B }; >> Foo bar = 1; // error: invalid conversion from ‘int’ to ‘Foo’ >> int blah = bar; // No warning. unless you

Re: [Development] Incorporating Intel Threading Building Blocks into Qt? (Was: Evolving Qt's multithreading API)

2013-03-06 Thread Sze Howe Koh
On 4 March 2013 20:41, Olivier Goffart wrote: > What exactly do you want to use TBB for? > > Can we not just suggest users to use TBB directly? And just make sure Qt play > nice with it. > > Or do you want to make a wrapper library to qt-ify it? What exactly do you > want to qt-ify? Is it only the

Re: [Development] integer bug in Qt4.8.x

2013-03-06 Thread Thomas Senyk
On Wed, March 06, 2013 12:25:32 Samuel Rødal wrote: > On 03/06/2013 11:38 AM, Thomas Senyk wrote: > > Hi, > > > > I think I stumbled over a bug in Qt4.8.x - QtDeclarative, but I wanted to > > asked for opinions first. > > > > First of all: This is not happening in Qt5 (neither QtQuick2.0 nor QtQu

Re: [Development] integer bug in Qt4.8.x

2013-03-06 Thread Samuel Rødal
On 03/06/2013 11:38 AM, Thomas Senyk wrote: > Hi, > > I think I stumbled over a bug in Qt4.8.x - QtDeclarative, but I wanted to > asked for opinions first. > > First of all: This is not happening in Qt5 (neither QtQuick2.0 nor QtQuick > 1.1) > > This seems to only happen on ARM... at least I couldn

Re: [Development] [QML] Assigning ints to enumeration properties

2013-03-06 Thread Laszlo Papp
On Wed, Mar 6, 2013 at 9:48 AM, Olivier Goffart wrote: > This is not a warning, this is an error in C++ > > enum Foo { A , B }; > Foo bar = 1; // error: invalid conversion from ‘int’ to ‘Foo’ > int blah = bar; // No warning. unless you use enum class then it is a > error. > At least, I can sec

Re: [Development] Fwd: [webkit-dev] Heads-up: C++11 and WebKit2

2013-03-06 Thread Simon Hausmann
On Wednesday, March 06, 2013 11:00:09 AM Simon Hausmann wrote: > Hi, > > FYI, the QML 2 integration of WebKit is going to require some C++11 support > in the compiler side in the future. As far as I can see this "future" would > be Qt 5.2 at the earliest. Qt 5.0 and Qt 5.1 are not affected at this

Re: [Development] Fwd: [webkit-dev] Heads-up: C++11 and WebKit2

2013-03-06 Thread Simon Hausmann
On Wednesday, March 06, 2013 11:10:04 AM Olivier Goffart wrote: > On Wednesday 06 March 2013 11:00:09 Simon Hausmann wrote: > > Hi, > > > > FYI, the QML 2 integration of WebKit is going to require some C++11 > > support > > in the compiler side in the future. As far as I can see this "future" > >

[Development] integer bug in Qt4.8.x

2013-03-06 Thread Thomas Senyk
Hi, I think I stumbled over a bug in Qt4.8.x - QtDeclarative, but I wanted to asked for opinions first. First of all: This is not happening in Qt5 (neither QtQuick2.0 nor QtQuick 1.1) This seems to only happen on ARM... at least I couldn't reproduce on any x86 machine I tried. The ARM system

Re: [Development] Fwd: [webkit-dev] Heads-up: C++11 and WebKit2

2013-03-06 Thread Olivier Goffart
On Wednesday 06 March 2013 11:00:09 Simon Hausmann wrote: > Hi, > > FYI, the QML 2 integration of WebKit is going to require some C++11 support > in the compiler side in the future. As far as I can see this "future" would > be Qt 5.2 at the earliest. Qt 5.0 and Qt 5.1 are not affected at this > po

[Development] Fwd: [webkit-dev] Heads-up: C++11 and WebKit2

2013-03-06 Thread Simon Hausmann
Hi, FYI, the QML 2 integration of WebKit is going to require some C++11 support in the compiler side in the future. As far as I can see this "future" would be Qt 5.2 at the earliest. Qt 5.0 and Qt 5.1 are not affected at this point. Simon--- Begin Message --- Hello everyone, Some time ago we

Re: [Development] [QML] Assigning ints to enumeration properties

2013-03-06 Thread Olivier Goffart
On Tuesday 05 March 2013 13:34:14 Alan Alpert wrote: > I'd like to make a slight change to enum property behavior in QML. > Currently you get a compile error if you assign an int to an enum > property, similar to the warning you'll get in C++ if you do the same. > However in C++ you can easily work

[Development] Please Help Update Sanity Test Guidelines

2013-03-06 Thread Motyka Rafal
Hello, This is a request for help to update/correct the new Sanity Test Guidelines page. Please feel free to change the page: http://qt-project.org/wiki/Sanity-Test-Guidelines It's meant to be used for Qt releases as help for manual sanity testing (broad, not deep). Any help will be highly app

Re: [Development] CI Network Server Problems

2013-03-06 Thread Peter Hartmann
On 03/05/2013 10:09 PM, Richard Moore wrote: > I've tried setting up a test server > with two different versions of ubuntu (the documented one, and the > latest LTS version) but neither works. This makes it impossible for me > to help address the CI failures. I also have some problems: I have my o