QGLFormat exposes a swapInterval property which can be used to enable vertical
synchronization (v-sync) to avoid screen tearing.Why does QSurfaceFormat not
expose this property? Currently, there is no direct way to enable v-sync with
QWindow, while QGLWidget did not have this problem.What is the
I have the following class hierarchy:Base (Q_OBJECT) -> IntermediateTemplate ->
Derived (Q_OBJECT, not templated)The base class exposes some properties that
are used by derived. Both the Base and the Derived are exposed to QML, but only
Derived is creatable.The template exists to reduce boilerpl
> Den 16-08-2013 11:34, Peter Koek skrev:
> > Suppose that I have objects deriving from QObject and want to control
> > their dynamic allocations for performance reasons. I would overload
> > operator new to allocate them, for example, into a pool. None of this is
> >
Suppose that I have objects deriving from QObject and want to control their
dynamic allocations for performance reasons. I would overload operator new to
allocate them, for example, into a pool. None of this is implemented in any way
yet.The objects themselves would now be allocated in the pool.
As explained on stackoverflow
(http://stackoverflow.com/questions/15535694/how-to-create-custom-basic-type-in-qml),
creating user defined QML basic types is not currently supported, but can be
done through private parts of Qt Quick.
I feel this is a limitation as I want to be able to define my o