Re: [Development] Using gcc to build arm version

2012-10-08 Thread song.7.liu
Thanks Lincoln, libsupc++.a library is the answer ! -Original Message- From: development-bounces+song.7.liu=nokia@qt-project.org [mailto:development-bounces+song.7.liu=nokia@qt-project.org] On Behalf Of Liu Song.7 (Nokia-MP/Beijing) Sent: Monday, October 08, 2012 2:16 PM To

Re: [Development] Using gcc to build arm version

2012-10-07 Thread song.7.liu
Another thing: it seems that the libstdc++.so is based on Linux OS, so it can't be used for target build... So for the gcc/g++, is there a standalone library for c++ support ? Thanks, Song -Original Message- From: development-bounces+song.7.liu=nokia@qt-projec

Re: [Development] Using gcc to build arm version

2012-10-07 Thread song.7.liu
readelf -s -W libsupc++.a | grep UND, still shows: _ZTVN10__cxxabiv120__si_class_type_infoE _ZTVN10__cxxabiv121__vmi_class_type_infoE _ZTVN10__cxxabiv117__class_type_infoE Thanks, Song -Original Message- From: development-bounces+song.7.liu=nokia@qt-project.org [mailto:development

Re: [Development] Using gcc to build arm version

2012-10-07 Thread song.7.liu
collect2 (4.4.1) is used to link. Thanks, Song From: development-bounces+song.7.liu=nokia@qt-project.org [mailto:development-bounces+song.7.liu=nokia@qt-project.org] On Behalf Of ext Lincoln Ramsay Sent: Monday, October 08, 2012 1:00 PM To: development@qt-project.org Subject: Re

[Development] Using gcc to build arm version

2012-10-07 Thread song.7.liu
Hi, We are building the mesa for Qt, and the gcc is used to build out ARM version. But the bellow symbols is reported as undefined: _ZTVN10__cxxabiv120__si_class_type_infoE _ZTVN10__cxxabiv121__vmi_class_type_infoE _ZTVN10__cxxabiv117__class_type_infoE These symbols should be provided by compile

[Development] Perf about loading one 240x320 png image

2012-09-28 Thread song.7.liu
Hi, I am testing the image loading performance in Qt5, that the image with different location (qt resource or file system) and using QImage or QPixmap. Testing is based on a low end devices, and the result is shared as bellow: Loading perf (240x320 png image) from resource from file system Q

[Development] Text rendering in Qt5

2012-09-24 Thread song.7.liu
Hi, Is there some wikis or blogs about how does the text rendering work in Qt5 ? Thanks, Song ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development

Re: [Development] About QML depends on opengl

2012-09-04 Thread song.7.liu
al Message- From: development-bounces+song.7.liu=nokia@qt-project.org [mailto:development-bounces+song.7.liu=nokia@qt-project.org] On Behalf Of ext Thomas McGuire Sent: Friday, August 10, 2012 5:19 PM To: development@qt-project.org; Han Maokun (Nokia-MP/Beijing) Subject: Re: [Development]

[Development] About copying the image buffer with alpha blending

2012-08-29 Thread song.7.liu
Hi, We found that QPainer::drawImage takes 30~50ms for one 150*114 image, it seems a little slow. One quick optimization to try is: we want to do the memory copy to the backing store buffer directly instead of using the PaintRasterEngine. So from Qt, is there a helper function can copy the memo

[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

[Development] 回复: Re: qthread exiting

2012-08-14 Thread song.7.liu
Ok, these two pthrea_cleanup_push/pop are not implemented in our pthread, but i think it should be easy to add them. Thanks ! -原信息- 发件人: ext Thiago Macieira 发送: 2012/08/14, 16:28 收件人: development@qt-project.org 主题: Re: [Development] qthread exiting On terça-feira, 14 de agosto de 2012

Re: [Development] About QML depends on opengl

2012-08-14 Thread song.7.liu
Thanks for pointing out the dependency, but it seems that replacing the QtQuick2 has bigger effort than adding the opengl support. -Original Message- From: development-bounces+song.7.liu=nokia@qt-project.org [mailto:development-bounces+song.7.liu=nokia@qt-project.org] On Behalf

[Development] qthread exiting

2012-08-14 Thread song.7.liu
Hi, When the thread is exiting the destroy_current_thread_data will be called, and only if the thread data is adopted, the QThreadPrivate::finish is called. But normally the thread data always have the isAdopted with false, then this thread 's status is still running even if it's exited. So cou

[Development] perl version required in latest Qt5

2012-08-12 Thread song.7.liu
Hi, I remember that Perl 5.8 could work with Qt5 alpha, but it seems that a higher version of perl is required in latest Qt5. So which version of perl should be used now ? Thanks, Song ___ Development mailing list Development@qt-project.org http://list

[Development] About QML depends on opengl

2012-08-10 Thread song.7.liu
Hi, >From the code, it seems that QML will depend on the opengl, but is there a way >to remove such dependency ? Because our platform doesn't support opengl yet. Thanks, Song ___ Development mailing list Development@qt-project.org http://lists.qt-proje

[Development] QtGui depends on libPlatformSupport.a

2012-08-02 Thread song.7.liu
Hi, >From the Qt build system, does any file decide the QtGui depending on the >PlatformSupport lib ? Any information is appreciated ;) Thanks, Song ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/d

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

2012-07-29 Thread song.7.liu
> Wow! Any chance you can blog about this somewhere? If you don't, I will based > on your data. No, I don't have a public blog. So please go ahead, thanks ! -Original Message- From: development-bounces+song.7.liu=nokia@qt-project.org [mailto:development-bounces+

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

2012-07-29 Thread song.7.liu
l functions. So for the qt(5), should we change all the exported symbol 's visibility to _protected_ ? Or is there still some exited use case to use _default_ visibility ? Thanks, Song -Original Message- From: development-bounces+song.7.liu=nokia@qt-project.org [mailto:developm

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

2012-07-29 Thread song.7.liu
_protected_ visibility, that kind of relocation is reduced, but I still don't know why more R_ARM_RELATIVE relocation introduced. Anything wrong please correct me ;-) Thanks, Song -Original Message- From: development-bounces+song.7.liu=nokia@qt-project.org [mailto:development-bounces+s

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

2012-07-29 Thread song.7.liu
even if it's implemented inside ? 2. when changed to "protected" visibility, I guess it's optimized to add a GOT.PLT entry as a R_ARM_RELATIVE relocation, is that true ? Thanks, Song -Original Message- From: development-bounces+song.7.liu=nokia@qt-project.org [mai

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

2012-07-24 Thread song.7.liu
the -Bsymbolic in gcc. Does anyone have idea from the compiler point of view ? Also I see that Qt also uses the "-Bsymbolic-functions" to do some optimization, is that similar case to reduce the relocation ? Thanks, Song -Original Message----- From: development-bou

Re: [Development] Use static qt libraries

2012-07-24 Thread song.7.liu
Thanks ! Last one is: "9: 0 OBJECT WEAK DEFAULT UND _ZTI28QNetworkConfigurationPrivate". -Original Message- From: development-bounces+song.7.liu=nokia@qt-project.org [mailto:development-bounces+song.7.liu=nokia@qt-project.org] On Behalf Of ext Thiag

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

2012-07-24 Thread song.7.liu
ymbols to the definition within the so, if any. So what's the symbolic consideration for ARM toolchain in qt ? Thanks, Song -Original Message- From: development-bounces+song.7.liu=nokia@qt-project.org [mailto:development-bounces+song.7.liu=nokia@qt-project.org] On Behalf Of Li

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

2012-07-24 Thread song.7.liu
More information that from gcc the "-Wl,-Bsymbolic" can be used to bind references to global symbols to the definition within the so, if any. So what's the symbolic consideration for ARM toolchain in qt ? Thanks, Song -Original Message- From: development-bounces+song.7.l

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] 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 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 |

[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 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 song.7.liu
, Song -Original Message- From: development-bounces+song.7.liu=nokia@qt-project.org [mailto:development-bounces+song.7.liu=nokia@qt-project.org] On Behalf Of Liu Song.7 (Nokia-MP/Beijing) Sent: Monday, July 23, 2012 10:39 PM To: Storm-Olsen Marius (Nokia-MP/Austin) Cc: developm

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 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@

[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 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

[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] About "finish" signal in QHttpNetworkConnectionChannel

2012-07-19 Thread song.7.liu
OK, you can ignore this mail thread now, it's the thread_pipe not implemented in our porting ... thanks. From: development-bounces+song.7.liu=nokia@qt-project.org [mailto:development-bounces+song.7.liu=nokia@qt-project.org] On Behalf Of Liu Song.7 (Nokia-MP/Beijing) Sent: Friday,

Re: [Development] About "finish" signal in QHttpNetworkConnectionChannel

2012-07-19 Thread song.7.liu
It seem I know that it is avoiding "wake up" again if it's already alive. And the wakeUps._q_value is 1 in my case, but this main thread actually is pending at doSelect, so I don't know why wakeUps is not zero ! From: development-bounces+song.7.liu=nokia@qt-project.org

Re: [Development] About "finish" signal in QHttpNetworkConnectionChannel

2012-07-19 Thread song.7.liu
)) { char c = 0; qt_safe_write( d->thread_pipe[1], &c, 1 ); } } But "d->wakeUps.testAndSetAcquire(0, 1)" returns zero, so eventually the main thread's event loop is not triggered. Can someone share what's the purpose of using testAndSetAcquire here ? Tha

[Development] About "finish" signal in QHttpNetworkConnectionChannel

2012-07-19 Thread song.7.liu
Hi, I am using the QNetworkAccessManager::get to request content from http://www.google.com. Then the QHttpNetworkConnectionChannel will be created and worked on another thread, when all the data is received, the QHttpNetworkConnectionChannel::allDone will be invoked, where: // queue the f

Re: [Development] Qt Mobility in Qt5

2012-06-16 Thread song.7.liu
Thanks… Also do you know how to configure and build the qtpim module along with qtbase ? Thanks, Song From: ext Xizhi Zhu [mailto:xizhi@gmail.com] Sent: Saturday, June 16, 2012 2:44 PM To: Liu Song.7 (Nokia-MP/Beijing) Cc: development@qt-project.org Subject: Re: [Development] Qt Mobility in

Re: [Development] Qt Mobility in Qt5

2012-06-15 Thread song.7.liu
Are the “Mobilities” in a signal .so or different .so ? From: ext Xizhi Zhu [mailto:xizhi@gmail.com] Sent: Saturday, June 16, 2012 2:44 PM To: Liu Song.7 (Nokia-MP/Beijing) Cc: development@qt-project.org Subject: Re: [Development] Qt Mobility in Qt5 Importance: High There's no longer "Qt Mobi

Re: [Development] Qt Mobility in Qt5

2012-06-15 Thread song.7.liu
Thanks, is there a documentation about Qt Mobility in Qt5 ? From: ext Xizhi Zhu [mailto:xizhi@gmail.com] Sent: Saturday, June 16, 2012 2:41 PM To: Liu Song.7 (Nokia-MP/Beijing) Cc: development@qt-project.org Subject: Re: [Development] Qt Mobility in Qt5 Importance: High Yes, they have been mo

[Development] Qt Mobility in Qt5

2012-06-15 Thread song.7.liu
Hi, Is the Qt Mobility a part of Qt5 ? If not, where can I get the source of latest Qt Mobility? Thanks, Song ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development

Re: [Development] One qmake problem for rvct

2012-06-06 Thread song.7.liu
Hi, Same issue happened in platform plugins... Could someone share what's the idea to change qmake or something else ? Thanks, Song -Original Message- From: development-bounces+song.7.liu=nokia@qt-project.org [mailto:development-bounces+song.7.liu=nokia@qt-project.or

[Development] One qmake problem for rvct

2012-06-06 Thread song.7.liu
Hi, When using the armcc to compile qt5, there is one Makefile generation issue for widgets: You know the widgets is depending on platformsupport static library, but the "libQtPlatformSupport.so" is appended into LIBS flag within this Makefile. After checked with the source code of qmake/genera

Re: [Development] About pcre in qt5

2012-06-06 Thread song.7.liu
not fully controlled on some feature flag. So is that caused as the Qt5 code refine ?? Thanks, Song -Original Message- From: development-bounces+song.7.liu=nokia@qt-project.org [mailto:development-bounces+song.7.liu=nokia@qt-project.org] On Behalf Of ext Thiago Macieira Sent: Wedne

Re: [Development] About pcre in qt5

2012-06-06 Thread song.7.liu
Yes, we are creating a super minimal build with basic functionalities... But is there some feature depending on the REGEXP in case if it's disabled other features don't work then. Thanks, Song -Original Message- From: ext Giuseppe D'Angelo [mailto:dange...@gmail.com] Sent: Wednesday, Ju

Re: [Development] mkspec "linux-arm-armcc " for qt5

2012-06-06 Thread song.7.liu
Ok, thanks... A few minutes ago I also tried to remove this declaration, it works now. -Original Message- From: development-bounces+song.7.liu=nokia@qt-project.org [mailto:development-bounces+song.7.liu=nokia@qt-project.org] On Behalf Of ext Thiago Macieira Sent: Wednesday

Re: [Development] mkspec "linux-arm-armcc " for qt5

2012-06-05 Thread song.7.liu
4. So it seems an error, but does anyone know how to fix it ? or how to ignore such error ? Thanks, Song -Original Message----- From: development-bounces+song.7.liu=nokia@qt-project.org [mailto:development-bounces+song.7.liu=nokia@qt-project.org] On Behalf Of ext Thiago Macieira Se

[Development] About pcre in qt5

2012-06-05 Thread song.7.liu
Hi, We are doing a customized build on qt5, but can I disable the pcre in qt5 ? Thanks, Song ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development

[Development] mkspec "linux-arm-armcc " for qt5

2012-06-04 Thread song.7.liu
Hi, We are trying to use armcc to build qt5, and meet many compiling issues... Here, I just want to confirm that is there some assumption / limitation in our qt5 code base about use armcc or gcc ??? Thanks, Song ___ Development mailing list Development

[Development] Does the QtWidgets in Qt5 support touch event handling ?

2012-06-01 Thread song.7.liu
Hi, In Qt5, does the QtWidgets support the touch event handling ? That the touch event is routed from my side to system by invoking QWindowSystemInterface::handleTouchEvent... Thanks, Song ___ Development mailing list Development@qt-project.org http://

Re: [Development] About the QtDir::currentPath

2012-06-01 Thread song.7.liu
Ok, thanks... I am using the qfilesystemengine_unix under another unix like env, so I can make a change in the ::rootPath for my case... Thanks for your sharing ;) Thanks, Song -Original Message- From: siv...@gmail.com [mailto:siv...@gmail.com] On Behalf Of ext Sivan Greenberg Sent: Fri

[Development] About the QtDir::currentPath

2012-06-01 Thread song.7.liu
Hi, My QtDir::currentPath is /c_drive/ instead of C:/, so do someone know the reason behind ? And how can it be as "C:/" ? Any information is appreciated ;) Thanks, Song ___ Development mailing list Development@qt-project.org http://lists.qt-project.o

Re: [Development] [Interest] Warining about: Project WARNING: QtGui cannot have a QT of gui

2012-05-22 Thread song.7.liu
But,,, I am building my Qt5 in Linux server. :( Thanks, Song From: development-bounces+song.7.liu=nokia@qt-project.org [mailto:development-bounces+song.7.liu=nokia@qt-project.org] On Behalf Of ext Loaden Sent: Tuesday, May 22, 2012 5:31 PM To: Thiago Macieira Cc: development@qt

[Development] How to let QtCore and QtGui etc. static linked against with one precompiled object

2012-05-19 Thread song.7.liu
Hi, I want to let QtCore and QtGui etc. modules static linked against with one pre-compiled achieve object. So could someone help how to modify the qmake.conf under the related mkspecs folder ? Many thanks ;) Thanks, Song ___ Development mailing list

[Development] Source code path in the debug information

2012-05-15 Thread song.7.liu
Hi, I am trying to copy libQtCore.so.5.0.0 to another different folder to debug with my application, but find that I can't step into the source code. After look into libQtCore, it seems that the path of source code is relative instead absolute, for example as bellow: ../../include/QtCore/../..

Re: [Development] Link error about QtCore.dynlist

2012-05-14 Thread song.7.liu
Hi, Thanks for your reply, please get the error info from attached file. Thanks, Song -Original Message- From: development-bounces+song.7.liu=nokia@qt-project.org [mailto:development-bounces+song.7.liu=nokia@qt-project.org] On Behalf Of ext Thiago Macieira Sent: Monday, May 14

[Development] Link error about QtCore.dynlist

2012-05-14 Thread song.7.liu
Hi, I am building the latest Qt5 on Linux, but with bellow link error in qtbase: /nokia/apps/tww/@sys/gcc442/x86_64-unknown-linux-gnu/bin/ld: /build/qt5-2/qtbase/src/corelib/QtCore.dynlist: file format not recognized; treating as linker script /nokia/apps/tww/@sys/gcc442/x86_64-unknown-linux-gn