Re: [Development] Qt Speech in Qt 5.6

2015-05-13 Thread Samuel Nevala
Jeremy, I'm planning to work on android tts next week (week21). Samuel Nevala On 11 May 2015 at 15:01, Jeremy Whiting jpwhit...@kde.org wrote: Samuel, That looks good (from me, with not much Android experience), though there are some things to improve that are already commented on that

Re: [Development] Suggested addition to wiki.qt.io/Coding_Conventions

2015-05-13 Thread Matthew Woehlke
On 2015-05-13 04:25, Marc Mutz wrote: Hi, I'd like to suggest the following addition to the Qt Coding Conventions: === Exporting Classes === Export polymorphic classes as a whole: code class Q_LIB_EXPORT QMyWidget : public QWidget { ... /code But don't export non-polymorphic

Re: [Development] Proposal: Deprecating platforms in Qt 5.6 that don't support lambda

2015-05-13 Thread Matthew Woehlke
On 2015-04-30 16:04, Matthew Woehlke wrote: On 2015-02-20 14:42, Thiago Macieira wrote: On Friday 20 February 2015 12:53:24 Matthew Woehlke wrote: for (auto const i : qtEnumerate(map)) Maybe it would be nice for Qt to provide one or both of these? Sounds easy enough. Want to give it a

Re: [Development] Suggested addition to wiki.qt.io/Coding_Conventions

2015-05-13 Thread Thiago Macieira
On Wednesday 13 May 2015 09:45:03 Matthew Woehlke wrote: But exporting the whole class, while convenient, has several drawback: * it exports symbols that don't need exporting: ** private methods never called from user code ** methods of private nested structs and classes Many Qt

Re: [Development] QTextStream::readLine(0) is an ambiguous overload in 5.5

2015-05-13 Thread André Pönitz
On Wed, May 13, 2015 at 09:44:40AM +0900, Thiago Macieira wrote: On Wednesday 13 May 2015 02:34:28 Jan Kundrát wrote: Hi, this commit [1] added a new overload to QTextStream::readLine. As a result of that, calling stream.readLine(0) is now ambiguous: QString readLine(qint64 maxlen

Re: [Development] QTextStream::readLine(0) is an ambiguous overload in 5.5

2015-05-13 Thread Thiago Macieira
On Wednesday 13 May 2015 20:43:58 André Pönitz wrote: a) do nothing, accept and document the source incompatibility b) modify differently so that the new API isn't ambiguous but doesn't require people to write 0 either. Does it have to be an *overload*? No, it doesn't. That would be one

Re: [Development] QML Settings

2015-05-13 Thread Konstantin Ritt
To make the settings persistent, you have to set http://doc.qt.io/qt-5/qml-qt-labs-settings-settings.html#application-identifiers (note however that settings Qt.application.name Co won't probably help in this case (bug?)). Konstantin 2015-05-13 22:18 GMT+04:00 Federico Buti

Re: [Development] Suggested addition to wiki.qt.io/Coding_Conventions

2015-05-13 Thread Olivier Goffart
On Thursday 14. May 2015 05:57:54 Thiago Macieira wrote: You cannot compare the addresses [of inline methods] This is intentional and if you rely on that, your code is flawed by design. Why not? The C++ standards does not forbid it. It defines that it works. I see no exceptions for inline

Re: [Development] Suggested addition to wiki.qt.io/Coding_Conventions

2015-05-13 Thread Marc Mutz
On Wednesday 13 May 2015 23:36:29 Olivier Goffart wrote: On Thursday 14. May 2015 05:57:54 Thiago Macieira wrote: You cannot compare the addresses [of inline methods] This is intentional and if you rely on that, your code is flawed by design. Why not? The C++ standards does not forbid

Re: [Development] Suggested addition to wiki.qt.io/Coding_Conventions

2015-05-13 Thread Thiago Macieira
On Thursday 14 May 2015 02:15:54 Marc Mutz wrote: On Wednesday 13 May 2015 23:36:29 Olivier Goffart wrote: On Thursday 14. May 2015 05:57:54 Thiago Macieira wrote: You cannot compare the addresses [of inline methods] This is intentional and if you rely on that, your code is flawed by

Re: [Development] Qt Multimedia and GStreamer 1.0 status

2015-05-13 Thread Allan Sandfeld Jensen
On Thursday 14 May 2015, Lisandro Damián Nicanor Pérez Meyer wrote: Hi! GStreamer 0.1 will get removed from Debian unstable soon. Is there any chance to have GStreamer 1.0 support in 5.5.0? Isn't it there already? I thought it was merged to the 5.5 branch several months ago. `Allan

Re: [Development] Suggested addition to wiki.qt.io/Coding_Conventions

2015-05-13 Thread Marc Mutz
On Wednesday 13 May 2015 09:30:05 Thiago Macieira wrote: The drawbacks only appear in debug builds, so is this worth the uglification? No, the drawbacks are *due to* MSVC debug builds. They *appear* in release builds and all platforms, too. Exporting the whole class restricts what kind of

[Development] Qt Multimedia and GStreamer 1.0 status

2015-05-13 Thread Lisandro Damián Nicanor Pérez Meyer
Hi! GStreamer 0.1 will get removed from Debian unstable soon. Is there any chance to have GStreamer 1.0 support in 5.5.0? Or maybe there is a way to have it in 5.4.x, even if WIP? We are quite on time to have a WIP Qt Multimedia as long as it's API/ABI stable, of course. Thanks in advance! --

Re: [Development] Introducing Qt Gamepad, a new qt-labs project

2015-05-13 Thread Christian Gagneraud
On Wed, 13 May 2015 08:00:07 Nichols Andy wrote: On 13 May 2015, at 01:04, Christian Gagneraud chg...@gna.orgmailto:chg...@gna.org wrote: Any chance QtGamepad would provide support for devices like the SpaceNavigator (3D mouse) [1]? I recently posted a question about this on this

[Development] Qt preference font

2015-05-13 Thread Alex Vazquez
Hi all! I have a question. I want to mix characters from different languages. I use qt embedded 4.8 with fontconfig enable. The characters are displayed correctly but I want to select the font for each of the languages. Is there any way to make a list of preferences font in Qt. Thanks! Regards!

Re: [Development] QML Settings

2015-05-13 Thread Federico Buti
Hi, I've inverted the approach, i.e. I've defined the alias in the root component and the two property in the Setting type. Result: it still does not work. Is there anything specific that should be done? Thanks to everyone. F. Hi Dominik. No, the documentation is pretty clear about that: alias

Re: [Development] Suggested addition to wiki.qt.io/Coding_Conventions

2015-05-13 Thread Konstantin Ritt
I guess this came from QSslEllipticCurve. +1 for not doing that until it really affects release build [with non-broken compilers]. Regards, Konstantin 2015-05-13 17:45 GMT+04:00 Matthew Woehlke mw_tr...@users.sourceforge.net: On 2015-05-13 04:25, Marc Mutz wrote: Hi, I'd like to suggest

Re: [Development] Qt preference font

2015-05-13 Thread Eike Hein
On 05/13/2015 07:57 PM, Alex Vazquez wrote: Is there any way to make a list of preferences font in Qt. Yes, QFont:insertSubstitution co allow you to assemble a QFont with a particular substitution chain for glyphs. This is basically what e.g. a browser engine built on Qt maps a CSS font

Re: [Development] Suggested addition to wiki.qt.io/Coding_Conventions

2015-05-13 Thread Thiago Macieira
On Wednesday 13 May 2015 10:25:57 Marc Mutz wrote: * it exports symbols that don't need exporting: ** private methods never called from user code ** methods of private nested structs and classes ** inline methods * exporting inline methods makes MSVC call the library implementation in debug

[Development] HEADS UP - Qt5.5 schedule coming milestones (string freeze etc)

2015-05-13 Thread Heikkinen Jani
Hi all, Finally it seems we can release Qt 5.5 Beta quite soon. We are trying to put it out during this week; I am really hoping we can finally do it. As you all should know we are badly behind the schedule and so on we need adjust our plan so that we can still get Qt 5.5 out before summer

[Development] Suggested addition to wiki.qt.io/Coding_Conventions

2015-05-13 Thread Marc Mutz
Hi, I'd like to suggest the following addition to the Qt Coding Conventions: === Exporting Classes === Export polymorphic classes as a whole: code class Q_LIB_EXPORT QMyWidget : public QWidget { ... /code But don't export non-polymorphic classes that way. Instead, only export the

Re: [Development] Introducing Qt Gamepad, a new qt-labs project

2015-05-13 Thread Nichols Andy
On 13 May 2015, at 01:04, Christian Gagneraud chg...@gna.orgmailto:chg...@gna.org wrote: Any chance QtGamepad would provide support for devices like the SpaceNavigator (3D mouse) [1]? I recently posted a question about this on this mailing list [2]. These 3D mice send events for translation and