Re: [Interest] Assert in QCamera on winrt tablet

2016-06-20 Thread Maurice Kalinowski
Hi, First of all we need to know which version of Qt you are using? I have been doing quite a lot of update on the camera recently, with most (but not all) changes being in 5.6.1. Some are in 5.6.2 and will be available in 5.7.1 as well, hence the question. BR, Maurice > -Original Messag

Re: [Interest] Handling zooming in QtCharts

2016-06-20 Thread Lorne Sturtevant
I was able to find a way to zoom centred on the mouse. What I did was make use of the QChart::plotArea() function. With that function by using ChartView::wheelEvent(), I could get where in the chart the zoom is happening. I then did some math and set the new zoom for the chart by adjusting the r

Re: [Interest] Handling zooming in QtCharts

2016-06-20 Thread Lorne Sturtevant
On 06/20/2016 08:44 PM, Vincent Hui wrote: > Did you try Examples/Qt-5.7/qtcharts/charts/zoomlinechart ? > Yes I did. That example uses the default zoom which is always in the centre of the chart. -- Lorne Sturtevant Sum Ergo Cogito ___ Interest maili

Re: [Interest] linux 64 5.7.0 WebEngine segfault

2016-06-20 Thread Kevin Mcintyre
Kai - The segfault was due to trying to implement QWebEngineUrlRequestInterceptor and set page().profile().setRequestInterceptor -- I haven't seen any working examples...so I'm just assuming I messed something up. Once I commented out this assignment everything worked smoothly. On Mon, Jun 20,

Re: [Interest] universal builds on OS X

2016-06-20 Thread Hamish Moffatt
On 19/06/16 04:24, René J.V. Bertin wrote: Hi, I've ran into a question about building universal binaries on OS X. I know that Qt5 itself cannot be built the straightforward way but requires post-build "lipo'ing". But what about "client" applications? Some quick testing with tweaking of the ge

Re: [Interest] [Qt3D] Custom texture loader and material shaders

2016-06-20 Thread Xavier Bigand
I am trying to check the material sample, but when launching the program with gDebugger it can't be initialized with opengl render, always DX or the software emulation (when I am trying to force the application attributs). Is there CMAKE files to build samples with Visual Studio? 2016-06-20 22:55

Re: [Interest] [qt3d] Few questions about shader management with custom materials

2016-06-20 Thread Xavier Bigand
Thank you, it's super nice. Does qt3d cache the compilation of shaders between two executions of the application? 2016-06-20 22:54 GMT+02:00 Sean Harmer : > Hi, > > On 20/06/2016 17:17, Xavier Bigand wrote: > > Hi, > > I am planning to use our custom materials with Qt3D, because will already > h

[Interest] Handling zooming in QtCharts

2016-06-20 Thread Lorne Sturtevant
I have been using QtCharts and so far it's going ok. I can create basic charts without problems. I am noticing some holes in the API which I imagine is just due to the fact that it's new. One big problem I'm having is with zooming. The functions QChart::zoomIn() and QChart::zoomOut() only allow

Re: [Interest] [Qt3D] Custom texture loader and material shaders

2016-06-20 Thread Sean Harmer
The textures should be cached in a similar way to the shaders. If they are not in your case, it's a bug. Please file a test case. Cheers, Sean On 20/06/2016 16:37, Xavier Bigand wrote: I just put a QHash table to return the previous generated Qt3DRender::QTextureImageDataPtr, but it doesn't

Re: [Interest] [qt3d] Few questions about shader management with custom materials

2016-06-20 Thread Sean Harmer
Hi, On 20/06/2016 17:17, Xavier Bigand wrote: Hi, I am planning to use our custom materials with Qt3D, because will already have an uber shader for the lighting and shadowing of objects. I think that I'll create one material called LightingMaterial that can change the shader's sources depend

[Interest] [qt3d] Few questions about shader management with custom materials

2016-06-20 Thread Xavier Bigand
Hi, I am planning to use our custom materials with Qt3D, because will already have an uber shader for the lighting and shadowing of objects. I think that I'll create one material called LightingMaterial that can change the shader's sources depending of his properties, but in this case it seems tha

Re: [Interest] [Qt3D] Custom texture loader and material shaders

2016-06-20 Thread Xavier Bigand
I just put a QHash table to return the previous generated Qt3DRender::QTextureImageDataPtr, but it doesn't work. Need I fill a bug for this? 2016-06-20 17:15 GMT+02:00 Xavier Bigand : > I took a look with nsight and it appears that my textures are currently > loaded many times, certainly one for

Re: [Interest] [Qt3D] Custom texture loader and material shaders

2016-06-20 Thread Xavier Bigand
I took a look with nsight and it appears that my textures are currently loaded many times, certainly one for each object instance. Need I manage textures resources my self? 2016-06-02 20:39 GMT+02:00 Xavier Bigand : > I forgot to precise that mipmaps are already generated in our file format >

[Interest] Assert in QCamera on winrt tablet

2016-06-20 Thread Rogerio Nicolau
Hello all I am getting the following assert when I call QCamera::start() ASSERT failure in bool __thiscall QWinRTCameraControl::setFocus(class QFlags): "The application called an interface that was marshalled for a different thread.", file qwinrtcameracontrol.cpp, line 1163 This is happenin

[Interest] Qt 5.7 glGetError returns GL_INVALID_OPERATION in QSGGeometryNode::preprocess

2016-06-20 Thread Roberto Garrido
Hi! We have just updated our Qt app (using a custom QQuickItem to render our OpenGL scene via QSGGeometryNode::preprocess) to use Qt 5.7. Calling glGetError the first thing in QSGGeometryNode::preprocess returns a GL_INVALID_OPERATION GL error. Any idea on why could be happening? Thanks in advanc

Re: [Interest] Routing all QML file requests through a custom resource provider

2016-06-20 Thread Jason H
Maybe an odd hack would be to use the Qt translation system? Or, an interferface that used QT_DEBUG define to look in debug locations. I would think that if not compiled in, Qt would already default to the file system?     Sent: Friday, June 17, 2016 at 2:32 PM From: "Xavier Bigand" To: "Jason

Re: [Interest] linux 64 5.7.0 WebEngine segfault

2016-06-20 Thread Kai Koehne
Hi Kevin > -Ursprüngliche Nachricht- > Von: Interest [mailto:interest-bounces+kai.koehne=qt...@qt-project.org] > Im Auftrag von Kevin Mcintyre > Gesendet: Freitag, 17. Juni 2016 18:23 > An: interest@qt-project.org > Betreff: [Interest] linux 64 5.7.0 WebEngine segfault > > When starting w

Re: [Interest] universal builds on OS X

2016-06-20 Thread René J . V . Bertin
Thiago Macieira wrote: > We had deprecated that feature but brought it back with the iOS support and > for the other Apple OSes (simulators, etc.). > > So it probably works, if you lipo the Qt frameworks first. Oh, that's good to know! Do you happen to know how to activate the feature in qmake

Re: [Interest] Routing all QML file requests through a custom resource provider

2016-06-20 Thread Michael Sué
Hi, > What does adding a qrc file to RESOURCES actually do (besides triggering > resource compiler)? I'm looking for an understanding here. Files like "relativ/path/to/qrc/file/image.png" in, say, "main.qrc“ will appear in a file "qrc_main.cpp" in binary form. Please find it in your build-tree

[Interest] preserving Assistant settings

2016-06-20 Thread René J . V . Bertin
Hi, Am I the only one who actually uses the Assistant for perusing documentation (Qt, KDE and cmake in my case)? I'd love to know if there's a way to not lose all my settings (non-Qt related documentation and custom fonts) each time I update Qt ... R __

Re: [Interest] QUndoStack

2016-06-20 Thread Michael Sué
Hi, you can derive your own UndoCommand class from QUndoCommand. There overwrite the virtual functions undo and redo so as to not run the commands during the push (i.e. the first time they get called). - Michael. ___ Interest mailing list Interest@q