Re: [Interest] QML Action source

2013-09-14 Thread Daiwei Li
Hi Gabriel, Thanks for the idea, that is indeed much more general than what I proposed. I'll give it a try and submit a patch if everything goes well. Daiwei On Fri, Sep 13, 2013 at 2:38 AM, deDietrich Gabriel < gabriel.dedietr...@digia.com> wrote: > Hi Daiwei, > > On Sep 11, 2013, at 1:45 AM,

Re: [Interest] It's time again to play Find-That-Bug

2013-09-14 Thread william.croc...@analog.com
> > Can you find it? > > QString > MakeDigest( QStringList list ) { > QCryptographicHash ch(QCryptographicHash::Md5); > foreach( QString s, list ) > ch.addData( s.toAscii() ); > return ch.result(); > } > Yes. The problem is in the conve

Re: [Interest] [linux] QtCore behaviour w/o system init

2013-09-14 Thread Jason H
I come from the embedded space as well, and although I don't have that 1s requirement, I would try it as obly a slightly modified boot image. My laptop (AMD A6) boots full Mint linux in 3-4s with a SSD. When booting linux for your application, the real lag is the ram speed. But you didn't mentio

[Interest] [linux] QtCore behaviour w/o system init

2013-09-14 Thread Christian Gagneraud
Hi there, For an embedded project I'm working on, we have a need to allow the end user to control/monitor a subset of the product as fast as possible after power on (ideally less than 1s). To do this task, the first idea that came in was to use a dedicated micro-controller to do this job (can b

Re: [Interest] how render a qgraphicsscene to svg and paste it to the clipboard

2013-09-14 Thread Constantin Makshin
Use a QByteArray as the output device for QSvgGenerator and copy it to the clipboard using QClipboard::setMimeData(). On 09/14/2013 10:12 AM, helfertho...@free.fr wrote: > Hi, > > I am using the qgraphicsview/qgraphicscene framework. I am able to write file > from the drawn scene to multiple fil

Re: [Interest] how render a qgraphicsscene to svg and paste it to the clipboard [SOLVED]

2013-09-14 Thread helferthomas
I found a working solution. I hope this can help someone else. QBuffer b; QSvgGenerator p; p.setOutputDevice(&b); p.setSize(QSize(800,600)); p.setViewBox(QRect(0,0,800,600)); QPainter painter; painter.begin(&p); painter.setRenderHint(QPainter::Anti