Re: [Interest] lupdate : Compilation Error

2017-11-29 Thread Andy Shaw
Are you running this via the Visual Studio Add-In? If so then it’s a known issue - https://bugreports.qt.io/browse/QTVSADDINBUG-491 - fixed for the 2.1.3 release. Andy Interest på vegne av Sudhir Sharma

Re: [Interest] QT QFontMetrics boundingRect failed to textwordwrap, thanks!

2017-11-29 Thread Shawn Rutledge
> On 28 Nov 2017, at 02:06, sq wrote: > > painter.drawText(textBoundingRect,Qt::TextWordWrap,text); Try Qt::TextWrapAnywhere. Those numbers get concatenated into one long “word”. ___ Interest mailing list Interest@qt-project.org

Re: [Interest] lupdate : Compilation Error

2017-11-29 Thread Thiago Macieira
On quarta-feira, 29 de novembro de 2017 22:44:48 PST Sudhir Sharma wrote: > Any clue on this error? No. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center ___ Interest mailing list

Re: [Interest] lupdate : Compilation Error

2017-11-29 Thread Sudhir Sharma
Any clue on this error? Regards, Sudhir -Original Message- From: Sudhir Sharma Sent: Monday, October 30, 2017 5:52 PM To: 'Thiago Macieira' ; interest@qt-project.org Subject: RE: [Interest] lupdate : Compilation Error I get the following Compiler Version with

Re: [Interest] mailing list breaking DKIM/DMARC validation

2017-11-29 Thread Thiago Macieira
On Wednesday, 29 November 2017 15:14:14 PST Hamish Moffatt wrote: > The Qt mailman server is breaking DKIM validation and causing DMARC > failures. I've emailed the list owner and not had any reply. Does anyone > care? No, we don't. One of those two simply is incompatible with mailing lists. I

[Interest] mailing list breaking DKIM/DMARC validation

2017-11-29 Thread Hamish Moffatt
The Qt mailman server is breaking DKIM validation and causing DMARC failures. I've emailed the list owner and not had any reply. Does anyone care? Hamish ___ Interest mailing list Interest@qt-project.org

Re: [Interest] minimum macOS runtime version for Qt 5.9+

2017-11-29 Thread Hamish Moffatt
On 30/11/17 03:08, Thiago Macieira wrote: On Wednesday, 29 November 2017 05:32:53 PST Pavel Mogilevskiy wrote: So I vote for support older OS X versions as long as possible. There's no need for a vote (and there are no votes in the Qt Project). We do support for as long as possible. But no

Re: [Interest] QT QFontMetrics boundingRect failed to textwordwrap, thanks!

2017-11-29 Thread Tony Rietwyk
Hi, In your call metrics.boundingRect, you have specified height=0. Doesn't that make the QRect invalid?  The help for this function states "The drawing, and hence the bounding rectangle, is constrained to the rectangle rect." - so you need to pass a very large value for height, and it

Re: [Interest] Modify object list in qml

2017-11-29 Thread Oleg Evseev
Nice. Thanks Jérôme! 2017-11-29 23:00 GMT+03:00 Jérôme Godbout : > model: (myCondition ? [0] : []).concat(DB.getList()) > > Take care: > DB.getList().concat([...]) > will not work you would need to convert the QList to JS array first > > [image: bodycad]

Re: [Interest] Modify object list in qml

2017-11-29 Thread Jérôme Godbout
model: (myCondition ? [0] : []).concat(DB.getList()) Take care: DB.getList().concat([...]) will not work you would need to convert the QList to JS array first [image: bodycad] Jerome Godbout Software Developer 2035 rue du Haut-Bord, Québec, QC, Canada. G1N 4R7 T: +1

[Interest] Modify object list in qml

2017-11-29 Thread Oleg Evseev
Hi all, I would like to push an empty object in front of objects list model of ComboBox. I can do this in c++: QList SomeClass::getList() { QList list = db.getList(); list.push_front(Q_NULLPTR); return list; } then set it as model for ComboBox: model:

Re: [Interest] minimum macOS runtime version for Qt 5.9+

2017-11-29 Thread Jean-Michaël Celerier
> You spend more time trying to keep the older systems running using outdated compilers and tools than creating new features or fixing other bugs. I don't think that's the case here: AFAIK you can use all the fancy C++ features you want and still target older macOS versions (as in, 10.6-like).

Re: [Interest] minimum macOS runtime version for Qt 5.9+

2017-11-29 Thread Michael Jackson
Replace "Business" with your choice of: Development Group, Individual, Corporation, LLC, Developers in a Room, Grad Students, etc. At some point, supporting "older**" operating systems becomes a detriment to a project. You spend more time trying to keep the older systems running using

Re: [Interest] minimum macOS runtime version for Qt 5.9+

2017-11-29 Thread Konstantin Tokarev
29.11.2017, 19:09, "Michael Jackson" : > I vote NOT to. -1. Each business has to decide at what point is supporting > the older hardware detrimental to their bottom line. For my business, I drew > the line at 2 major releases behind Apple which aligns well with Qt.

Re: [Interest] minimum macOS runtime version for Qt 5.9+

2017-11-29 Thread Michael Jackson
I vote NOT to. -1. Each business has to decide at what point is supporting the older hardware detrimental to their bottom line. For my business, I drew the line at 2 major releases behind Apple which aligns well with Qt. I service higher education and govt labs where people stay with hardware

Re: [Interest] Packet arrival-time resolution? QUdpSocket

2017-11-29 Thread Thiago Macieira
On Wednesday, 29 November 2017 01:34:05 PST Konrad Rosenbaum wrote: > Any software working on a scale below 10ms needs to be realtime. Qt is not > realtime. Sorry. That's why the API I'm creating will give you a QDateTime, which only has millisecond resolution. I thought briefly about using

Re: [Interest] minimum macOS runtime version for Qt 5.9+

2017-11-29 Thread Pavel Mogilevskiy
+1 Same here. We have users which don't have a chance for some reasons to upgrade to the latest OS X version, therefore we are using Qt 5.8 (instead of Qt 5.9 LTS which we are using across other OSs) to support at least OSX 10.9. So I vote for support older OS X versions as long as

Re: [Interest] minimum macOS runtime version for Qt 5.9+

2017-11-29 Thread Vadim Peretokin
This sounds like a commercial issue then, could this be discussed on the official commercial channels instead? On Wed, Nov 29, 2017 at 2:09 PM coroberti . wrote: > On Wed, Nov 29, 2017 at 2:22 PM, Hamish Moffatt > wrote: > > On 29/11/17 14:46,

Re: [Interest] minimum macOS runtime version for Qt 5.9+

2017-11-29 Thread coroberti .
On Wed, Nov 29, 2017 at 2:22 PM, Hamish Moffatt wrote: > On 29/11/17 14:46, Jake Petroules wrote: >> >> Why do you need to support older versions? > > Because my customers are using them, right back to 10.7. They are > educational institutions with whole labs of

Re: [Interest] minimum macOS runtime version for Qt 5.9+

2017-11-29 Thread Hamish Moffatt
On 29/11/17 14:46, Jake Petroules wrote: Why do you need to support older versions? Because my customers are using them, right back to 10.7. They are educational institutions with whole labs of machines set up the same way - they probably get one chance a year to upgrade, and for whatever

[Interest] QT QFontMetrics boundingRect failed to textwordwrap, thanks!

2017-11-29 Thread sq
Hello, in QT4.8 I have the following code, want to calculate the size of the rectangle with the line break, the result of the rect did not wrap at all. How can I get the size of rect that a long QString needed text-wrapped automatically?Thanks very much! QPainter painter(this);

[Interest] QT Touch handling bug

2017-11-29 Thread Görling , Per
Hello! I am not sure how to contact you in the correct way or if I need to subscribe/join to your organization, before asking questions about QT... But I have the same problem with the qevdevtouch-handler, as described below. I found this post, when googling the Net for info on the problem! My

Re: [Interest] Qt 5.9.2 + iOS 11 SDK

2017-11-29 Thread Tor Arne Vestbø
Hi there, These are not crashes, they are warning reported by the Main thread checker, telling us that we ideally should not call those functions from a non-main-thread (the Qt Quick scenegraph renderthread in this case). We've disabled these warnings for now, while we investigate the issues

Re: [Interest] minimum macOS runtime version for Qt 5.9+

2017-11-29 Thread Shawn Rutledge
> On 29 Nov 2017, at 04:46, Jake Petroules wrote: > >> http://doc-snapshots.qt.io/qt5-5.10/supported-platforms.html suggests that >> 5.10 will increase this requirement further to 10.11+. Why is this? > > We decided it wasn't worth the resources to continue testing with

Re: [Interest] minimum macOS runtime version for Qt 5.9+

2017-11-29 Thread Jean-Michaël Celerier
Huh. Apparently every time I click on the "Operating Systems > Desktop share (by version)" I get it for a different time frame. My bad. --- Jean-Michaël Celerier http://www.jcelerier.name On Wed, Nov 29, 2017 at 10:24 AM, Vadim Peretokin wrote: > Well you haven't

Re: [Interest] Packet arrival-time resolution? QUdpSocket

2017-11-29 Thread Konrad Rosenbaum
Hi, On Tue, November 28, 2017 17:34, Jason H wrote: > It looks like Linux will support usec and even nsec resolution timestamps. yes it does. However: please keep in mind what a nanosecond is! This is the time that light needs to cross about 30cm (~ 1 foot) - in other words in an ideal world

Re: [Interest] minimum macOS runtime version for Qt 5.9+

2017-11-29 Thread Vadim Peretokin
Well you haven't shown your search criteria but I can tell you that the October 2017 stats are not what you say: https://imgur.com/a/avGLj. If you're gonna be using stats to reinforce your point, you've gotta be honest about it. On Wed, Nov 29, 2017 at 9:47 AM Jean-Michaël Celerier <

Re: [Interest] minimum macOS runtime version for Qt 5.9+

2017-11-29 Thread Jean-Michaël Celerier
Uh ? For me it says 2.20% for MacOS 10.10 and 1.75% for Linux (in Desktop OS market share). https://imgur.com/a/xvAzX --- Jean-Michaël Celerier http://www.jcelerier.name On Wed, Nov 29, 2017 at 9:28 AM, Vadim Peretokin wrote: > I don't know where you're looking, but

Re: [Interest] minimum macOS runtime version for Qt 5.9+

2017-11-29 Thread Marius Ciucur
Well, this site report totally different desktop OS market share: http://gs.statcounter.com/os-market-share/desktop/worldwide ... ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] minimum macOS runtime version for Qt 5.9+

2017-11-29 Thread Jake Petroules
Also, you need to look at future outlook. If Linux is at 3%, that number is likely to remain stable or grow. If macOS 10.10 is at 1%, that number will never grow and will likely drop sharply in a short timeframe given historical trends as newer versions gain market share in its place and macOS

Re: [Interest] minimum macOS runtime version for Qt 5.9+

2017-11-29 Thread Vadim Peretokin
I don't know where you're looking, but that says Linux is at 2.98% while macOS 10.10 is at 0.75%. Just pointing it out in case someone else believed this at first. On Wed, Nov 29, 2017 at 9:24 AM Jean-Michaël Celerier < jeanmichael.celer...@gmail.com> wrote: > There are more or less as many

Re: [Interest] minimum macOS runtime version for Qt 5.9+

2017-11-29 Thread Jean-Michaël Celerier
There are more or less as many MacOS 10.10 users than Linux users apparently, so by that logic Qt should be dropping Linux support altogether :p (according to https://www.netmarketshare.com/) --- Jean-Michaël Celerier http://www.jcelerier.name On Wed, Nov 29, 2017 at 4:46 AM, Jake