Re: [Interest] QRegExp help: boundaries

2013-03-27 Thread Paul Floyd
On 27 Mar 2013, at 11:57, Sensei wrote: > On 3/27/13 11:47am, pa...@free.fr wrote: >> - Original Message - >>> You need to esc the \b. Write \\b instead. >> >> Hi >> >> There's a QRegExp tester in the Qt examples. I've always found this >> very useful for checking that the regexp is val

Re: [Interest] Debugging on Mac OS X

2013-02-23 Thread Paul Floyd
Hi Thanks for the quick reply (as ever). On 23 Feb 2013, at 18:34, Thiago Macieira wrote: > On sábado, 23 de fevereiro de 2013 18.29.31, Paul Floyd wrote: >> Hi >> >> I'm trying to build and run an app that a colleague wrote, without too much >> success. It wor

[Interest] Debugging on Mac OS X

2013-02-23 Thread Paul Floyd
Hi I'm trying to build and run an app that a colleague wrote, without too much success. It works OK on Linux (and Windows, but I'm not certain of that). I have Mac OS X 10.6.8 XCode 4.0 clang 3.2 Qt 4.8.4 built with whatever compiler it chooses by default, probably GCC 4.2 Qt 5.0.1 built with cl

Re: [Interest] Qt 5 on Mac OS X

2012-12-25 Thread Paul Floyd
On 25 Dec 2012, at 15:55, Konstantin Tokarev wrote: >> >> Not sure if building my own clang is worth the effort. > > If you want to have decent compiler, it is. There's a binary tarball on the llvm site (http://llvm.org/releases/download.html#3.2) Within my cost/benefit threshold. A+ Paul

Re: [Interest] Qt 5 on Mac OS X

2012-12-25 Thread Paul Floyd
On 25 Dec 2012, at 15:43, Thiago Macieira wrote: > On terça-feira, 25 de dezembro de 2012 15.41.27, Paul Floyd wrote: >> On 25 Dec 2012, at 15:21, Konstantin Tokarev wrote: >>> Probably your clang is too old. >> >> As it's the most recent Xcode/clang su

Re: [Interest] Qt 5 on Mac OS X

2012-12-25 Thread Paul Floyd
On 25 Dec 2012, at 15:21, Konstantin Tokarev wrote: >> > > Probably your clang is too old. As it's the most recent Xcode/clang supported on Mac OS X 10.6.8, I guess that means that it's not possible to build Qt 5.0.0 with clang on 10.6. A+ Paul __

Re: [Interest] Qt 5 on Mac OS X

2012-12-25 Thread Paul Floyd
On 25 Dec 2012, at 10:32, Philippe wrote: > configure -platform macx-clang-32 Perhaps not. /Users/paulf/qt-everywhere-opensource-src-5.0.0/qtbase/include/QtCore/../../src/corelib/global/qisenum.h:53:24: error: token is not a valid binary operator in a preprocessor subexpression #if

Re: [Interest] thanks for extra reading suggestions - sorry to insult technical writers

2012-04-12 Thread Paul Floyd
On 12 Apr 2012, at 22:46, Till Oliver Knoll wrote: > The truth is: the financial industry is dead simple compared to software > engineering: throw a little bit of primary school math like addition and > multiplication into the game, and you know how Interest Rate Swaps etc. > work. Add a littl

Re: [Interest] Using valgrind to detect threading errors in qt5 code

2012-04-10 Thread Paul Floyd
On 10 Apr 2012, at 22:28, Thiago Macieira wrote: > On terça-feira, 10 de abril de 2012 21.44.49, Paul Floyd wrote: >>> As for Qt 5, since locking and unlocking is inlined into the user code, >>> valgrind might be completely unable to work. >> >> If the code i

Re: [Interest] Using valgrind to detect threading errors in qt5 code

2012-04-10 Thread Paul Floyd
On 10 Apr 2012, at 14:56, Thiago Macieira wrote: > > That's not correct. Valgrind's helgrind had support for QMutex specifically. > Helgrind needed to know when a mutex was locked or unlocked, in order to > present its warnings. To do that, it specifically overrides the QMutex::lock > and unl