Re: [Development] How to build Qt5's docs?

2012-08-21 Thread casper.vandonderen
>On Tue, Aug 21, 2012 at 9:03 AM, Alan Ezust wrote: >> >> The issue is that in the doc/html/qt.qhp file, on line 14348, is an xml >> element >> with a ref="". >> >> This is the problem I was having. >> What is interesting to know is what is on that line? And I bet you it >> is QDeclarativeImagePr

Re: [Development] QML Location show a Route

2012-08-21 Thread Aaron McCarthy
Hi Thomas, > Hi, I want to try out some functions of Qt Location 5.0. > I’m only using QML Quick 2.0. > So I already activated and added the Plugin, “nokia” with the token and > the app_id. > I also added the Proxy, so that so Map can be loaded. > Showing the Map and navigate to some Places with c

[Development] QMutex with pthread on Linux

2012-08-21 Thread Thiago Macieira
Hello I've just done some benchmarking of QMutex on Linux, using the pthread implementation instead of the futex one. Conclusions first: QMutex is optimised for uncontended case. It does that by keeping the d pointer at NULL while unlocked, and uses 0x3 to indicate it's locked. Changing from one

Re: [Development] FW: how to improve GraphicsView performance

2012-08-21 Thread Andreas Aardal Hanssen
2012/8/21 > Hi, > > FYI. Can someone help us here ? thanks very much ;) > Thanks, > Song > I think a good start would be to run a profiler like callgrind (search valgrind + kcachegrind) on the code in a host / x86 environment. The code posted here doesn't really say anything. That code as it st

Re: [Development] How to build Qt5's docs?

2012-08-21 Thread Alan Ezust
On Tue, Aug 21, 2012 at 9:03 AM, Alan Ezust wrote: > > The issue is that in the doc/html/qt.qhp file, on line 14348, is an xml > element > with a ref="". > > This is the problem I was having. > What is interesting to know is what is on that line? And I bet you it > is QDeclarativeImageProvider.

Re: [Development] How to build Qt5's docs?

2012-08-21 Thread Alan Ezust
On Tue, Aug 21, 2012 at 2:48 AM, Loaden wrote: > I can confirmed this change fixed the qt3d's docs issue. > But Still has a error with widgets-tutorial.qdoc. > >> ../src/zh_CN/tutorials/widgets-tutorial.qdoc:152: This page exists in more >> than one file: "Widgets ??" >> ../src/zh_CN/tutorials/wid

Re: [Development] FW: how to improve GraphicsView performance

2012-08-21 Thread Andreas Aardal Hanssen
2012/8/21 Konstantin Tokarev > > 21.08.2012, 12:24, "song.7@nokia.com" : > > I’m using QGraphicsView to implement google weather in a low-end(CPU: > 300MHz) hardware. All are nice except the performance. > Wether 300 MHz is low-end or not, is highly dependent on architecture. > E.g. 300MHz SPA

[Development] Qt 5 Deprecation warnings explosion

2012-08-21 Thread Friedemann Kleint
Hi, compiling Qt 5 with gcc currently produces a massive amount of compiler warnings: ./../include/QtGui/../../src/gui/kernel/qevent.h:798:82: warning: 'DeviceType' is deprecated (declared at ../../inclugui/kernel/qevent.h:782) [-Wdeprecated-declarations] In file included from ../../include/Qt

Re: [Development] How to build Qt5's docs?

2012-08-21 Thread Loaden
It's can't fix the problem. ../src/ja_JP/examples/arrowpad.qdoc:28: [It also exists here] > ../src/zh_CN/getting-started/how-to-learn-qt.qdoc:28: Can't create link to > 'Qt Object Model' > ../src/zh_CN/getting-started/how-to-learn-qt.qdoc:28: Can't create link to > 'Examples and Demos Launcher' >

Re: [Development] How to build Qt5's docs?

2012-08-21 Thread casper.vandonderen
Hi, There is an issue with the widgets-tutorial because the chinese docs are probably not parsed properly. The crash in qhelpgenerator however comes from missing \relates qdoc commands. Can you try cherry-picking https://codereview.qt-project.org/#change,32986 (or wait until it is integrated).

Re: [Development] How to build Qt5's docs?

2012-08-21 Thread Loaden
I can confirmed this change fixed the qt3d's docs issue. But Still has a error with widgets-tutorial.qdoc. ../src/zh_CN/tutorials/widgets-tutorial.qdoc:152: This page exists in more > than one file: "Widgets ??" > ../src/zh_CN/tutorials/widgets-tutorial.qdoc:94: [It also exists here] > ../src/zh_C

Re: [Development] FW: how to improve GraphicsView performance

2012-08-21 Thread Konstantin Tokarev
21.08.2012, 12:24, "song.7@nokia.com" : > > Hi, all > > I’m using QGraphicsView to implement google weather in a low-end(CPU: 300MHz) > hardware. All are nice except the performance. Wether 300 MHz is low-end or not, is highly dependent on architecture. E.g. 300MHz SPARC may be not bad at a

Re: [Development] QVairant::Type enums are now obsolete?

2012-08-21 Thread Thiago Macieira
On terça-feira, 21 de agosto de 2012 10.21.12, Harald Fernengel wrote: > Note that the concept of "NULL" values, while generally a bad idea, is a > concept required for the SQL module. SQL has the conecpt of "NULL" as an > extra flag for every value (date, int, string, etc. etc.). > > That's why w

Re: [Development] How to build Qt5's docs?

2012-08-21 Thread casper.vandonderen
Hi, I just fixed this in https://codereview.qt-project.org/#change,33170 After that integrates the documentation should build properly. Casper On 8/21/12 8:57 AM, "Ramsay Lincoln (Nokia-MP/Brisbane)" wrote: >On 08/21/2012 03:29 PM, ext Loaden wrote: >> It's still not work for me. > >My commen

[Development] FW: how to improve GraphicsView performance

2012-08-21 Thread song.7.liu
Hi, FYI. Can someone help us here ? thanks very much ;) Thanks, Song From: Jiang Wenjun (Nokia-MP/Beijing) Sent: Tuesday, August 21, 2012 4:21 PM To: Liu Song.7 (Nokia-MP/Beijing) Subject: FW: how to improve GraphicsView performance Importance: High Hi, all I'm using QGraphicsView to implemen

Re: [Development] QVairant::Type enums are now obsolete?

2012-08-21 Thread Stephen Kelly
On Monday, August 20, 2012 17:42:51 Thiago Macieira wrote: > > I just noticed that all the QVariant::Type enums are now marked as > > obsolete in 5.0 doc: > > http://qt-project.org/doc/qt-5.0/qvariant-obsolete.html#Type-enum > > > > There is WIP to remove the enum from QVariant API, but it has no

Re: [Development] QVairant::Type enums are now obsolete?

2012-08-21 Thread Harald Fernengel
Hi, On Monday 20 August 2012 17:42:51 ext Thiago Macieira wrote: > On segunda-feira, 20 de agosto de 2012 11.22.12, Stephen Chu wrote: > > I just noticed that all the QVariant::Type enums are now marked as > > obsolete in 5.0 doc: > > http://qt-project.org/doc/qt-5.0/qvariant-obsolete.html#Type-en

Re: [Development] QVairant::Type enums are now obsolete?

2012-08-21 Thread Marc Mutz
On Monday August 20 2012, Thiago Macieira wrote: > On segunda-feira, 20 de agosto de 2012 18.22.53, Marc Mutz wrote: > > On Monday August 20 2012, Thiago Macieira wrote: > > > > It seems a QVariant constructor that takes a QMetaType::Type is > > > > needed. > > > > > > No, we don't think so. > > >