Re: [Interest] Write from different thread

2012-08-23 Thread Marc Mutz
the same time thread-safe means: multiple threads may call this function at the same time, even with the same input (for member functions, that includes "on the same instance"). Thanks, Marc -- Marc Mutz | Senior Software Engineer KDAB (Deutschland) GmbH & Co.KG, a KDAB Gro

Re: [Interest] Write from different thread

2012-08-23 Thread Marc Mutz
expand on this: QTcpSocket is-a QIODevice which is-a QObject, and no QObject can be protected by a mutex, since it performs implicit event handling which would be very complex to mutex-protect. -- Marc Mutz | Senior Software Engineer KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company www

Re: [Interest] memory fragmentation?

2012-08-22 Thread Marc Mutz
(The one > time I did program such a tool I even had the critical part in its own > microcontroller.) Amen! -- Marc Mutz | Senior Software Engineer KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company www.kdab.com || Germany +49-30-521325470 || Sweden (HQ) +46-563-540090 KDAB - Qt

Re: [Interest] Clarification re destructor in subclass of QWidget

2012-08-16 Thread Marc Mutz
:WA_DeleteOnClose flag on it). HTH, Marc -- Marc Mutz | Senior Software Engineer KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company www.kdab.com || Germany +49-30-521325470 || Sweden (HQ) +46-563-540090 KDAB - Qt Experts - Platform-Independent Software Solutions ___

Re: [Interest] Qt5 - my hopes for when the dust settles...

2012-08-16 Thread Marc Mutz
ross purposes, it sounds to me like you > > aren't talking about raw sockets as in SOCK_RAW. Are you simply > > talking about the ability to perform distributed IPC using signals and > > slots? > > Essentially yes. Or rather RPC since I think Qt should make it easy to &g

Re: [Interest] Qt5 - my hopes for when the dust settles...

2012-08-16 Thread Marc Mutz
support such a basic feature, and how the > conversion between QString and std::string objects manages to be > systematically broken. Anything in particular that you're missing? NB: std::string == QByteArray, std::wstring (or, in C++11, u16string) == QString. Thanks, Marc -- Mar

Re: [Interest] DBus multithreading problems with Qt 4.8

2012-03-12 Thread Marc Mutz
turn 0 on test success and 1 on failure or 125 if you can't build). Run it over the night and it will tell you next morning which commit caused the regression, if there is a regression. -- Marc Mutz | Senior Software Engineer KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company www.kda

Re: [Interest] tracing / spy++ tool for Qt

2012-02-27 Thread Marc Mutz
On Tuesday February 28 2012, Yang Fan wrote: > Gamma ? += Ray :) https://github.com/KDAB/GammaRay -- Marc Mutz | Senior Software Engineer KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company www.kdab.com || Germany +49-30-521325470 || Sweden (HQ) +46-563-540090 KDAB - Qt Experts - P

Re: [Interest] Unit testing: any best-practices tips ?

2011-12-13 Thread Marc Mutz
quot; Obviously, qmake generates multiple targets per pro file (one for each moc file, e.g.). QMAKE_EXTRA_TARGETS is a way to add "make check" or "make docs". I have never seen it used to amend 'first', the default target, and I'd consider that an abomination

Re: [Interest] Unit testing: any best-practices tips ?

2011-12-13 Thread Marc Mutz
u meant and described is more than one target per project, and yes, I agree, that's the only sane way. Whether to use .pri files to wrap sources and compile them multiple times or packing them into libraries (shared or static) and re-use them that way is then mostly a matter of taste. Thanks