[Interest] Getting current OpenGL state with QtQuick

2014-03-07 Thread Preet
Hi, I'm doing some manual OpenGL rendering with a custom QQuickItem (more or less rendering to FBO as outlined in the docs). I want to make sure I restore OpenGL state to how it was when Qt hands it off after my QQuickItem does its custom rendering. However, calling on OpenGL for all a bunch of st

[Interest] Adding 2D graphics to video app

2014-03-07 Thread Jeff Lancaster
I am using the example Qt4.7 qmediaplayer as a spring board to start my project. The bottom line is that I want a PC app (C++) to play live video (IP camera which works with qmediaplayer/Phonon) with very simple 2D rectangle graphics as an overlay. Any recommendations on approach, or howtos, or

Re: [Interest] Problem Using Directory Import for QML Files

2014-03-07 Thread Sean Harmer
On 07/03/2014 03:13, Eric Feigenson wrote: Greetings list... I've also posted this question here: http://qt-project.org/forums/viewthread/39195/ I'm using Qt Creator 3.1.81 based on Qt 5.2.2 (Mac) with QtQuick 2.1 I'm trying to use a user-defined object type: |import "../WeightPlateQtQ"| (

Re: [Interest] heightForWidth

2014-03-07 Thread Jason H
Whenever you need a heightForWidth(), you're doing it wrong. Now, I've thought I needed the same thing, but you only need that when you're trying to maintain an aspect ratio. It is very simple to write your own QWidget subclass, but realize you don't want to really modify the height, you just wa

Re: [Interest] Cross platform Web services server

2014-03-07 Thread Jason H
I've written several http[s] servers in Qt. You can have a look at the very simple qmlwebmodelserver at https://github.com/jhihn/qmlwebmodelserver It's quick, dirty, but done right. It's not as nice as inheriting from a class, but it is pretty easy. It does not use SSL yet, but the changes from

Re: [Interest] Accellerated WebGL in Qt/WebKit?

2014-03-07 Thread Allan Sandfeld Jensen
On Friday 07 March 2014, you wrote: > Hi Allan, > > > On Saturday 01 March 2014, Jori Liesenborgs wrote: > >> Hi everyone, > >> > >> I was wondering if someone knows how to avoid copying the view from a > >> WebGL component to the CPU each time. On [1] it says to use a > >> QGraphicsWebView with

Re: [Interest] Accellerated WebGL in Qt/WebKit?

2014-03-07 Thread Jori Liesenborgs
Hi Allan, > On Saturday 01 March 2014, Jori Liesenborgs wrote: >> Hi everyone, >> >> I was wondering if someone knows how to avoid copying the view from a >> WebGL component to the CPU each time. On [1] it says to use a >> QGraphicsWebView with a QGLWidget viewport, but if I try this the result >

Re: [Interest] heightForWidth

2014-03-07 Thread John Weeks
Well, I see your point- why should the window necessarily be the same shape as the graph when the graph is constrained to a particular dimensional relationship. But both Macintosh and Windows provide ways to constrain a window's dimensions while the user is dragging the window to a new size. In

Re: [Interest] Accellerated WebGL in Qt/WebKit?

2014-03-07 Thread Allan Sandfeld Jensen
On Saturday 01 March 2014, Jori Liesenborgs wrote: > Hi everyone, > > I was wondering if someone knows how to avoid copying the view from a > WebGL component to the CPU each time. On [1] it says to use a > QGraphicsWebView with a QGLWidget viewport, but if I try this the result > seems to be even

Re: [Interest] QDialog + DialogCode

2014-03-07 Thread Graham Labdon
Hi My bad inclusion error -Original Message- From: interest-bounces+graham.labdon=avalonsciences@qt-project.org [mailto:interest-bounces+graham.labdon=avalonsciences@qt-project.org] On Behalf Of Graham Labdon Sent: 07 March 2014 14:43 To: Interest@qt-project.org Subject: [Intere

[Interest] QDialog + DialogCode

2014-03-07 Thread Graham Labdon
Hi I have just started to use Qt 5.2.1 and have run into a problem with this code - MyDialog d; if (d.exec() == QDialog::Accepted) { } This is because in QDialog the DialogCode enum has been made private Does anyone know if this was intentional or a bug? If it was intentional how is the return

Re: [Interest] llvm thread sanitizer and qmutex

2014-03-07 Thread Firl, Benjamin
Thanks for your responses. So it seems our only option is to (automatically) replace every mutex with boost::mutex for debugging. I will also post the bug regarding global objects to LLVM. -Original Message- From: interest-bounces+benjamin.firl=wincor-nixdorf@qt-project.org [mailto

[Interest] [OT] Re: QML/declarative languages and E-Prime?

2014-03-07 Thread Till Oliver Knoll
Am 07.03.2014 um 08:41 schrieb Phil Weinstein : > Does anyone know how the declarative nature of QML can be described in > E-Prime? (English without the verb, "to be"). "Nothing to declare!" Well, "to be or not to be" is a similar question, too... ;) Happy week-end, all! Oliver ___

[Interest] Adding 10-bit OpenGL support in QML

2014-03-07 Thread McLin, Matthew
Hello, I am trying to render a 10-bit image from an OpenGL fragment shader attached to a QQuickItem in a simple QML scene. My gfx driver & display support 10-bit, and I know this already works if I create a standalone QGLWidget with a 10-bit format. To get this working in QML, I have tried se

Re: [Interest] heightForWidth

2014-03-07 Thread Bo Thorsen
Den 07-03-2014 01:59, John Weeks skrev: > I have a need for windows that maintain a set aspect ratio, so I implemented > heightForWidth(). Since I'm still exploring, I made it very simple (this > function is called by a wrapper class that actually implements > heightForWidth()): > > int grafRe