Re: [Interest] High DPI support in QT (Windows)

2015-09-22 Thread Pavlo Dyachenko
Yes, it seems that there are some minor improvements, however QT_SCALE_FACTOR variable still only supports numeric values. On 21 September 2015 at 16:36, Adam Light wrote: > > > On Fri, Sep 18, 2015 at 1:38 AM, Pavlo Dyachenko wrote: > >> Hi QT team, I posted a question on the forum about high

Re: [Interest] focus-follows-mouse

2015-09-22 Thread Tomasz Siekierda
On 22 September 2015 at 23:31, René J.V. wrote: > Is it possible to implement focus-follows-mouse behaviour (in a terminal > emulator, for instance) that does *not* raise the focused window? > I think that is a behaviour specific to some window managers. Not sure if you can replicate it in Qt. _

Re: [Interest] Qml via HTTP

2015-09-22 Thread B. B.
Thanks all for all the input! Especially thanks to Alexey, because I ended up using your recommendations. Using the resource tool, I build resources of the qml-files - and send them to the client. The client then just install them. Everything is exactly after the docs, and everything just works

Re: [Interest] geometry() for a widget that hasn't been shown

2015-09-22 Thread John Weeks
Thanks, Jan. I thought the same thing, but it didn't help. I even called EnsurePolished() first, having seen such things in the Qt source. But it appears that adjustSize() adjusts child widgets for the current window geometry, and doesn't try to determine an accurate window geometry first. The

[Interest] focus-follows-mouse

2015-09-22 Thread René J . V . Bertin
Is it possible to implement focus-follows-mouse behaviour (in a terminal emulator, for instance) that does *not* raise the focused window? thanks, René ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/intere

[Interest] It is happening again.

2015-09-22 Thread Bill Crocker
Fellow Qt Enthusiasts: It is happening again. I have a client server/app which uses Qt for the socket communication. Occasionally it gets sick. When it is sick: 1 - It takes multiple attempts for a client to connect to the server. The connection attempts fail with: *ERROR*, server communica

[Interest] Caching Painter Rendering

2015-09-22 Thread Tim Hoffmann
Dear all, we are currently using a QPixmap as a rendering cache for painting. I.e. paint once to a QPixmap, cache it and paint the QPixmap when required instead of performing the actual paint operations. In addition to the cached images we paint some elements directly. We have currently some issu

Re: [Interest] Qml via HTTP

2015-09-22 Thread Alexey Godko
Thanks for notice, Thiago. Of course. 2015-09-22 20:03 GMT+03:00 Thiago Macieira : > On Tuesday 22 September 2015 16:21:44 Alexey Godko wrote: > > so you can update your QML software over http by downloading single > > file. This approach is much more simple in debug and deployment, works on > >

Re: [Interest] Qml via HTTP

2015-09-22 Thread Thiago Macieira
On Tuesday 22 September 2015 16:21:44 Alexey Godko wrote: > so you can update your QML software over http by downloading single > file. This approach is much more simple in debug and deployment, works on > PC and Android. Make sure you're using https and that you check your server's identity befor

Re: [Interest] Compiling Qt 5.6.0 alpha with VS 2015 amd64

2015-09-22 Thread Thiago Macieira
On Tuesday 22 September 2015 11:32:02 Michael Sué wrote: > error C2039: 'NaNEncodeMask': is not a member of 'QV4::Value' (compiling > source file jit\qv4assembler.cpp) NaNEncodeMask is a member of QV4::Value. The compiler is wrong. You're probably mixing Qt 5.5 and 5.6 headers. Another possibili

Re: [Interest] Qml via HTTP

2015-09-22 Thread Jason H
I assume you left out iOS because this kind of feature would violate the apple developer policy?     Sent: Tuesday, September 22, 2015 at 9:21 AM From: "Alexey Godko" To: "B. B." Cc: interest@qt-project.org Subject: Re: [Interest] Qml via HTTP I've used this approach, and found many issues

[Interest] Menu in Mac

2015-09-22 Thread Rollastre Prostrit
Hi. I have an application that when run in Linux and Windows shows the main window with all the menus correctly on startup. However, in Mac, the main window shows up and grabs the desktop focus as normal, but the menu bar (mac's menu bar) is not changed and remains the previous one until I focus (

[Interest] Qt qml plugins don't have .pri under mkspecs/modules while other plugins have (static build of Qt)

2015-09-22 Thread Nuno Santos
Hi, I wonder why there are no .pri for the qml related plugins under mkspecs/modules. For examples, every lib created under plugins has the respective .pri: qwindows qmldbg_debugger qmldbg_inspector qmldbg_profiler qmldbg_server qmldbg_local qmldbg_tcp And so on... And you can simply write

[Interest] Qt 5.6 Alpha (static build) - ButtonStyle is not a type

2015-09-22 Thread Nuno Santos
Hi, Today I have given a try to Qt 5.6 Alpha. So far so good. I was having two major issues: QTBUG-48335 - QApplication fails to start on release mode when using Qt as a backend of a plugin (Windows) QTBUG-35754 - QtQuick and QtQuick.Controls modules are not available at runtime static Both s

Re: [Interest] QApplication fails to start on release mode when using Qt as a backend of a plugin (Windows)

2015-09-22 Thread Nuno Santos
Forget my last email. I was trying to link with 5.5 libs. This problem is solved on 5.6 alpha! On 22/09/2015 14:52, Nuno Santos wrote: Hi, On QTBUG-48335 bug report Friedmann Kleint suggests to try with Qt 5.5.1 or 5.6 beta. I decided to give it a try with Qt 5.6 Alpha I have downloaded Qt

Re: [Interest] Installing Qt for Android Binaries without GUI

2015-09-22 Thread Elvis Stansvik
2015-09-22 16:08 GMT+02:00 Andreas Cord-Landwehr : > On Tuesday 22 September 2015 15:58:42 Elvis Stansvik wrote: >> If I understood him right, he wants to make a Dockerfile that creates >> a Docker image from scratch (i.e. something that anyone could use, and >> which could be automated), not just

Re: [Interest] Installing Qt for Android Binaries without GUI

2015-09-22 Thread Andreas Cord-Landwehr
On Tuesday 22 September 2015 15:58:42 Elvis Stansvik wrote: > If I understood him right, he wants to make a Dockerfile that creates > a Docker image from scratch (i.e. something that anyone could use, and > which could be automated), not just create an image (in which case he > could of course do a

Re: [Interest] Installing Qt for Android Binaries without GUI

2015-09-22 Thread Elvis Stansvik
2015-09-22 15:43 GMT+02:00 m...@rpzdesign.com : > If you are using a docker container, why use the installer at all. > > Create a docker image with the binaries already in the search path. > > You can figure out the dependencies and paths using "nm" utility in linux. > > So if you problem is docker

Re: [Interest] QApplication fails to start on release mode when using Qt as a backend of a plugin (Windows)

2015-09-22 Thread Nuno Santos
Hi, On QTBUG-48335 bug report Friedmann Kleint suggests to try with Qt 5.5.1 or 5.6 beta. I decided to give it a try with Qt 5.6 Alpha I have downloaded Qt 5.6 alpha and compiled it from source statically. Building the plugin gives me the followin errors. It used to compile on Qt 5.5. Does

Re: [Interest] Installing Qt for Android Binaries without GUI

2015-09-22 Thread m...@rpzdesign.com
If you are using a docker container, why use the installer at all. Create a docker image with the binaries already in the search path. You can figure out the dependencies and paths using "nm" utility in linux. So if you problem is docker image prep, that should be a no-brainer. But if you want

Re: [Interest] Installing Qt for Android Binaries without GUI

2015-09-22 Thread Samuel Stirtzel
2015-09-22 14:38 GMT+02:00 Andreas Cord-Landwehr : > Hi, I am searching for a way to install the Qt for Android binaries on a Linux > host system without any GUI interaction. (use case: generation of a Docker > image for a crossbuilder environment for Qt applications). > > For now, I looked into th

Re: [Interest] Installing Qt for Android Binaries without GUI

2015-09-22 Thread Elvis Stansvik
2015-09-22 15:32 GMT+02:00 Andreas Cord-Landwehr : > On Tuesday 22 September 2015 07:19:33 m...@rpzdesign.com wrote: >> Yes, write a bash script. > > Sorry, but I do not get your point. > > Actually, I am already writing a bash script but the problem is that I do not > see a way to extract the prec

Re: [Interest] Installing Qt for Android Binaries without GUI

2015-09-22 Thread Andreas Cord-Landwehr
On Tuesday 22 September 2015 07:19:33 m...@rpzdesign.com wrote: > Yes, write a bash script. Sorry, but I do not get your point. Actually, I am already writing a bash script but the problem is that I do not see a way to extract the precompiled binaries from the Qt for Android installer without o

Re: [Interest] Installing Qt for Android Binaries without GUI

2015-09-22 Thread m...@rpzdesign.com
Yes, write a bash script. On 9/22/2015 6:38 AM, Andreas Cord-Landwehr wrote: > Hi, I am searching for a way to install the Qt for Android binaries on a Linux > host system without any GUI interaction. (use case: generation of a Docker > image for a crossbuilder environment for Qt applications). >

[Interest] Installing Qt for Android Binaries without GUI

2015-09-22 Thread Andreas Cord-Landwehr
Hi, I am searching for a way to install the Qt for Android binaries on a Linux host system without any GUI interaction. (use case: generation of a Docker image for a crossbuilder environment for Qt applications). For now, I looked into the Qt Installer (both offline and online installer), but b

Re: [Interest] geometry() for a widget that hasn't been shown

2015-09-22 Thread Jan Dasselaar
Hello John, Maybe the QWidget::adjustSize() function is what you are looking for. I think after calling adjustSize() the geometry() function should give a up to date result. Hth, Jan On 21-9-2015 19:33, John Weeks wrote: > If this is a repeat, my apologies. I can't tell if I saw this arrive on

[Interest] Compiling Qt 5.6.0 alpha with VS 2015 amd64

2015-09-22 Thread Michael Sué
Hi, I get the following error: c:\qt\qt-everywhere-enterprise-src-5.6.0-alpha\qtdeclarative\src\qml\jit\qv4assembler_p.h(561): error C2039: 'NaNEncodeMask': is not a member of 'QV4::Value' (compiling source file jit\qv4assembler.cpp) c:\qt\qt-everywhere-enterprise-src-5.6.0-alpha\qtdeclarative\

Re: [Interest] High DPI support in QT (Windows)

2015-09-22 Thread Robert Iakobashvili
Hi Pavlo, Some pointers that may be helpful: Set in your Qt application: Qt::AA_UseHighDpiPixmaps Further use a Poor Man's Test: http://blog.davidedmundson.co.uk/blog/kde_apps_high_dpi But keep in mind the below procedure, To return back from Hi-DPI on a regular screen where you cannot see the