Re: [Development] QFileSystemWatcher and Recursive Monitoring

2012-07-23 Thread Sylvain Pointeau
On Jul 23, 2012 7:51 PM, "logic.cpp" > wrote: > > > > So - are you suggesting that Qt file-system monitoring facilities > > should actually generate an in-memory snapshot of the necessary > > directory tree(s) for platforms that need it (in this case Mac OSX <= > > Snow Leopard) ? > > > > Hey I'm

Re: [Development] how to reduce the relocation <-- Use static qt libraries

2012-07-23 Thread song.7.liu
Hi, Finally we can build out and load the libqt5.so successfully, but the loading is still very slow because too many symbols are to be relocated. Even many of these relocated symbols are inside the libqt5.so, we suppose they should be resolved during the link time instead of loading time. And

Re: [Development] QFileSystemWatcher and Recursive Monitoring

2012-07-23 Thread d3fault
On Jul 23, 2012 7:51 PM, "logic.cpp" wrote: > > So - are you suggesting that Qt file-system monitoring facilities > should actually generate an in-memory snapshot of the necessary > directory tree(s) for platforms that need it (in this case Mac OSX <= > Snow Leopard) ? > > Hey I'm not against, it

Re: [Development] Use static qt libraries

2012-07-23 Thread Rohan McGovern
Liu Song.7 (Nokia-MP/Beijing) said: > Thanks, are such undefined symbols normal ? And is there a way to fix it ? Right now, the only thing which comes to mind is if you have somehow mixed some -frtti and -fno-rtti objects. > > -Original Message- > From: Mcgovern Rohan (Nokia-MP/Brisbane)

Re: [Development] Use static qt libraries

2012-07-23 Thread song.7.liu
Thanks, are such undefined symbols normal ? And is there a way to fix it ? -Original Message- From: Mcgovern Rohan (Nokia-MP/Brisbane) Sent: Tuesday, July 24, 2012 11:58 AM To: Liu Song.7 (Nokia-MP/Beijing) Cc: Lan Peng-Peter (Nokia-MP/Beijing); Storm-Olsen Marius (Nokia-MP/Austin); deve

Re: [Development] Use static qt libraries

2012-07-23 Thread Rohan McGovern
song.7@nokia.com said: > Hi, > > Now we can build out the single libqt5.so (using ARM toolchain) by: > > "OPTS += -static" to create the static qt libs > "ar -x libQtXX.a" to extract the .o files > "armlink --fpic --shared *.o -o libqt5.so" to generate final single so > > Bu

Re: [Development] Use static qt libraries

2012-07-23 Thread song.7.liu
Hi, Now we can build out the single libqt5.so (using ARM toolchain) by: "OPTS += -static" to create the static qt libs "ar -x libQtXX.a" to extract the .o files "armlink --fpic --shared *.o -o libqt5.so" to generate final single so But the "readelf -s libqt5.so |

Re: [Development] [Qt5 beta]Incorrect install path & cross-compile for MIPS

2012-07-23 Thread Fred Fung
thanks. I found the help information of configure missed lots of options. It has got me perplexed. best regards,fred fung ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development

Re: [Development] QFileSystemWatcher and Recursive Monitoring

2012-07-23 Thread logic.cpp
So - are you suggesting that Qt file-system monitoring facilities should actually generate an in-memory snapshot of the necessary directory tree(s) for platforms that need it (in this case Mac OSX <= Snow Leopard) ? Hey I'm not against, it would be really easy to implement. But you should really t

Re: [Development] QFileSystemWatcher and Recursive Monitoring

2012-07-23 Thread d3fault
On Jul 23, 2012 8:07 AM, "logic.cpp" wrote: >What else do you suggest then, should we make 3 separate classes one for each > OS? > definitely not. qt is a cross platform toolkit after all. separate back-ends... on the other hand: yes. > By all means, please do try to generate this in-memory snap

Re: [Development] Use static qt libraries

2012-07-23 Thread peng-peter.lan
I would like to explain the background of this approach. We are now porting Qt5 (selected modules) on a low profile device (ARM11@300MHz). All shared objects can XIP - so there is no need to load libs from ROM to RAM. But a major problem is the loading time of an application (qtbase examples) -

Re: [Development] 回复: Re: Use static qt libraries

2012-07-23 Thread marius.storm-olsen
I have my doubts about how much you'll really gain from that. This would only give you a large benefit if most applications requires all the libs you bundle together, and that you significantly reduce the total amount of symbols exported by the final shared library. I guess worth a quick try, bu

Re: [Development] QML pixmap caching

2012-07-23 Thread martin.jones
> -Original Message- > From: development-bounces+martin.jones=nokia@qt-project.org > [mailto:development-bounces+martin.jones=nokia@qt-project.org] > On Behalf Of ext David Faure > Sent: Tuesday, July 24, 2012 12:42 AM > To: development@qt-project.org > Subject: [Development] QML pi

[Development] 回复: Re: Use static qt libraries

2012-07-23 Thread song.7.liu
To reduce the loading time. -原信息- 发件人: ext Thiago Macieira 发送: 2012/07/24, 02:09 收件人: development@qt-project.org 主题: Re: [Development] Use static qt libraries On segunda-feira, 23 de julho de 2012 14.39.16, song.7@nokia.com wrote: > OK, based on my current understanding, do you mean

Re: [Development] Use static qt libraries

2012-07-23 Thread Thiago Macieira
On segunda-feira, 23 de julho de 2012 14.39.16, song.7@nokia.com wrote: > OK, based on my current understanding, do you mean that: > I still need to build all of the current qt modules as static objects, which > can be done by OPTS += -static or by other way ? No. What you need to do is figur

Re: [Development] Proposal - QtSerialPort graduation from the Playground

2012-07-23 Thread Denis Shienkov
Hi all. Yes, it would be very nice to include it as an add-on to Qt. We spent a lot of time improving this module, tried to meet the differing opinions. We need help and advice from more people who are interested in the development of this addon. In principle, the bulk of the work has been don

[Development] Proposal - QtSerialPort graduation from the Playground

2012-07-23 Thread Laszlo Papp
Hi, The QtSerialPort project was established a little over than half a year ago [1] in Playground. The project had already been useful (at least to me) at the time, but it has gone through a lot of bug fixes. Furthermore, there were API modifications, and also a few new features implemented and in

Re: [Development] [Qt5 beta]Incorrect install path & cross-compile for MIPS

2012-07-23 Thread Oswald Buddenhagen
On Mon, Jul 23, 2012 at 11:08:14PM +0800, ext Fred Fung wrote: > Dear all: > > I downloaded qt5 beta source code in > http://releases.qt-project.org/qt5.0/beta-snapshots/2012-07-20_19-02-20/. > I'm trying to build Qt5 on ubuntu 12.04 with the following command: > ==

[Development] [Qt5 beta]Incorrect install path & cross-compile for MIPS

2012-07-23 Thread Fred Fung
Dear all: I downloaded qt5 beta source code in http://releases.qt-project.org/qt5.0/beta-snapshots/2012-07-20_19-02-20/. I'm trying to build Qt5 on ubuntu 12.04 with the following command: == configure -prefix /home/ff/dist -sysroot /usr/tc/sysroot ...etc..

Re: [Development] QFileSystemWatcher and Recursive Monitoring

2012-07-23 Thread logic.cpp
> I don't like your single signal design. It's cross platform only in that it > will compile/function on every platform. The application will behave > differently in the slot connected to said signal on mac than on > windows/linux. We should not expect every _user_ app to have separate > codepaths

Re: [Development] Use static qt libraries

2012-07-23 Thread song.7.liu
OK, this way should be easier and doable, thanks for your help ;) Thanks, Song -Original Message- From: Storm-Olsen Marius (Nokia-MP/Austin) Sent: Monday, July 23, 2012 10:44 PM To: Liu Song.7 (Nokia-MP/Beijing) Cc: development@qt-project.org Subject: RE: [Development] Use static qt libr

Re: [Development] Use static qt libraries

2012-07-23 Thread marius.storm-olsen
No, I mean you should create a new .pro file which includes all the module libs you want to include, and then later in that file do the tweaks needed to generate the required result. Just compiling this new project will be enough to produce the end result. So, a new qt5-massive-library.pro whic

Re: [Development] Use static qt libraries

2012-07-23 Thread song.7.liu
> then have a step which links all of the object files into one shared library, > maybe called just qt5.so Or do you mean that I need create a qt5-massive-library.pro to gather all the needed object file (.obj) from each module instead of the static object (.a) of each module ? Thanks, Song --

[Development] QML pixmap caching

2012-07-23 Thread David Faure
QDeclarativePixmapStore (called QQuickPixmapStore in Qt5, but it's the same code) seems to throw away cached pixmaps, every 30 seconds, even if the cache is far from full. This creates a performance issue when an image are being loaded during animations, and was supposed to be in cache already.

Re: [Development] Use static qt libraries

2012-07-23 Thread song.7.liu
OK, based on my current understanding, do you mean that: I still need to build all of the current qt modules as static objects, which can be done by OPTS += -static or by other way ? Thanks, Song -Original Message- From: Storm-Olsen Marius (Nokia-MP/Austin) Sent: Monday, July 23, 2012 1

Re: [Development] Use static qt libraries

2012-07-23 Thread marius.storm-olsen
No, you will need to link it all at once, since an .so is considered a final product. You might be able to mess around with a qt5-massive-library.pro, which include()s all the module .pro files you want in the final library. It's unknown how much tweaking you will need to achieve this final all-

Re: [Development] Use static qt libraries

2012-07-23 Thread song.7.liu
Thanks for help. Is there any tool to link all of the separate shared libraries into one single shared library (libqt5.so) ? Thanks, Song -Original Message- From: Storm-Olsen Marius (Nokia-MP/Austin) Sent: Monday, July 23, 2012 10:12 PM To: Liu Song.7 (Nokia-MP/Beijing) Cc: development@

Re: [Development] Use static qt libraries

2012-07-23 Thread marius.storm-olsen
On 23/07/2012 08:56, ext song.7@nokia.com wrote: > Hi, > > To use the static qt libraries, now I can build out all the libQtCore.a > , libQtGui.a , libQtWidgets.a etc with option -static. > > Also I can create a new shared object libQtMaster.so which is composed > of all of above static objects

Re: [Development] Use static qt libraries

2012-07-23 Thread Thiago Macieira
On segunda-feira, 23 de julho de 2012 13.56.51, song.7@nokia.com wrote: > Hi, > > To use the static qt libraries, now I can build out all the libQtCore.a , > libQtGui.a , libQtWidgets.a etc with option -static. Also I can create a > new shared object libQtMaster.so which is composed of all of a

[Development] Use static qt libraries

2012-07-23 Thread song.7.liu
Hi, To use the static qt libraries, now I can build out all the libQtCore.a , libQtGui.a , libQtWidgets.a etc with option -static. Also I can create a new shared object libQtMaster.so which is composed of all of above static objects (libQtXXX.a), then I want my Qt application be dynamic linked w

Re: [Development] Latest stable Qt5 code

2012-07-23 Thread song.7.liu
Ok, thanks for sharing ;) -Original Message- From: Storm-Olsen Marius (Nokia-MP/Austin) Sent: Monday, July 23, 2012 9:43 PM To: Liu Song.7 (Nokia-MP/Beijing) Cc: development@qt-project.org Subject: Re: [Development] Latest stable Qt5 code Importance: High We are pushing as hard as we can

Re: [Development] Latest stable Qt5 code

2012-07-23 Thread marius.storm-olsen
We are pushing as hard as we can to make it happen asap, but with all the vacations happening in Europe right now I think it will happen in early August. -- .marius On 23/07/2012 08:41, Liu Song.7 (Nokia-MP/Beijing) wrote: > Thanks, but about when will we have a beta release ? > > -Origin

Re: [Development] Latest stable Qt5 code

2012-07-23 Thread song.7.liu
Thanks, but about when will we have a beta release ? -Original Message- From: Storm-Olsen Marius (Nokia-MP/Austin) Sent: Monday, July 23, 2012 9:40 PM To: Liu Song.7 (Nokia-MP/Beijing) Cc: development@qt-project.org Subject: Re: [Development] Latest stable Qt5 code Importance: High On 23

Re: [Development] Latest stable Qt5 code

2012-07-23 Thread marius.storm-olsen
On 23/07/2012 08:34, ext song.7@nokia.com wrote: > Hi, > > Can somebody point out how to get the latest stale Qt5 code ? The latest "stale" ;) Qt5 code should be what you get when you check out the master branch of qt5.git, as it and its submodules are only updated when the all the autotests

[Development] Latest stable Qt5 code

2012-07-23 Thread song.7.liu
Hi, Can somebody point out how to get the latest stale Qt5 code ? Is there some any tag for that ? Thanks, Song ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development

Re: [Development] OpenGL Support in Qt5

2012-07-23 Thread Samuel Rødal
On 07/23/2012 12:25 PM, Knoll Lars (Nokia-MP/Oslo) wrote: > On 7/23/12 10:55 AM, "ext Samuel Rødal" wrote: > >> On 07/16/2012 10:59 PM, ext Fredrik Höglund wrote: >>> On Monday 16 July 2012, Thiago Macieira wrote: On segunda-feira, 16 de julho de 2012 07.47.10, gunnar.sle...@nokia.com w

Re: [Development] Moving QWindowSystemInterface out of QPA

2012-07-23 Thread lars.knoll
On 7/19/12 4:45 PM, "ext Girish Ramakrishnan" wrote: >On Thu, Jul 19, 2012 at 7:16 AM, wrote: >> On 7/16/12 12:43 PM, "ext Stephen Kelly" wrote: >> >>>On Sunday, July 15, 2012 14:24:18 Holger Hans Peter Freyther wrote: On Tue, Jul 10, 2012 at 11:53:33AM +0200, Thiago Macieira wrote: >>>

Re: [Development] Abandoning the container changes

2012-07-23 Thread Marc Mutz
On Friday July 20 2012, Olivier Goffart wrote: > On Thursday 19 July 2012 14:19:36 Marc Mutz wrote: > > On Wednesday July 18 2012, Olivier Goffart wrote: > > > We discussed namespaces long time ago already, and decided not to put > > > Qt in > > > a namespace. > > > The reason is that it breaks sou

Re: [Development] OpenGL Support in Qt5

2012-07-23 Thread lars.knoll
On 7/23/12 10:55 AM, "ext Samuel Rødal" wrote: >On 07/16/2012 10:59 PM, ext Fredrik Höglund wrote: >> On Monday 16 July 2012, Thiago Macieira wrote: >>> On segunda-feira, 16 de julho de 2012 07.47.10, >>>gunnar.sle...@nokia.com wrote: I both like and dislike the idea. Like because it resolve

Re: [Development] OpenGL Support in Qt5

2012-07-23 Thread Samuel Rødal
On 07/16/2012 10:59 PM, ext Fredrik Höglund wrote: > On Monday 16 July 2012, Thiago Macieira wrote: >> On segunda-feira, 16 de julho de 2012 07.47.10, gunnar.sle...@nokia.com >> wrote: >>> I both like and dislike the idea. Like because it resolves all the functions >>> and that way save a lot of p

Re: [Development] [Qt-creator] No headers in Mac frameworks?

2012-07-23 Thread Corentin Jabot
Hi. When building qt5 on OS X (10.7), the headers are not installed along the libraries, that seems to concern all modules. I try to build using ./build, make module-qtxxx, and make install in each module, and in each case, I got the issue. I configured that way : ./configure -release -opensource