>
> And my question is just theoretical: is this approach good or such
> sleep() implementation not so good and why? I.e. will such sleep()
> release processor's time for another thread or not?
>
Using sleep() will allow the processor to work on a different thread. The
issue is that sleep() will m
On Mon, Jun 29, 2015 at 3:09 PM Jérôme Godbout wrote:
> Hi,
> I'm looking for a way to load a specific resources files (.rcc) when a
> modules or a plugins is used.
>
> Small example:
>
> Module A (qml module with qmldir that include plugin A)
> Plugin A (c++ implementation for some part of Modul
On Thu, May 14, 2015 at 6:39 AM Nuno Santos
wrote:
> Hi,
>
> Sorry if the title is not the most appropriated.
>
> I’m developing an app that will be target for iOS/Android/x86/x86_64
>
> Since this is CPU intensive application I think that I will reach a point
> were assembly and vector instructi
On Thu, Apr 30, 2015 at 3:05 PM Thiago Macieira
wrote:
> On Thursday 30 April 2015 16:01:43 Michael Jackson wrote:
> > Is there a way to get the *.pdb files for the Qt 5.4.1 that I downloaded
> > from the Qt.io website. We are crashing when we quit our app somewhere in
> > the Qt5Core and in visu
On Wed, Apr 15, 2015 at 9:36 AM André Somers wrote:
> Mathieu Slabbinck schreef op 15-4-2015 om 16:17:
> > Hi,
> >
> > I'm using Qt5 to write json objects to a file.
> > The json structure contains one array with x data elements, like:
> >
> > {
> > "datapointsarray": [
> > {
> >
On Thu, Mar 26, 2015 at 11:30 AM Jason H wrote:
> So I'm trying to use sections, and it seems that the data must be
> explicit ordered by section otherwise you get the section repeated
> whenever it changes that is to say:
> [
> { 'a':'A' 'b':'1'}
> { 'a':'B' 'b':'2'}
> { 'a':'C' 'b':'1'}
If you are trying to figure out which qmake created the Makefile your
script is using, you can try call "make qmake -n". This will give you the
qmake command that is being used including the path to qmake itself. You
can then query that qmake for the QMAKE_SPEC it is defaults to
(linux-g++-64 or
>
> Does it make sense to guarantee/enforce "sequential (exclusive) access to
> the harddisk" on application level, or would I re-invent functionality
> already present in the underlying OS/disk driver (and maybe even sacrifice
> performance)?
>
It depends on the task at hand. If you know you are
On Thu Jan 15 2015 at 12:33:59 AM Hamish Moffatt
wrote:
> I'm trying to port our app from Qt 4.8 to 5.4. Currently working in MSVC
> 2013, and using the pre-built Qt binaries for that environment.
>
> We have about 440 files being MOCed during build. On 5.4, each file is
> taking 2-3 seconds mean
>
> Can something further be done to avoid flickering?
>
> If you are just translating the item by changing the X value, try using
the XAnimator (http://doc.qt.io/qt-5/qml-qtquick-xanimator.html). It
performs the movement on the render thread instead of the gui thread. I
have experienced big perf
>
>
> >I added a couple lines of code to an app and suddenly it started
> >chewing through memory at an unbelievable rate. I watched it
> >get up to 12 GB at which point it hit my virtual memory limit ...
> >
> > One of the added lines was:
> >
> >const CultureItem& it = culture.it
>
> QList can return a const & with the [] operator [1]. The documantation
> even says it's the same as .at().
>
> [1] http://doc.qt.io/qt-5/qlist.html#operator-5b-5d-2
>
> That is true if the QList is const when calling the function. If it is
not, the other operator [1] documentation describes th
I know that gcc 4.4 is also available for CentOS 5.8 through yum. Could
you update to this version? It still fulfills the requirement of being
shipped with the OS.
On Wed, Oct 29, 2014 at 12:22 PM, Scott Aron Bloom <
scott.bl...@onshorecs.com> wrote:
> fontdatabases/fontconfig/qtfontconfigdata
On Thu, Oct 2, 2014 at 1:11 PM, Till Oliver Knoll <
till.oliver.kn...@gmail.com> wrote:
> Hi,
>
> This might be silly, but "qmake / Qt 5.3.2 stopped working for me" on OS
> X 10.9.5 with latest Xcode 6.0.1 (the later was updated a couple of days
> ago, IIRC).
>
> Whenever I try to run qmake on a c
On Tue, Jul 8, 2014 at 12:48 PM, Till Oliver Knoll <
till.oliver.kn...@gmail.com> wrote:
> Am 08.07.2014 um 19:24 schrieb Duane :
>
> > I have an application built with VS 2012 (with the tool chain XP
> > support) using Qt 5.3. It runs fine on Windows 7 and 8.
> >
> > When I try to run it on a bo
>
> I have one question to you. Why new syntax of QObject::connect() improve
> performance for a 5%.
>
> I mean that if in code change
>
> connect( sender, SIGNAL( signal() ), receiver, SLOT( slot() ) );
>
> to
>
> connect( sender, &Sender::signal, receiver, &Receiver::slot );
>
> then code works f
On Saturday, April 26, 2014, Cornelius Hald wrote:
> Hi,
>
> I'm looking for a way to define an animation on PathView that should run
> without user interaction.
>
> Setting the 'currentIndex' property gives a rather boring animation that
> simply accelerates, decelerates and stops at the selecte
You need to make a capture group by putting () around the expected text.
Once you do that, you will get a list of size 1 from capturedTexts.
QRegularExpression expression("^([cfmt]_\\d\\d\\d\\d\\d\\d\\.rcd)$");
On Fri, Apr 4, 2014 at 9:50 AM, sarah jones wrote:
> Ok this is getting weird
> I
>
> QMetaType::metaObjectForType is not documented.
>
> http://qt-project.org/doc/qt-5/qmetatype.html#metaObjectForType
It was introduced in Qt 5.0.
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
If you register the class with QMetaType with Q_DECLARE_METATYPE(Class*),
you can then call QMetaType::type("Class"). With the returned int, you can
then call QMetaType::metaObjectForType(integer). I think this is what you
are looking for.
class Foo : public QObject
{
...
};
Q_DECLARE_METATY
> Besides, I still need to know how much memory is left available for my
> app, that is running stats on large amounts of real time data. So that
> I could run stats on as large a sample as possible on a given target
> machine.
Is your application a 32-bit app? Under Windows, applications are
re
21 matches
Mail list logo