Hi
I have been reading about QtThread and there seems to be a lot of discussion
about how to correctly use this class. i.e. should developers derive from
QtThread or provide an QObject and move this object to a thread.
The examples provided with Qt5 derive from QtThread whereas there is a lot of
Hi,
As Andrey pointed out, there is not a single way. But if you want to use a
QThread for running QObjects with its event loop, the most simple way is
not to subclass, and moveToThread.
This is well explained here:
http://blog.qt.digia.com/blog/2010/06/17/youre-doing-it-wrong/
2014/1/10 Alejandro Exojo aex...@modpow.es:
In Qt 5.2 I see Q_DECLARE_ASSOCIATIVE_CONTAINER_METATYPE, where it
even clarifies that all of the Qt associative containers already have
built-in support and that if the key/value are already supported,
QVariant should store everything. However, I'm
-Original Message-
From: interest-bounces+kai.koehne=digia@qt-project.org
[mailto:interest-bounces+kai.koehne=digia@qt-project.org] On Behalf Of
Ben Lau
Sent: Sunday, January 12, 2014 5:53 PM
To: interest@qt-project.org
Subject: [Interest] [Android] Profiling QML
Hi all,
I've been looking at the Scene Graph - Graph example application included
with Qt5.2.0, to see how to create a custom shader material for Qt Quick.
In linenode.cpp, there is a LineShader class, where the shaders are read
like so:
const char *vertexShader() const {
QResource
On 07.01.14 05:51, ??? ??? wrote:
Hello.
Does anyone have a Qt laptop stickers? Can you sell me some?
Best regards,
Nick
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
Hmm,
I think
hi all,
trying to use a QQuickView from a plugin context (from a
QMacNativeWidget), i'm sometimes having problems that the initial
rendering is not performed. unfortunately this seems to depend on the
plugin host.
trying to debug this issue by tracing the signals, i've found out the
following:
On 13 January 2014 18:26, Etienne Sandré-Chardonnal
etienne.san...@m4x.org wrote:
Hi,
As Andrey pointed out, there is not a single way. But if you want to use a
QThread for running QObjects with its event loop, the most simple way is not
to subclass, and moveToThread.
This is well explained
On 1/13/2014 6:57 AM, Juergen Bocklage-Ryannel wrote:
On 07.01.14 05:51, ??? ??? wrote:
Hello.
Does anyone have a Qt laptop stickers? Can you sell me some?
Best regards,
Nick
___
Interest mailing list
Interest@qt-project.org
Thanks for the link!
You are right, in fact only the moveToThread(this) approach should be
really avoided.
2014/1/13 Sze Howe Koh szehowe@gmail.com
To balance things out, here's a direct response to Etienne's first
link: http://woboq.com/blog/qthread-you-were-not-doing-so-wrong.html
On segunda-feira, 13 de janeiro de 2014 11:35:12, Chaser wrote:
Derive from QThread and moveToThread() are two correctly use-case of
QThread.
Just to be clear: those are two correct use-cases but they can't be used at
the same time.
Option 1: derive from QThread (and override run(), writing
Presence and level of resource compression depends on command line
parameters passed to the resource compiler. IIRC compression is disabled by
default so all resources are stored as is unless you explicitly tell the
resource compiler to compress them and correct way of retrieving resource
data
On 13 January 2014 13:25, Ola Røer Thorsen o...@silentwings.no wrote:
In the documentation for QResource, it says that the data returned by r.data
may be compressed. So is this way of reading the shader source code safe at
all times? Shouldn't it check with r.isCompressed and if so,
Hi,
has someone a example on how play a audio file with IOS? I have setter QTPLUGIN
in the pro, but in the qml when i start the Multimedia player i have mute and
no message error.
Suggest?
Nicola
___
Interest mailing list
After some investigation of QtActivityDelegate.java and the log file,
I think the problem is:
pong file
/data/local/tmp/qt/debug-pong-org.qtproject.example.testAndroid was not
created before time out. I also checked the file system in
userdata-qemu.img of the android virtual device and
15 matches
Mail list logo