From caesar.qiu at siliconmotion.com.cn Tue Jul 1 05:13:20 2008 From: caesar.qiu at siliconmotion.com.cn (=?gb2312?B?Y2Flc2FyLnFpdSD0w8j8uqM=?=) Date: Tue, 1 Jul 2008 11:13:20 +0800 Subject: [Qt-embedded-interest] How can I commit my code to qtopia core open source version? Message-ID: <57EC745D91E8FB4D809F4A778F6DBEEE3946E3@dell1800.siliconmotion.com.cn> Hi, everyone. I have added an accelerated graphics driver of sm502(produced by Silicon Motion, Inc.) in Qtopia Core 4.3.3. Now I want to commit it to the open source version. What steps should take? Thank you very much. Regards, Caesar Qiu Tel: 86-21-65107780,ext.7145 Mail: Caesar.qiu at siliconmotion.com.cn -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.trolltech.com/pipermail/qt-embedded-interest/attachments/20080701/318c5a5f/attachment.html From hwall at trolltech.com Tue Jul 1 15:05:28 2008 From: hwall at trolltech.com (=?utf-8?q?H=C3=A5vard_Wall?=) Date: Tue, 1 Jul 2008 15:05:28 +0200 Subject: [Qt-embedded-interest] How can I commit my code to qtopia core open source version? In-Reply-To: <57EC745D91E8FB4D809F4A778F6DBEEE3946E3@dell1800.siliconmotion.com.cn> References: <57EC745D91E8FB4D809F4A778F6DBEEE3946E3@dell1800.siliconmotion.com.cn> Message-ID: <200807011505.28276.hwall@trolltech.com> On Tuesday 01 July 2008 05:13:20 caesar.qiu ??? wrote: > Hi, everyone. > > I have added an accelerated graphics driver of sm502(produced by Silicon Motion, Inc.) in Qtopia Core 4.3.3. > > Now I want to commit it to the open source version. What steps should take? Thank you very much. Unfortunately it's hard for us to maintain such a driver without having the hardware available for testing, or at least a toolchain to make sure it compiles, so we probably cannot include it as part of the standard package. If you're working for Silicon Motion and are willing to maintain the driver yourself, it might be a good solution to make the driver available from the Silicon Motion web site or make it a part of the Development Kit that's already available for download. If you still want the driver to be included in the qt-embedded package you would probably have to provide us with at least the toolchain and probably hardware to do the necessary maintenance. I suggest you make contact through the customer service & support at http://trolltech.com/company/contact-us to arrange this. Hope this helps, -- H?vard Wall > > > > > > Regards, > > > > Caesar Qiu > > Tel: 86-21-65107780,ext.7145 > > Mail: Caesar.qiu at siliconmotion.com.cn > > > > > > From dilip_devaraj at yahoo.co.in Tue Jul 8 16:07:34 2008 From: dilip_devaraj at yahoo.co.in (dilip devaraj) Date: Tue, 8 Jul 2008 19:37:34 +0530 (IST) Subject: [Qt-embedded-interest] (no subject) Message-ID: <6451.72638.qm@web8815.mail.in.yahoo.com> Hello QT Team I am using QT embedded version 2.3 and? am quite new to it . I have the following queries 1) The QWS Server knows which is the top most window and its properties? , but if I have 5 widgets which are part of the top level window and want to replace only one of the widgets , what would be the code flow for this ? 2)What is the difference wrt functionality between the QWS Server and th QWS Window Manager . I am aware that only by having a window manager we can move widgets and close the application but in embedded QT what would be a typical usecase 3)If I have one application screen and noe if user choses an option in that screen what would be the flow of events before the screen gets updated with new screen? Thanks for any help Regards Dilip Did you know? You can CHAT without downloading messenger. Go to http://in.messenger.yahoo.com/webmessengerpromo.php/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.trolltech.com/pipermail/qt-embedded-interest/attachments/20080708/6e4478e3/attachment.html From dilip_devaraj at yahoo.co.in Tue Jul 8 16:08:42 2008 From: dilip_devaraj at yahoo.co.in (dilip devaraj) Date: Tue, 8 Jul 2008 19:38:42 +0530 (IST) Subject: [Qt-embedded-interest] Queries wrt QWS Server and QWS manger in QT Embedded Message-ID: <699391.78021.qm@web8813.mail.in.yahoo.com> Hello QT Team I am using QT embedded version 2.3 and? am quite new to it . I have the following queries 1) The QWS Server knows which is the top most window and its properties? , but if I have 5 widgets which are part of the top level window and want to replace only one of the widgets , what would be the code flow for this ? 2)What is the difference wrt functionality between the QWS Server and th QWS Window Manager . I am aware that only by having a window manager we can move widgets and close the application but in embedded QT what would be a typical usecase 3)If I have one application screen and noe if user choses an option in that screen what would be the flow of events before the screen gets updated with new screen? Thanks for any help Regards Dilip Explore your hobbies and interests. Go to http://in.promos.yahoo.com/groups/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.trolltech.com/pipermail/qt-embedded-interest/attachments/20080708/8b194737/attachment.html From andre at bitwigglers.org Tue Jul 8 16:52:20 2008 From: andre at bitwigglers.org (Andre Haupt) Date: Tue, 8 Jul 2008 16:52:20 +0200 Subject: [Qt-embedded-interest] Queries wrt QWS Server and QWS manger in QT Embedded In-Reply-To: <699391.78021.qm@web8813.mail.in.yahoo.com> References: <699391.78021.qm@web8813.mail.in.yahoo.com> Message-ID: <20080708145220.GA11703@ahaupt-debian-vm.localdomain> On Tue, Jul 08, 2008 at 07:38:42PM +0530, dilip devaraj wrote: > Hello QT Team > > I am using QT embedded version 2.3 and? am quite new to it . I have the following queries > > 1) The QWS Server knows which is the top most window and its properties? , but if I have 5 widgets which are part of the top level window and want to replace only one of the widgets , what would be the code flow for this ? You may have a look at QWidgetStack for this. Best regards, Andre From husniteja at gmail.com Wed Jul 9 13:26:33 2008 From: husniteja at gmail.com (Husni Teja Sukmana) Date: Wed, 9 Jul 2008 20:26:33 +0900 Subject: [Qt-embedded-interest] how to compile Qtopia with linux-arm Message-ID: <2d7c82da0807090426x5f65db8dvde8aec48df337e7c@mail.gmail.com> Hi all, I am new in QT, i would like to compile Qtopia in my desktop PC for PDA board simulator. I follow these steps: 1. tar the TynuxToolChain.tgz in /usr/local/Tynux 2. setting PATH for TynuxToolChain, and run simple "helloword" application with arm-linux-gcc, and it can run in my PDA board simulator 3. rpm -UVH qtopia-free-1.5.0-1.i386.rpm 4. Setting env as follow: - QTDIR=/opt/Qtopia - TMAKEPATH=/opt/Qtopia/tmake/lib/qws/linux-x86-g++ - LD_LIBRARY_PATH=/opt/Qtopia/lib - PATH =/usr/Qtopia/bin - QPDIR=/opt/Qtopia 5. I try to compile the application /opt/Qtopia/example by following this step - tmake -o Makefile example.pro - make 6. and come the huge error moc_example.o:(.rodata._ZTV7Example[vtable for Example]+0x160): undefined reference to `QWidget::paletteChange(QPalette const&)' moc_example.o:(.rodata._ZTV7Example[vtable for Example]+0x164): undefined reference to `QWidget::fontChange(QFont const&)' ..... is my steps incorrect?? -- -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.trolltech.com/pipermail/qt-embedded-interest/attachments/20080709/a24026ae/attachment.html From husniteja at gmail.com Wed Jul 9 13:29:26 2008 From: husniteja at gmail.com (Husni Teja Sukmana) Date: Wed, 9 Jul 2008 20:29:26 +0900 Subject: [Qt-embedded-interest] (no subject) Message-ID: <2d7c82da0807090429u1e1c8b93i1786f86e6c5ac249@mail.gmail.com> Hi all, I am new in QT, i would like to compile Qtopia in my desktop PC for PDA board simulator. I follow these steps: 1. tar the TynuxToolChain.tgz in /usr/local/Tynux 2. setting PATH for TynuxToolChain, and run simple "helloword" application with arm-linux-gcc, and it can run in my PDA board simulator 3. rpm -UVH qtopia-free-1.5.0-1.i386.rpm 4. Setting env as follow: - QTDIR=/opt/Qtopia - TMAKEPATH=/opt/Qtopia/tmake/lib/qws/linux-x86-g++ - LD_LIBRARY_PATH=/opt/Qtopia/lib - PATH =/usr/Qtopia/bin - QPDIR=/opt/Qtopia 5. I try to compile the application /opt/Qtopia/example by following this step - tmake -o Makefile example.pro - make 6. and come the huge error moc_example.o:(.rodata._ZTV7Example[vtable for Example]+0x160): undefined reference to `QWidget::paletteChange(QPalette const&)' moc_example.o:(.rodata._ZTV7Example[vtable for Example]+0x164): undefined reference to `QWidget::fontChange(QFont const&)' ..... I am using Ubuntu, if i use #gcc -v --> gcc version 4.2.3, i use #arm-linux-gcc -v --> 2.95.3 is my steps incorrect?? ( i am using ubuntu) -- -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.trolltech.com/pipermail/qt-embedded-interest/attachments/20080709/c8530a2f/attachment.html From sunote at yeah.net Sat Jul 19 11:54:23 2008 From: sunote at yeah.net (sunote) Date: Sat, 19 Jul 2008 17:54:23 +0800 (CST) Subject: [Qt-embedded-interest] How can convert QString to const char* ? Message-ID: <9408468.4549661216461263412.JavaMail.coremail@yeahapp5.yeah.net> hi, everyone. I have problem where I try to convert QString to const char*. I get QString from QMultiLineEdit, convert it to const char* message, and send messge to serial port. I have tried several method provided by the QT document,but all have error, There methods are: (const char*)QString QString::latin1() ... I have read the source code of qstring, I find all those method worked by QString::latin1(). The error is that I iuput "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx....." to QMultiLineEdit, and prinft the things in const char in Hex, first 4 to 8 characters is wrong, and the number of wrong character numbers seems corelated with number of input characters.. I want to konw how can convert QString to const char* ? Especially I input Chinese characters, How can i do this? Thanks.. My QT version is qt-2.3.10.. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.trolltech.com/pipermail/qt-embedded-interest/attachments/20080719/c5c6eb85/attachment.html From Scott.Bloom at sabgroup.com Sat Jul 19 12:08:04 2008 From: Scott.Bloom at sabgroup.com (Scott Aron Bloom) Date: Sat, 19 Jul 2008 03:08:04 -0700 Subject: [Qt-embedded-interest] How can convert QString to const char* ? In-Reply-To: <9408468.4549661216461263412.JavaMail.coremail@yeahapp5.yeah.net> References: <9408468.4549661216461263412.JavaMail.coremail@yeahapp5.yeah.net> Message-ID: <7DB34253D57D2B47AEB656218FE6AAEF0C458C@hawkxp.onshorecs.local> If you input chinese characters, you are not working with a string that can convert to a C const char * string. Instead, you are working with Unicode... Your serial port system on both sides needs to be able to handle Unicode. Scott From: qt-embedded-interest-bounces at trolltech.com [mailto:qt-embedded-interest-bounces at trolltech.com] On Behalf Of sunote Sent: Saturday, July 19, 2008 2:54 AM To: qt-embedded-interest at trolltech.com Subject: [Qt-embedded-interest] How can convert QString to const char* ? hi, everyone. I have problem where I try to convert QString to const char*. I get QString from QMultiLineEdit, convert it to const char* message, and send messge to serial port. I have tried several method provided by the QT document,but all have error, There methods are: (const char*)QString QString::latin1() .... I have read the source code of qstring, I find all those method worked by QString::latin1(). The error is that I iuput "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx....." to QMultiLineEdit, and prinft the things in const char in Hex, first 4 to 8 characters is wrong, and the number of wrong character numbers seems corelated with number of input characters.. I want to konw how can convert QString to const char* ? Especially I input Chinese characters, How can i do this? Thanks.. My QT version is qt-2.3.10.. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.trolltech.com/pipermail/qt-embedded-interest/attachments/20080719/2f517cdd/attachment.html From porten at froglogic.com Sat Jul 19 23:19:51 2008 From: porten at froglogic.com (Harri Porten) Date: Sat, 19 Jul 2008 23:19:51 +0200 (CEST) Subject: [Qt-embedded-interest] How can convert QString to const char* ? In-Reply-To: <9408468.4549661216461263412.JavaMail.coremail@yeahapp5.yeah.net> References: <9408468.4549661216461263412.JavaMail.coremail@yeahapp5.yeah.net> Message-ID: Hi! On Sat, 19 Jul 2008, sunote at yeah.net wrote: > I have problem where I try to convert QString to const char*. > > I get QString from QMultiLineEdit, convert it to const char* message, > and send messge to serial port. The latin1() function is no good because of its limited range that will cut of your Chinese characters. Instead use an encoding like UTF-8: QCString cstr = s.utf8(); const char* d = cstr.data(); ... Harri. From dvnsai at gmail.com Wed Jul 23 01:22:02 2008 From: dvnsai at gmail.com (devan sai) Date: Tue, 22 Jul 2008 16:22:02 -0700 Subject: [Qt-embedded-interest] Compiling QT/embedded 4.4 on powerpc linux(debian) In-Reply-To: <6f99db700807221531w4b8642dbr9f58cbbfbf6ee483@mail.gmail.com> References: <6f99db700807221531w4b8642dbr9f58cbbfbf6ee483@mail.gmail.com> Message-ID: <6f99db700807221622t252d4f6eu193a78033986a323@mail.gmail.com> Hi, I am trying to compile the QT/embedded package for powerpc linux in my linux desktop using cross compiler tool chain. I have seen that the compiler name is "powerpc-wrs-linux-gnu-ppc_7400-glibc_cgl-g++" for the target platform. So I just created a new folder in the qws directory of mkspecs. The folder name is linux-powerpcmac-g++. Within this folder, I created the qmake.conf with the actual compiler name prefixes and all. But this doesnt do the compilation properly. The steps I followed 1)./configure -embedded powerpcmac 2)Then as given in embedded cross compilation document given at http://doc.trolltech.com/3.3/emb-install.html - I did a swap of QT_BYTE_ORDER in include/Qt/qconfig.h for BIG endian and LITTLE endian. Then I did a gmake. But this time, it is seen that instead of the cross compiler, the native g++ compiler is invoked for build. Why is it so? Any pointers? Given below is the compilation log for a sample gfile, it says linux-x86-g++ is taken instead of the powerpc directory. Why is it so? g++ -c -pipe -fno-exceptions -O2 -Wall -W -DQT_BOOTSTRAPPED -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_LIBRARY -DQT_NO_STL -DQT_NO_COMPRESS -DQT_NO_DATASTREAM -DQT_NO_TEXTSTREAM -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_THREAD -DQT_NO_REGEXP -DQT_NO_QOBJECT -DQT_NO_SYSTEMLOCALE -DQT_NO_GEOM_VARIANT -DQT_NO_USING_NAMESPACE -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../../mkspecs/qws/linux-x86-g++ -I. -I../../corelib/arch/generic -I../../../include -I. -I../../../include/QtCore -I. -I.uic/release-shared-emb-powerpcmac -o release-shared/qtextstream.o ../../corelib/io/qtextstream.cpp Thanks in advance DSS -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.trolltech.com/pipermail/qt-embedded-interest/attachments/20080722/069ab6c9/attachment.html From hwall at trolltech.com Wed Jul 23 07:57:21 2008 From: hwall at trolltech.com (=?ISO-8859-1?Q?H=E5vard_Wall?=) Date: Wed, 23 Jul 2008 07:57:21 +0200 Subject: [Qt-embedded-interest] Compiling QT/embedded 4.4 on powerpc linux(debian) In-Reply-To: <6f99db700807221622t252d4f6eu193a78033986a323@mail.gmail.com> References: <6f99db700807221531w4b8642dbr9f58cbbfbf6ee483@mail.gmail.com> <6f99db700807221622t252d4f6eu193a78033986a323@mail.gmail.com> Message-ID: <4886C841.6010405@trolltech.com> devan sai wrote: > Hi, > > I am trying to compile the QT/embedded package for powerpc linux in my > linux desktop using cross compiler tool chain. > > I have seen that the compiler name is > "powerpc-wrs-linux-gnu-ppc_7400-glibc_cgl-g++" for the target platform. > > So I just created a new folder in the qws directory of mkspecs. The > folder name is linux-powerpcmac-g++. > > Within this folder, I created the qmake.conf with the actual compiler > name prefixes and all. > > > But this doesnt do the compilation properly. > > The steps I followed > > 1)./configure -embedded powerpcmac > > 2)Then as given in embedded cross compilation document given at > > http://doc.trolltech.com/3.3/emb-install.html - I did a swap of > QT_BYTE_ORDER in include/Qt/qconfig.h for BIG endian and LITTLE endian. > > Then I did a gmake. > > But this time, it is seen that instead of the cross compiler, the > native g++ compiler is invoked for build. > > Why is it so? Any pointers? > > Given below is the compilation log for a sample gfile, it says > linux-x86-g++ is taken instead of the powerpc directory. > > Why is it so? > > g++ -c -pipe -fno-exceptions -O2 -Wall -W -DQT_BOOTSTRAPPED -DQT_MOC > -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_LIBRARY -DQT_NO_STL > -DQT_NO_COMPRESS -DQT_NO_DATASTREAM -DQT_NO_TEXTSTREAM > -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_THREAD -DQT_NO_REGEXP > -DQT_NO_QOBJECT -DQT_NO_SYSTEMLOCALE -DQT_NO_GEOM_VARIANT > -DQT_NO_USING_NAMESPACE -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE > -I../../../mkspecs/qws/linux-x86-g++ -I. -I../../corelib/arch/generic > -I../../../include -I. -I../../../include/QtCore -I. > -I.uic/release-shared-emb-powerpcmac -o release-shared/qtextstream.o > ../../corelib/io/qtextstream.cpp > The -DQT_BOOTSTRAPPED indicates that configure is currently building some of the tools (like moc, rcc or uic). These are needed on the build machine (not on the target machine) and have to be compiled using the native compiler. If you let configure complete you should hopefully see your crosscompiler being used when you afterwards do 'make' to build the target libraries. -- hw