Re: [Interest] Qt 5.5 WinRT x64 VS2013 applications fail WACK Direct3D tests

2015-09-24 Thread Alexander Tkachenko
Hi Maurice, Thank you for your reply! If I'm correct, d3dcompiler_47.dll should not be included in Windows Store package at all because it is a Microsoft's digitally signed dll, which is already present in the OS. So, WinRT-restricted API calls in d3dcompiler_47.dll aren't actually a problem. I

Re: [Interest] Qt/D3D integration through ANGLE PBuffer

2015-09-24 Thread Thomas Sevaldrud
Ok, I've experimented a bit here now, but I am struggling to get a valid PBuffer (eglCreatePBufferSurface returns 0). I have tried creating a new QOpenGLContext and pull the eglDisplay and eglConfig from that through the nativeResourceForContext. If I have only the Context without any surface to

[Interest] Qt can't read JPG image that QCameraImageCapture saved.

2015-09-24 Thread Igor Mironchik
Hi guys, QCameraImageCapture saves JPG files. This files successfully opens in all desktop applications (Gwenview, GIMP...). But my Qt application can't read image from this files. QImageReader says that image data corrupted. How can I solve this problem? I'm on Linux. Qt 5.5.0. -- Best Reg

[Interest] QML plugin naming conventions

2015-09-24 Thread Attila Csipa
Hi, I'm just wondering what the latest recommendations (or expectations) are for 3rd party QML plugin naming nowadays? In the QML docs there is a pretty wide definition of dotted URI notation, and a number of approaches with different CamelCases: import QtQuick 2.0 import projects.MyQMLProject

Re: [Interest] Menu in Mac

2015-09-24 Thread Alejandro Exojo
El Thursday 24 September 2015, Rollastre Prostrit escribió: > Well, I had a strike of inspiration and decided to try something that > turned out to be the reason. The dark trick to make this to work properly > was not related to Qt but to OSX. And apparently, if your application is > not inside a b

Re: [Interest] Qt/D3D integration through ANGLE PBuffer

2015-09-24 Thread Agocs Laszlo
Right. You can either use eglChooseConfig or pull it with nativeResourceForContext from the context you will use for the Qt Quick rendering. The latter is probably the way to go since you also need the display, and eglGetCurrentDisplay() is not helpful at that stage due to the lack of a curren

Re: [Interest] Qt/D3D integration through ANGLE PBuffer

2015-09-24 Thread Thomas Sevaldrud
Ok, but I see that they use the existing context to get the eglDisplay and eglConfig parameters that are needed for the createPBufferSurface call: QPlatformNativeInterface *nativeInterface = QGuiApplication::platformNativeInterface(); m_eglDisplay = static_cast( nativeInterface->nativeR

Re: [Interest] Qt/D3D integration through ANGLE PBuffer

2015-09-24 Thread Agocs Laszlo
That’s most likely used only for the texture handle that gets generated in that function. Neither that nor the EGL_TEXTURE_* parameters are relevant in your case. Cheers, Laszlo From: interest-bounces+laszlo.agocs=theqtcompany@qt-project.org [mailto:interest-bounces+laszlo.agocs=theqtcompa

Re: [Interest] Qt/D3D integration through ANGLE PBuffer

2015-09-24 Thread Thomas Sevaldrud
Ah, excellent, so I just set up a QQuickWindow with the RenderControl as parent, right? Just one more question: In the QtMultimedia D3D9 example they set up a QOpenGLContext with an invisble QWindow as current context before creating the EGL Pbuffer. I suppose this is in order to get the correct

Re: [Interest] Qt/D3D integration through ANGLE PBuffer

2015-09-24 Thread Andrew Knight
Hi, On 09/24/2015 05:15 PM, Thomas Sevaldrud wrote: > This is great, thanks for very useful info! > > I'm not sure I understood Andew's part about rendering the Quick Scene > graph, or I may have been a bit unclear when describing the problem. > Basically I want to render a Qt Quick scene graph

Re: [Interest] Qt/D3D integration through ANGLE PBuffer

2015-09-24 Thread Thomas Sevaldrud
This is great, thanks for very useful info! I'm not sure I understood Andew's part about rendering the Quick Scene graph, or I may have been a bit unclear when describing the problem. Basically I want to render a Qt Quick scene graph and some custom OpenGL graphics into a Direct3D control (D3DImag

Re: [Interest] Cannot source debug Android on Qt 5.5.1 RC snapshot?

2015-09-24 Thread Edward Sutton
Thank you, that was my issue. On Sep 24, 2015, at 4:34 AM, Adrian Jäkel mailto:a...@elane2k.com>> wrote: *External Message - use caution* Most probably you run into the problems with the recent android sdk. I think there is some fix pending: https://bugreports.qt.io/browse/QTCREATORBUG-15032

Re: [Interest] Qt/D3D integration through ANGLE PBuffer

2015-09-24 Thread Andrew Knight
Hi Thomas, On 09/24/2015 03:11 PM, Thomas Sevaldrud wrote: > Hi, > > I have earlier made an implementation of Qt/D3D integration by hacking > into the ANGLE D3D SwapChain and extracting the D3DSurface directly there. > > However, this is a bit flakey, and I have had to change this code > several

Re: [Interest] Qt/D3D integration through ANGLE PBuffer

2015-09-24 Thread Agocs Laszlo
Hi, Yes, doing something like void *shareHandle; eglQuerySurfacePointerANGLE(display, surface, EGL_D3D_TEXTURE_2D_SHARE_HANDLE_ANGLE, &shareHandle) gives you a D3D share handle which can then be passed to CreateTexture or OpenSharedResource. QOffscreenSurface is not backed by an EGL pbuffe

[Interest] Qt/D3D integration through ANGLE PBuffer

2015-09-24 Thread Thomas Sevaldrud
Hi, I have earlier made an implementation of Qt/D3D integration by hacking into the ANGLE D3D SwapChain and extracting the D3DSurface directly there. However, this is a bit flakey, and I have had to change this code several times when new versions of Qt and ANGLE are released. So, now I want to

Re: [Interest] focus-follows-mouse

2015-09-24 Thread René J . V . Bertin
Thiago Macieira wrote: >> probably doesn't work only because setFocus() requires that the window be >> active (= to the front). Adding an activateWindow() before the setFocus() >> call gives FFM, but with window raising. > > Then you run into focus-stealing-prevention in window managers. You m

Re: [Interest] It is happening again.

2015-09-24 Thread william.croc...@analog.com
On 09/23/2015 04:00 PM, Thiago Macieira wrote: > On Tuesday 22 September 2015 16:09:57 Bill Crocker wrote: >> 2 - During these periods, the invalid SYN cookies number on the server >> steadily rises: >> >netstat -ts | grep SYN >> 302658 invalid SYN cookies received<--- >>

Re: [Interest] Menu in Mac

2015-09-24 Thread Rollastre Prostrit
Well, I had a strike of inspiration and decided to try something that turned out to be the reason. The dark trick to make this to work properly was not related to Qt but to OSX. And apparently, if your application is not inside a bundle directory (e.g. ./$(AppName.app)/Contents/MacOS/) then the pr

Re: [Interest] Cannot source debug Android on Qt 5.5.1 RC snapshot?

2015-09-24 Thread Adrian Jäkel
Most probably you run into the problems with the recent android sdk. I think there is some fix pending: https://bugreports.qt.io/browse/QTCREATORBUG-15032 Regards Am 23.09.2015 um 22:28 schrieb Edward Sutton: What are things to check when Android source code debugging stops working? I press

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

2015-09-24 Thread Sorvig Morten
> On 23 Sep 2015, at 15:07, Adam Light wrote: > > > Does the new code deal with actually drawing widgets containing icons > correctly depending on the resolution of the display that widget is currently > displayed on? > > For example, covering the following previous (possibly abandoned?) pat

Re: [Interest] Drawing push button

2015-09-24 Thread Igor Mironchik
Hi, After some research I found that font draws correct on my button if I don't set any graphics effects on it... But if I set: QGraphicsDropShadowEffect *eff = new QGraphicsDropShadowEffect(); eff->setBlurRadius(20); eff->setColor(QColor(100, 100, 100, 200)); eff->setOffset(0,0); setGraphicsE

[Interest] Embedding help in an application - problem with CLucene cache

2015-09-24 Thread Etienne Sandré-Chardonnal
Dear all, We are currently integrating an offline help in our windows application using QHelpEngine. The qch file is in the same folder than the executable. When testing, it works well, and CLucene writes its index cache to a subfolder of the help file folder. When deploying with an installer, CL

[Interest] Drawing push button

2015-09-24 Thread Igor Mironchik
Hi, in my app on iOS fonts looks correct enstead of on QMenuBar and on my custom button. I wrote about problem with QMenuBar before (look at my previous letter). But now I want to ask about QStylePainter. My custom button class uses following drawing code: QStylePainter p(this); QStyleOptionB

[Interest] iOS Simulator QMenuBar font.

2015-09-24 Thread Igor Mironchik
Hi, Why on iOS QMenuBar draws text so ugly? And look on the submenu... There font renders fine. Problem exists only on menu bar... Look at the screenshot. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/i

Re: [Interest] Cannot source debug Android on Qt 5.5.1 RC snapshot?

2015-09-24 Thread Denis Shienkov
You can look on https://bugreports.qt.io/browse/QTCREATORBUG-15032 BR, Denis 2015-09-23 23:28 GMT+03:00 Edward Sutton : > What are things to check when Android source code debugging stops working? > > I press debug run button then select my USB connected Android 5.1.1 device. > > > It deploys to