Re: [Development] RFC: more liberal 'auto' rules?

2015-12-29 Thread Matthew Woehlke
On 2015-12-26 20:17, Kevin Kofler wrote: > And what is hard to parse for humans? The "char* p,q" "issue"? That's a > formatting bug then, this ought to be written "char *p, q", which makes it > very clear what is going on. That's... debatable. Personally, I dislike combining names and type infor

Re: [Development] RFC: more liberal 'auto' rules?

2015-12-29 Thread Matthew Woehlke
On 2015-12-24 19:16, Kevin Kofler wrote: > Matthew Woehlke wrote: >> auto result = QString{a + b}; > > IMHO, that's just a complicated and ugly way to write: > QString result = a + b; > > There is no way the variable can be uninitialized if you initialize it right > there in the declaration.

[Development] [OS X] does AA_MacDontSwapCtrlAndMeta really work as it should in Qt 5?

2015-12-29 Thread René J . V . Bertin
Hello, I'm currently trying to get my head around how AA_MacDontSwapCtrlAndMeta is supposed to work on OS X, and the fact that setting the attribute in a Qt5-based terminal emulator doesn't appear to have the intended effect of allowing the usual Ctrl-C and family shell shortcuts to be issues u

Re: [Development] High-DPI on Win

2015-12-29 Thread Mark De Wit
Good point - not my app, but I checked the Qt version number of the one that annoys me most, and it's using 5.4.1. Most of the stuff we write here we test at high-dpi, and it's generally working ok (tested only at 5.4, not tested 5.6 because we have a dependency on webkit). Some things don't s

Re: [Development] High-DPI on Win

2015-12-29 Thread Thiago Macieira
On Tuesday 29 December 2015 09:45:19 Mark De Wit wrote: > Sadly, I must agree with you that Qt does indeed not handle high-dpi windows > very well ☹ I have Qt applications that I cannot use on my system, and > have resorted to qt.conf to turn off DPI-awareness for them; fuzzy scaling > was prefer

Re: [Development] High-DPI on Win

2015-12-29 Thread Sorvig Morten
Hello! > On 28 Dec 2015, at 21:50, Die Waldmanns wrote: > > (1) Support of fractional scaling (devicePixelRatio). > This ratio is qreal, but in QT5.5 it nevertheless seems not be possible to > set it to fractional values (I could get it only to 1.0,2.0,3.0 etc). In > 5.6-beta1 the new environ

Re: [Development] High-DPI on Win

2015-12-29 Thread Mark De Wit
Keep in mind that from Windows 8.1 onwards, DPI can be set per-screen (I myself have a 4K screen (240 dpi, 250% scaling) + regular HD screen (120 dpi, 125% scaling)). Qt appears to already handle the appropriate new dpi-aware APIs (Qt defaults to per-monitor DPI aware on Windows 8.1+). Sadly,