[Interest] Displaying First video frame (android)

2016-03-25 Thread Jason H
I have an app that on OSX, I can play() and pause() back-to-back to get the first frame on screen. On android this doesn't seem to work, it stays black (black background rect). Is there a way I can ensure the first videoframe is presented? ___ Interes

Re: [Interest] Canvas keeping artifacts

2016-03-25 Thread Jason H
> Sent: Friday, March 25, 2016 at 5:14 AM > From: "Nikita Krupenko" > To: interest@qt-project.org > Subject: Re: [Interest] Canvas keeping artifacts > > 2016-03-24 15:49 GMT+02:00 Jason H : > > By the way, reset() is not a W3C function, and it's also not in the QML > > Canvas documentation. > >

Re: [Interest] Freetype and color fonts

2016-03-25 Thread Allan Sandfeld Jensen
On Friday 25 March 2016, Illogica Studio wrote: > bump > > Maybe I'm saying something incredibly stupid here? Please feel free to let > me know! > I don't think the Qt freetype backend have had color font support added yet. Qt itself does have it, since it was implemented for the Cocoa backend,

Re: [Interest] Freetype and color fonts

2016-03-25 Thread Illogica Studio
Hey, thanks for your reply. I'm using Qt5.6. I create a small QtQuick project, in a subfolder font/ I put a bunch of fonts from Google downloaded from https://www.google.com/get/noto/ This is my source file: import QtQuick 2.6 import QtQuick.Window 2.2 Window { visible: true height: 4

Re: [Interest] Freetype and color fonts

2016-03-25 Thread Robert Buchinger
On Friday, March 25, 2016 1:45:30 PM CET Illogica Studio wrote: > bump > > Maybe I'm saying something incredibly stupid here? Please feel free to let > me know! > > 2016-03-22 8:17 GMT+01:00 Illogica Studio : > > Hi all, > > > > > > I've been trying to use Google color emoji font > > https://ww

Re: [Interest] Freetype and color fonts

2016-03-25 Thread Illogica Studio
bump Maybe I'm saying something incredibly stupid here? Please feel free to let me know! 2016-03-22 8:17 GMT+01:00 Illogica Studio : > Hi all, > > > I've been trying to use Google color emoji font > https://www.google.com/get/noto/#emoji-qaae-color with no luck. > When I try to load the font usi

Re: [Interest] Very large QRC file

2016-03-25 Thread André Pönitz
On Wed, Mar 23, 2016 at 09:49:41PM +, Scott Aron Bloom wrote: > > > > CONFIG += resources_big > > > Nice. Since 5.4. Never knew. "Just works". Thanks! > > > What does this flag do? It replaces the creation of a big .cpp with a char[] containing the data by two passes, first creat

Re: [Interest] Structuring of QML app as set of interlinked screens for maximum code reuse

2016-03-25 Thread Nikita Krupenko
2016-03-22 21:13 GMT+02:00 Elvis Stansvik : > But this will only allow me to redefine properties, and add new child > items. How would I then be able to define both which content goes in > the main area (the content Rectangle in the "base" item) and in the > two navigation bars (topBar and bottomBa

Re: [Interest] [Qt 3D] Using an orthographic projection

2016-03-25 Thread Adrián Chaves Fernández
2016-03-25 9:32 GMT+01:00 Sean Harmer : > The camera lens just constructs the view volume. In this case a cuboid from > -10 to +10 in x and y but your near plane and far plane values look strange > (2.0f and -1.0f). Try setting these to something like 0.01 and 20.0 to give > you a viewing volume th

Re: [Interest] Canvas keeping artifacts

2016-03-25 Thread Nikita Krupenko
2016-03-24 15:49 GMT+02:00 Jason H : > By the way, reset() is not a W3C function, and it's also not in the QML > Canvas documentation. > > I'm wondering how you found it? In fact, it is in the doc: https://doc.qt.io/qt-5/qml-qtquick-context2d.html#reset-method _

Re: [Interest] [Qt 3D] Using an orthographic projection

2016-03-25 Thread Sean Harmer
On Friday 25 March 2016 08:06:36 Adrián Chaves Fernández wrote: > I am working on a game engine with a top-down view where X represents > North-South, Y represents West-East, and Z is the height (so, Y and Z are > switched, regarding the OpenGL standard). > > So far I have been successfully using

Re: [Interest] [Qtwebengine] Inject QWebChannel and/or JQuery into QWebEnginePage

2016-03-25 Thread NoRulez
Thank you very much, now it is working as expected. Best Regards > Am 21.03.2016 um 15:48 schrieb Aleksey Yermakov : > > Hi, > > You don't have to inject QWebChannel.js every time if you use > QWebEngineScriptCollection in your QWebEngineProfile. Here is a sample code > from my project: > >

[Interest] [Qt 3D] Using an orthographic projection

2016-03-25 Thread Adrián Chaves Fernández
I am working on a game engine with a top-down view where X represents North-South, Y represents West-East, and Z is the height (so, Y and Z are switched, regarding the OpenGL standard). So far I have been successfully using a perspective projection (with some help