Re: [Development] Qt5 Alpha - show FPS

2012-06-22 Thread kai.koehne
The QML Profiler in recent Qt Creator (2.6/master? Not sure about 2.5) show the rate in which animations are drawn (topmost pane). It also shows how many animations have been running in the frame ... Regards Kai From: development-bounces+kai.koehne=nok

Re: [Development] Code of conduct.

2012-06-22 Thread alex.bravo
> Another answer is simple but personally difficult to implement: > > Don't feed the trolls. I personally like the solution proposed here: http://rationalwiki.org/wiki/Don't_feed_the_Troll Because the troll feeds on having its name mentioned or by generating debate or

Re: [Development] "Native event" filter

2012-06-22 Thread David Faure
On Friday 22 June 2012 10:14:22 Thiago Macieira wrote: > On sexta-feira, 22 de junho de 2012 10.07.54, David Faure wrote: > > QWindow and QWidget have a virtual method nativeEvent(), but this only > > works for window-specific or widget-specific event handling. > > > > Looking at the KDE code, I s

Re: [Development] Container refactor update

2012-06-22 Thread Thiago Macieira
On sexta-feira, 22 de junho de 2012 15.23.42, Giuseppe D'Angelo wrote: > On 21 June 2012 09:14, Thiago Macieira wrote: > > Yes and no. > > > > sizeof(T) <= 32 && T is movable > > I was wondering if this can lead to subtle bugs if people are relying > on the fact that with sizeof(Foo) > sizeof(void

Re: [Development] Container refactor update

2012-06-22 Thread Giuseppe D'Angelo
On 21 June 2012 09:14, Thiago Macieira wrote: > > Yes and no. > > sizeof(T) <= 32 && T is movable I was wondering if this can lead to subtle bugs if people are relying on the fact that with sizeof(Foo) > sizeof(void*) then Foo &f = list[n]; modify(list); // without touching f, f.i. insert at

Re: [Development] App name in window title

2012-06-22 Thread David Faure
On Thursday 21 June 2012 23:41:12 Mark wrote: > So: it's only being set afaict when setWindowTitle from QWidget is > called otherwise it's the executable name minus extension. Thanks. Found that code in qwidget_win.cpp in Qt4. That's just fallback to avoid empty titles though, it doesn't touch ti

Re: [Development] Qt5 Alpha - show FPS

2012-06-22 Thread e8johan
I've used the swaplogger tool measure fps of Qt 5 applications. Works well. http://gitorious.org/swaplogger Johan Thelin On 2012-06-22 13:38 dietrich.gos...@conti-engineering.com wrote: Hi, In Qt 4.8 it's possible to get the FPS by exporting QML_SHOW_FRAMERATE=1. In Qt 5 Alpha this is no long

Re: [Development] QtCS: Qt Embedded

2012-06-22 Thread Romain Pokrzywka
On Friday, June 22, 2012 02:09:25 AM Donald Carr wrote: > w00t > > On Fri, Jun 22, 2012 at 1:32 AM, Romain Pokrzywka > > wrote: > > Some comments on the notes in the wiki: > > > > * eglfs now depends on evdev. Future task is to make it compile when evdev > > is absent but we are yet to see such

Re: [Development] Notes from the QtCore session qt QtCS

2012-06-22 Thread Atlant Schmidt
For those of us who couldn't be there, "Thanks!" to everyone who is providing notes from the Contributor Summit! Atlant -Original Message- From: development-bounces+aschmidt=dekaresearch@qt-project.org [mailto:development-bounces+aschmidt=dekaresearc

[Development] Notes from the QtCore session qt QtCS

2012-06-22 Thread Thiago Macieira
-- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center Intel Sweden AB - Registration Number: 556189-6027 Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden --+ QtCore * Goals for container rewrite * Make faster * E

Re: [Development] Code of conduct.

2012-06-22 Thread Atlant Schmidt
Alexis: > I hate to point fingers but reading this made me sad : > > http://labs.qt.nokia.com/2012/06/18/qt-5-accessibility-apis/#comments That's actually an excellent example of how/why electronic discussions often go sour. The basic algorithm is: 1. Begin discussion about something mea

[Development] Qt5 Alpha - show FPS

2012-06-22 Thread Dietrich . Gossen
Hi, In Qt 4.8 it's possible to get the FPS by exporting QML_SHOW_FRAMERATE=1. In Qt 5 Alpha this is no longer an options, since it doesn't show any output. How is it possible, to show the FPS in Qt5 Alpha? Best regards Dietrich___ Development mailing

Re: [Development] Code of conduct.

2012-06-22 Thread d3fault
On Fri, Jun 22, 2012 at 3:29 AM, Alexis Menard wrote: > On Fri, Jun 22, 2012 at 4:53 AM, wrote: > > Right. I must admit i can't see which specific incident which triggered > this thread now, i believe the community has behaved good lately. But i > agree that a general code of conduct for all our

Re: [Development] Code of conduct.

2012-06-22 Thread Alexis Menard
On Fri, Jun 22, 2012 at 4:53 AM, wrote: > Right. I must admit i can't see which specific incident which triggered this > thread now, i believe the community has behaved good lately. But i agree that > a general code of conduct for all our forums (mails, IRC, reviews, > bugreports, etc) I hate

Re: [Development] Code of conduct.

2012-06-22 Thread d3fault
On Thu, Jun 21, 2012 at 12:30 PM, André Pönitz < andre.poen...@mathematik.tu-chemnitz.de> wrote: > I don't think the current level of what might be considered offensive > wording in parts of the world is unbearable, and I don't really think > spending time on finding consensus on such issues is sp

[Development] qt 4/5 co-installs

2012-06-22 Thread Jonathan Riddell
Looking at Qt 5 for packaging in Ubuntu. Qt 4 and 5 contain quite a lot of files with the same names, at the Ubuntu Developer Summit in April we discussed the issue of bin/moc qmake etc but I see all the libraries have the same name too so probably development environments just can't be co-install

Re: [Development] QtCS: Qt Embedded

2012-06-22 Thread Donald Carr
w00t On Fri, Jun 22, 2012 at 1:32 AM, Romain Pokrzywka wrote: > Some comments on the notes in the wiki: > > * eglfs now depends on evdev. Future task is to make it compile when evdev is > absent but we are yet to see such a device (qnx?) > > Yes, we have that exact issue with Qt5 builds for QNX o

Re: [Development] QtCS: Qt Embedded

2012-06-22 Thread Donald Carr
On Fri, Jun 22, 2012 at 1:46 AM, Laszlo Papp wrote: > On Fri, Jun 22, 2012 at 6:45 AM, Girish Ramakrishnan > wrote: >> Hi, >> For those who were unable to attend, I have posted notes on >> http://qt-project.org/groups/qt-contributors-summit-2012/wiki/Qt-in-Embedded. > > Great! I have few comments

Re: [Development] QtCS: Qt Embedded

2012-06-22 Thread Laszlo Papp
On Fri, Jun 22, 2012 at 6:45 AM, Girish Ramakrishnan wrote: > Hi, > For those who were unable to attend, I have posted notes on > http://qt-project.org/groups/qt-contributors-summit-2012/wiki/Qt-in-Embedded. Great! I have few comments from my side: 1) Please do not forget the QtSerialPort projec

Re: [Development] QtCS: Qt Embedded

2012-06-22 Thread Romain Pokrzywka
Some comments on the notes in the wiki: * eglfs now depends on evdev. Future task is to make it compile when evdev is absent but we are yet to see such a device (qnx?) Yes, we have that exact issue with Qt5 builds for QNX on BeagleBoard. Currently we disable eglfs and use another platform plugi

Re: [Development] "Native event" filter

2012-06-22 Thread Thiago Macieira
On sexta-feira, 22 de junho de 2012 10.07.54, David Faure wrote: > QWindow and QWidget have a virtual method nativeEvent(), but this only works > for window-specific or widget-specific event handling. > > Looking at the KDE code, I see a rather wide usage of process-level handling > of native event

Re: [Development] templates as QObjects

2012-06-22 Thread Olivier Goffart
On Wednesday 20 June 2012 20:42:19 Peter Kümmel wrote: > After the "noise" here "real" code: > > https://qt.gitorious.org/~syntheticpp/qt/qt4/commit/c1b839494d90e8c1a93b0dd2 > e08a2a365095d89f > > Based on Qt 4.8.2. > moc creates a header when it finds a template, if not then nothing changes. > (

Re: [Development] doc: need rename qdoc3 -> qdoc

2012-06-22 Thread casper.vandonderen
Hi, First of all: the monolithic build in qtdoc will be removed once all modules contain their own "make docs" target, since that monolithic build does not allow the same filename in any module, in the future each module should probably have a page with: /*! \title [libraryname] index \

[Development] "Native event" filter

2012-06-22 Thread David Faure
QWindow and QWidget have a virtual method nativeEvent(), but this only works for window-specific or widget-specific event handling. Looking at the KDE code, I see a rather wide usage of process-level handling of native events. http://lxr.kde.org/ident?i=installX11EventFilter shows about 30 uses

Re: [Development] Code of conduct.

2012-06-22 Thread marius.storm-olsen
Right. I must admit i can't see which specific incident which triggered this thread now, i believe the community has behaved good lately. But i agree that a general code of conduct for all our forums (mails, IRC, reviews, bugreports, etc) So, let's grab one of the existing CoC for KDE, Linux.Co

Re: [Development] Code of conduct.

2012-06-22 Thread joao.abecasis
Hi, As others have pointed out, a "Code of Conduct" or just some general netiquette guidelines [1] we can point people at may be a good thing. But it doesn't end there. We can already reply to such posts saying "This is unacceptable behaviour in this list". Equally as important, is to otherwise av

Re: [Development] QtCS: Qt Embedded

2012-06-22 Thread Romain Pokrzywka
Very useful, thanks a lot for taking the time to write those down! Romain On Friday, June 22, 2012 07:45:19 AM Girish Ramakrishnan wrote: > Hi, > For those who were unable to attend, I have posted notes on > http://qt-project.org/groups/qt-contributors-summit-2012/wiki/Qt-in-Embedded > . > > Let