[Wengophone-devel] Change the iLBC payload size (ms)?
Hi,all Asterisk's iLBC payload size (ms) is 30, but wengo's is 20. It's a problem. I changed the codes about ilbc in phcodec.c. static void *ph_ilbc_dec_init(void *dummy) { iLBC_Dec_Inst_t *ctx; ctx = malloc(sizeof(*ctx)); initDecode(ctx, 30, 1); // 20 originally return ctx; } static void *ph_ilbc_enc_init(void *dummy) { iLBC_Enc_Inst_t *ctx; ctx = malloc(sizeof(*ctx)); initEncode(ctx, 30); // 20 originally return ctx; } After compiled, calls between pc and pc will cause the crash of wengo. How shall I do it? ___ Wengophone-devel mailing list Wengophone-devel@lists.openwengo.com http://dev.openwengo.com/mailman/listinfo/wengophone-devel
[Wengophone-devel] Weird Problem
Hi, I basically want to add a button in Tree Widget of Contact List. However when I add columns in ContactList.ui, Group open and down arrow pixmaps start showing up for all columns. As per my understanding, its because QTreeViewDelegate controls paint event. void QtTreeViewDelegate::paint(QPainter * painter, const QStyleOptionViewItem & option, const QModelIndex & index) const { if (!index.parent().isValid()) { drawGroup(painter, option, index); } else { QtContactListManager * ul = QtContactListManager::getInstance(); ul->paintContact(painter, option, index); } } So my question is How can i add columns and add Pusbutton to it? If I add to QtContactManager.cpp in void QtContactManager::redrawContacts() function nothing shows on window after running exe. QTreeWidgetItem * newContact = NULL; QtContact * qtContact = NULL; QString contactName; newContact = new QTreeWidgetItem(group); newContact->setText(0, QString::fromStdString((*it))); newContact->setIcon(1,QIcon(":pics/vonage/icon_man.png")); Thanks. ___ Wengophone-devel mailing list Wengophone-devel@lists.openwengo.com http://dev.openwengo.com/mailman/listinfo/wengophone-devel
RE: [Wengophone-devel] Duplicated Libraries
Gorka, Here are the relevant lines from my wengoenv.py. It sounds like you might be building the wrong version (not the release with symbols version) and that you only fixed the dup library issue for that version. Is that possible? Excuse the wrapping of the lines. def setDebugMode(self): self.__setDefaultFlags() self.__CCFlags += ['-Zi', '/LDd', '-Gm', '/DEBUG', '-D_DEBUG', '/MDd'] #lo msvcself.__linkFlags += ['/DEBUG', '/NODEFAULTLIB:MSVCRT.LIB'] self.__linkFlags += ['/DEBUG', '/NODEFAULTLIB:MSVCRT.LIB', '/NODEFAULTLIB:libcpmt.lib'] def setReleaseMode(self): self.__setDefaultFlags() self.__CCFlags += ['/O1', '/MD'] self.__linkFlags += ['/NODEFAULTLIB:MSVCRTD.LIB'] def setReleaseModeWithSymbols(self): self.__setDefaultFlags() self.__CCFlags += ['/O1', '/MD', '/Zi'] #lo msvcself.__linkFlags += ['/DEBUG', '/NODEFAULTLIB:MSVCRTD.LIB'] self.__linkFlags += ['/DEBUG', '/NODEFAULTLIB:MSVCRTD.LIB', '/NODEFAULTLIB:libcpmt.lib'] def __setDefaultFlags(self): #lo msvcself.__CCFlags = ['/Zm200', '/EHsc', '/GX', '/GR'] self.__CCFlags = ['/Zm200', '/EHsc', '/GR', '/Zc:wchar_t'] self.__linkFlags = [] -Lukas Lukas Oberhuber -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gorka Pinillos Sent: 14 December 2006 16:55 To: wengophone-devel@lists.openwengo.com Subject: [Wengophone-devel] Duplicated Libraries I'm not able to resolve this problem. I have done the changes recommend about duplicated libraries on http://dev.openwengo.com/trac/openwengo/trac.cgi/wiki/HowToBuildFromSourceNg Vs2005 but the error continues. Please I need some help with this. Thanks MSVCRTD.lib(MSVCR71D.dll) : warning LNK4006: __strnicmp ya se definió en LIBCMTD .lib(strnicmp.obj); segunda definición omitida MSVCRTD.lib(MSVCR71D.dll) : warning LNK4006: __read ya se definió en LIBCMTD.lib (read.obj); segunda definición omitida MSVCRTD.lib(MSVCR71D.dll) : warning LNK4006: _wctomb ya se definió en LIBCMTD.li b(wctomb.obj); segunda definición omitida MSVCRTD.lib(MSVCR71D.dll) : warning LNK4006: _isxdigit ya se definió en LIBCMTD. lib(_ctype.obj); segunda definición omitida MSVCRTD.lib(MSVCR71D.dll) : warning LNK4006: _ispunct ya se definió en LIBCMTD.l ib(_ctype.obj); segunda definición omitida MSVCRTD.lib(MSVCR71D.dll) : warning LNK4006: __resetstkoflw ya se definió en LIB CMTD.lib(resetstk.obj); segunda definición omitida MSVCRTD.lib(MSVCR71D.dll) : warning LNK4006: _abort ya se definió en LIBCMTD.lib (abort.obj); segunda definición omitida MSVCRTD.lib(MSVCR71D.dll) : warning LNK4006: _fwrite ya se definió en LIBCMTD.li b(fwrite.obj); segunda definición omitida MSVCRTD.lib(MSVCR71D.dll) : warning LNK4006: _isupper ya se definió en LIBCMTD.l ib(_ctype.obj); segunda definición omitida MSVCRTD.lib(MSVCR71D.dll) : warning LNK4006: _signal ya se definió en LIBCMTD.li b(winsig.obj); segunda definición omitida Creando biblioteca debug\wengophone\src\presentation\qt\qtwengophone.lib y ob jeto debug\wengophone\src\presentation\qt\qtwengophone.exp LINK : warning LNK4098: la biblioteca predeterminada'MSVCRTD' está en conflicto con otras bibliotecas; use la biblioteca /NODEFAULTLIB:biblioteca LINK : warning LNK4098: la biblioteca predeterminada'LIBCMTD' está en conflicto con otras bibliotecas; use la biblioteca /NODEFAULTLIB:biblioteca debug\wengophone\src\presentation\qt\qtwengophone.exe : fatal error LNK1169: se encontraron uno o más símbolos definidos simultáneamente scons: *** [debug\wengophone\src\presentation\qt\qtwengophone.exe] Error 1169 scons: building terminated because of errors. ___ Wengophone-devel mailing list Wengophone-devel@lists.openwengo.com http://dev.openwengo.com/mailman/listinfo/wengophone-devel ___ Wengophone-devel mailing list Wengophone-devel@lists.openwengo.com http://dev.openwengo.com/mailman/listinfo/wengophone-devel
RE: [Wengophone-devel] TabWidget Border
I got the code in QtContactList.cpp for Mac OS X. If I write _ui->tabWidget->layout()->setMargin(10); in QtWengoPhone.cpp then exe crashes. However if I write if(NULL != _ui->tabWidget->layout()) _ui->tabWidget->layout()->setMargin(10); then it runs fine.I think setMargin only changes the margin of layout in which tab widget is contained - like horizontal/vertical/grid layout and not the TabWidget. Please correct me if I am wrong. Thanks From: Philippe BERNERY [mailto:[EMAIL PROTECTED] Sent: Thursday, December 14, 2006 1:03 PM To: Jaya Meghani Cc: wengophone-devel@lists.openwengo.com Subject: Re: [Wengophone-devel] TabWidget Border Le 14 déc. 06 à 17:07, Jaya Meghani a écrit : Hi, I donot find any "Margin" property in designer for QTabWidget. I am using QT Open Source Edition 4.1.2 However I see setContentsMargins ( int, int, int, int ) function in documentation. Is this what you are talking about? Have a look at QLayout::setMargin. We use in QtContactList.cpp for Mac OS X (look for OS_MACOSX in the file). -- Philippe BERNERY <[EMAIL PROTECTED]> http://dev.openwengo.org ___ Wengophone-devel mailing list Wengophone-devel@lists.openwengo.com http://dev.openwengo.com/mailman/listinfo/wengophone-devel
RE: [Wengophone-devel] Using Custom Control
Thanks so much for "promote to custom widget" tip..even though I didn't write about it. I had that problem.. Thanks!!! -Original Message- From: Aurélien Gâteau [mailto:[EMAIL PROTECTED] Sent: Thursday, December 14, 2006 3:45 AM To: Jaya Meghani Cc: wengophone-devel@lists.openwengo.com Subject: Re: [Wengophone-devel] Using Custom Control Jaya Meghani wrote: > Hi, > > I want to use Custom Control - EnhancedTabWidget which is derived > from QTabWidget and use it in WengoPhoneWindow.ui. > I added it to SConscript file in "\wengophone\src\presentation\qt" > > I have Q_OBJECT macro in my class EnhancedTabWidget so i moc it > manually and place it in > \release-symbols\wengophone\src\presentation\qt Hum... this is almost always a bad idea. The link errors you get are probably caused by the fact that the build system is not aware of your "moc"ed file. To integrate your code in the build system, you should - open the src/wengophone/presentation/qt/SConscript file - add the .h to the "headers" array - add the .cpp to the "sources" array Another question: How did you integrate your widget in the UI file? the best way to do so is to add a QTabWidget, then right click on it and select "promote to custom widget". Aurélien ___ Wengophone-devel mailing list Wengophone-devel@lists.openwengo.com http://dev.openwengo.com/mailman/listinfo/wengophone-devel
Re: [Wengophone-devel] TabWidget Border
Le 14 déc. 06 à 17:07, Jaya Meghani a écrit : Hi, I donot find any "Margin" property in designer for QTabWidget. I am using QT Open Source Edition 4.1.2 However I see setContentsMargins ( int, int, int, int ) function in documentation. Is this what you are talking about? Have a look at QLayout::setMargin. We use in QtContactList.cpp for Mac OS X (look for OS_MACOSX in the file). -- Philippe BERNERY <[EMAIL PROTECTED]> http://dev.openwengo.org PGP.sig Description: Ceci est une signature électronique PGP ___ Wengophone-devel mailing list Wengophone-devel@lists.openwengo.com http://dev.openwengo.com/mailman/listinfo/wengophone-devel
[Wengophone-devel] Duplicated Libraries
I'm not able to resolve this problem. I have done the changes recommend about duplicated libraries on http://dev.openwengo.com/trac/openwengo/trac.cgi/wiki/HowToBuildFromSourceNgVs2005 but the error continues. Please I need some help with this. Thanks MSVCRTD.lib(MSVCR71D.dll) : warning LNK4006: __strnicmp ya se definió en LIBCMTD .lib(strnicmp.obj); segunda definición omitida MSVCRTD.lib(MSVCR71D.dll) : warning LNK4006: __read ya se definió en LIBCMTD.lib (read.obj); segunda definición omitida MSVCRTD.lib(MSVCR71D.dll) : warning LNK4006: _wctomb ya se definió en LIBCMTD.li b(wctomb.obj); segunda definición omitida MSVCRTD.lib(MSVCR71D.dll) : warning LNK4006: _isxdigit ya se definió en LIBCMTD. lib(_ctype.obj); segunda definición omitida MSVCRTD.lib(MSVCR71D.dll) : warning LNK4006: _ispunct ya se definió en LIBCMTD.l ib(_ctype.obj); segunda definición omitida MSVCRTD.lib(MSVCR71D.dll) : warning LNK4006: __resetstkoflw ya se definió en LIB CMTD.lib(resetstk.obj); segunda definición omitida MSVCRTD.lib(MSVCR71D.dll) : warning LNK4006: _abort ya se definió en LIBCMTD.lib (abort.obj); segunda definición omitida MSVCRTD.lib(MSVCR71D.dll) : warning LNK4006: _fwrite ya se definió en LIBCMTD.li b(fwrite.obj); segunda definición omitida MSVCRTD.lib(MSVCR71D.dll) : warning LNK4006: _isupper ya se definió en LIBCMTD.l ib(_ctype.obj); segunda definición omitida MSVCRTD.lib(MSVCR71D.dll) : warning LNK4006: _signal ya se definió en LIBCMTD.li b(winsig.obj); segunda definición omitida Creando biblioteca debug\wengophone\src\presentation\qt\qtwengophone.lib y ob jeto debug\wengophone\src\presentation\qt\qtwengophone.exp LINK : warning LNK4098: la biblioteca predeterminada'MSVCRTD' está en conflicto con otras bibliotecas; use la biblioteca /NODEFAULTLIB:biblioteca LINK : warning LNK4098: la biblioteca predeterminada'LIBCMTD' está en conflicto con otras bibliotecas; use la biblioteca /NODEFAULTLIB:biblioteca debug\wengophone\src\presentation\qt\qtwengophone.exe : fatal error LNK1169: se encontraron uno o más símbolos definidos simultáneamente scons: *** [debug\wengophone\src\presentation\qt\qtwengophone.exe] Error 1169 scons: building terminated because of errors. ___ Wengophone-devel mailing list Wengophone-devel@lists.openwengo.com http://dev.openwengo.com/mailman/listinfo/wengophone-devel
RE: [Wengophone-devel] TabWidget Border
Hi, I donot find any "Margin" property in designer for QTabWidget. I am using QT Open Source Edition 4.1.2 However I see setContentsMargins ( int, int, int, int ) function in documentation. Is this what you are talking about? Thanks for reply From: Philippe BERNERY [mailto:[EMAIL PROTECTED] Sent: Thursday, December 14, 2006 10:32 AM To: Jaya Meghani Cc: wengophone-devel@lists.openwengo.com Subject: Re: [Wengophone-devel] TabWidget Border Le 14 déc. 06 à 16:26, Jaya Meghani a écrit : Hi, I want to know how to remove the border around the QTabWidget. I want to remove border from WengoPhoneWindow.ui For Example with widgets inheriting from QFrame you can set QFrame::NoFrame. I tried to derive a class from QTabWidget and override the PaintEvent method to draw rect around the TabWidget with QPalette::Window color. But not satisfied with results. Please let me know if there is any better way of doing it? You should be able to do that by setting a margin of 0 in QtDesigner -- Philippe BERNERY <[EMAIL PROTECTED]> http://dev.openwengo.org ___ Wengophone-devel mailing list Wengophone-devel@lists.openwengo.com http://dev.openwengo.com/mailman/listinfo/wengophone-devel
Re: [Wengophone-devel] TabWidget Border
Le 14 déc. 06 à 16:26, Jaya Meghani a écrit : Hi, I want to know how to remove the border around the QTabWidget. I want to remove border from WengoPhoneWindow.ui For Example with widgets inheriting from QFrame you can set QFrame::NoFrame. I tried to derive a class from QTabWidget and override the PaintEvent method to draw rect around the TabWidget with QPalette::Window color. But not satisfied with results. Please let me know if there is any better way of doing it? You should be able to do that by setting a margin of 0 in QtDesigner -- Philippe BERNERY <[EMAIL PROTECTED]> http://dev.openwengo.org PGP.sig Description: Ceci est une signature électronique PGP ___ Wengophone-devel mailing list Wengophone-devel@lists.openwengo.com http://dev.openwengo.com/mailman/listinfo/wengophone-devel
[Wengophone-devel] TabWidget Border
Hi, I want to know how to remove the border around the QTabWidget. I want to remove border from WengoPhoneWindow.ui For Example with widgets inheriting from QFrame you can set QFrame::NoFrame. I tried to derive a class from QTabWidget and override the PaintEvent method to draw rect around the TabWidget with QPalette::Window color. But not satisfied with results. Please let me know if there is any better way of doing it? Thanks Much ___ Wengophone-devel mailing list Wengophone-devel@lists.openwengo.com http://dev.openwengo.com/mailman/listinfo/wengophone-devel
[Wengophone-devel] Certificate Authentication
Hello I have a question: How can i embed a certificate authentication in the code? Thanks Leonardo ___ Wengophone-devel mailing list Wengophone-devel@lists.openwengo.com http://dev.openwengo.com/mailman/listinfo/wengophone-devel
Re: [Wengophone-devel] URL for the stable OpenWengoNG source (tar/zip) for Windows?
THANKS Very much appreciated and best regards, -E On 12/14/06, Philippe BERNERY <[EMAIL PROTECTED]> wrote: Le 14 déc. 06 à 12:13, EdPimentl a écrit : Hello WengoDev Community!!! Hi Ed, welcome aboard! Can someone please point me to the latest source of OpenWengoNG for windows? There is currently no tarball for source, you must use our svn repository to get the source code. Have a look at http://dev.openwengo.org/trac/openwengo/trac.cgi/wiki/GetTheSourceWengoPhoneNg -- Philippe BERNERY <[EMAIL PROTECTED]> http://dev.openwengo.org -Ed Mail: edpimentl[at]gmail[dot]com VoIP: edpimentl [Skype | GoogleTalk] IM: edpimentl [ AOL | Jabber | Yahoo | MSN ] ___ Wengophone-devel mailing list Wengophone-devel@lists.openwengo.com http://dev.openwengo.com/mailman/listinfo/wengophone-devel
Re: [Wengophone-devel] URL for the stable OpenWengoNG source (tar/zip) for Windows?
Le 14 déc. 06 à 12:13, EdPimentl a écrit : Hello WengoDev Community!!! Hi Ed, welcome aboard! Can someone please point me to the latest source of OpenWengoNG for windows? There is currently no tarball for source, you must use our svn repository to get the source code. Have a look at http:// dev.openwengo.org/trac/openwengo/trac.cgi/wiki/GetTheSourceWengoPhoneNg -- Philippe BERNERY <[EMAIL PROTECTED]> http://dev.openwengo.org PGP.sig Description: Ceci est une signature électronique PGP ___ Wengophone-devel mailing list Wengophone-devel@lists.openwengo.com http://dev.openwengo.com/mailman/listinfo/wengophone-devel
[Wengophone-devel] URL for the stable OpenWengoNG source (tar/zip) for Windows?
Hello WengoDev Community!!! Can someone please point me to the latest source of OpenWengoNG for windows? THANKS!!! in advance, -Ed Mail: edpimentl[at]gmail[dot]com IM: edpimentl [ AOL | Jabber | Yahoo | MSN ] ___ Wengophone-devel mailing list Wengophone-devel@lists.openwengo.com http://dev.openwengo.com/mailman/listinfo/wengophone-devel
Re: [Wengophone-devel] Avoid gcc 4.1: it makes wengophone crash!
Le mercredi 13 décembre 2006 à 23:45 +, Ludovico Cavedon a écrit : > Hi! > Hi, > I noticed that gcc 4.1 is producing bad code with boost libraries, so > WengoPhone > is crashing very often. > > In particular automatic slot disconnection upon object destruction is not > working right. > > To test if your compiler is broken, you can try to compile and run this file: > http://netgroup.polito.it/~cavedon/test-gcc-boost.cc > this should be the correct output > http://netgroup.polito.it/~cavedon/test-gcc-boost.out > > I have tried under Ubuntu edgy: > BAD: gcc-4.1 (GCC) 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5) > OK: gcc-4.0 (GCC) 4.0.4 20060630 (prerelease) (Ubuntu 4.0.3-4) > OK: gcc-3.4 > On Gentoo 2006.1 (up to date) amd64 (64bits distribution) I've tested this versions of gcc : BAD: gcc-4.1.1 [gcc (GCC) 4.1.1 (Gentoo 4.1.1-r3)] BAD: gcc-4.1.0 [gcc-4.1.0 (GCC) 4.1.0 (Gentoo 4.1.0-r1)] OK: gcc-3.4.6 [gcc-3.4.6 (GCC) 3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9)] Thanks for the test case. Do you think that the ticket #1199 is related to this problem ? Regards. Didier Link signature.asc Description: Ceci est une partie de message numériquement signée ___ Wengophone-devel mailing list Wengophone-devel@lists.openwengo.com http://dev.openwengo.com/mailman/listinfo/wengophone-devel
Re: [Wengophone-devel] Avoid gcc 4.1: it makes wengophone crash!
Le 14 déc. 06 à 10:37, Ludovico Cavedon a écrit : I would say that a gcc bug is more likely because it happens only with gcc 4.1.2, which has not been released yet. What distro and gcc version, in your case? I'm not working on it by now, I can tell you this is Ubuntu 6.10. I don't which gcc version is installed with it. -- Philippe BERNERY <[EMAIL PROTECTED]> http://dev.openwengo.org PGP.sig Description: Ceci est une signature électronique PGP ___ Wengophone-devel mailing list Wengophone-devel@lists.openwengo.com http://dev.openwengo.com/mailman/listinfo/wengophone-devel
[Wengophone-devel] [Fwd: [Bug 68014] Re: Rosetta reverts translation fixes to old faulty values]
Hi, For info, the problem with uploading .po files should now be fixed in Rosetta - which means that translating outside Rosetta should be possible again. from tomorrow. Cheers, Dave. Original Message Subject: [Bug 68014] Re: Rosetta reverts translation fixes to old faulty values Date: Wed, 13 Dec 2006 16:07:40 - From: Carlos Perelló Marín Reply-To: Bug 68014 To: Dave Neary References: <[EMAIL PROTECTED]> Right now, this bug is fixed, our QA review is done and should land in our source repository in next hours. Next scheduled code update is next Friday so I hope it will be on production at that time. This means that you should be able to upload files again on Friday. Anyway, I will confirm this tomorrow. -- Rosetta reverts translation fixes to old faulty values https://launchpad.net/bugs/68014 -- Dave Neary OpenWengo Community Development Manager Email: [EMAIL PROTECTED] ___ Wengophone-devel mailing list Wengophone-devel@lists.openwengo.com http://dev.openwengo.com/mailman/listinfo/wengophone-devel
Re: [Wengophone-devel] Avoid gcc 4.1: it makes wengophone crash!
On Thu, 2006-12-14 at 10:38 +0100, Andreas Schneider wrote: > Ludovico Cavedon wrote: > > On Thu, 2006-12-14 at 09:46 +0100, Andreas Schneider wrote: > >> I've compiled the code here on openSUSE 10.2 which has gcc 4.1.2. Did > >> you report the bug to the gcc bugzilla? If yes, could you please post > >> the bug number :) > > > > Did it work for you? > > No, it didn't. I've reported the bug for openSUSE on our bugzilla. > > https://bugzilla.novell.com/show_bug.cgi?id=228524 Here is the bug report for Ubuntu https://launchpad.net/distros/ubuntu/+source/gcc-4.1/+bug/75724 Regards, Ludovico ___ Wengophone-devel mailing list Wengophone-devel@lists.openwengo.com http://dev.openwengo.com/mailman/listinfo/wengophone-devel
Re: [Wengophone-devel] Avoid gcc 4.1: it makes wengophone crash!
Ludovico Cavedon wrote: > On Thu, 2006-12-14 at 09:46 +0100, Andreas Schneider wrote: >> I've compiled the code here on openSUSE 10.2 which has gcc 4.1.2. Did >> you report the bug to the gcc bugzilla? If yes, could you please post >> the bug number :) > > Did it work for you? No, it didn't. I've reported the bug for openSUSE on our bugzilla. https://bugzilla.novell.com/show_bug.cgi?id=228524 > A good idea could be to ask for feedback in a gcc IRC channel. I'll try. > Let us know about the results. Thanks! -- andreas -- http://www.cynapses.org/ - cybernetic synapses signature.asc Description: OpenPGP digital signature ___ Wengophone-devel mailing list Wengophone-devel@lists.openwengo.com http://dev.openwengo.com/mailman/listinfo/wengophone-devel
Re: [Wengophone-devel] Avoid gcc 4.1: it makes wengophone crash!
On Thu, 2006-12-14 at 10:14 +0100, Philippe BERNERY wrote: > Le 14 déc. 06 à 00:45, Ludovico Cavedon a écrit : > > I noticed that gcc 4.1 is producing bad code with boost libraries, > > so WengoPhone > > is crashing very often. > > I noticed this too, very annoying. So this is a boost bug? I would say that a gcc bug is more likely because it happens only with gcc 4.1.2, which has not been released yet. What distro and gcc version, in your case? Regards, Ludovico ___ Wengophone-devel mailing list Wengophone-devel@lists.openwengo.com http://dev.openwengo.com/mailman/listinfo/wengophone-devel
Re: [Wengophone-devel] Avoid gcc 4.1: it makes wengophone crash!
Le 14 déc. 06 à 00:45, Ludovico Cavedon a écrit : I noticed that gcc 4.1 is producing bad code with boost libraries, so WengoPhone is crashing very often. Hi Ludovico, I noticed this too, very annoying. So this is a boost bug? -- Philippe BERNERY <[EMAIL PROTECTED]> http://dev.openwengo.org PGP.sig Description: Ceci est une signature électronique PGP ___ Wengophone-devel mailing list Wengophone-devel@lists.openwengo.com http://dev.openwengo.com/mailman/listinfo/wengophone-devel
Re: [Wengophone-devel] Avoid gcc 4.1: it makes wengophone crash!
On Thu, 2006-12-14 at 09:46 +0100, Andreas Schneider wrote: > I've compiled the code here on openSUSE 10.2 which has gcc 4.1.2. Did > you report the bug to the gcc bugzilla? If yes, could you please post > the bug number :) Did it work for you? I have not reported to gcc bugzilla because the version I have is a pre-release patched by Ubuntu. So I am going to report this to Ubuntu, fisrt. A good idea could be to ask for feedback in a gcc IRC channel. I'll try. Regards, Ludovico ___ Wengophone-devel mailing list Wengophone-devel@lists.openwengo.com http://dev.openwengo.com/mailman/listinfo/wengophone-devel
Re: [Wengophone-devel] Avoid gcc 4.1: it makes wengophone crash!
Ludovico Cavedon wrote: > Hi! Hi Ludovico, > To test if your compiler is broken, you can try to compile and run this file: > http://netgroup.polito.it/~cavedon/test-gcc-boost.cc > this should be the correct output > http://netgroup.polito.it/~cavedon/test-gcc-boost.out > > I have tried under Ubuntu edgy: > BAD: gcc-4.1 (GCC) 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5) > OK: gcc-4.0 (GCC) 4.0.4 20060630 (prerelease) (Ubuntu 4.0.3-4) > OK: gcc-3.4 I've compiled the code here on openSUSE 10.2 which has gcc 4.1.2. Did you report the bug to the gcc bugzilla? If yes, could you please post the bug number :) > > Regards, > Ludovico > -- andreas -- http://www.cynapses.org/ - cybernetic synapses signature.asc Description: OpenPGP digital signature ___ Wengophone-devel mailing list Wengophone-devel@lists.openwengo.com http://dev.openwengo.com/mailman/listinfo/wengophone-devel
Re: [Wengophone-devel] Using Custom Control
Jaya Meghani wrote: Hi, I want to use Custom Control - EnhancedTabWidget which is derived from QTabWidget and use it in WengoPhoneWindow.ui. I added it to SConscript file in "\wengophone\src\presentation\qt" I have Q_OBJECT macro in my class EnhancedTabWidget so i moc it manually and place it in \release-symbols\wengophone\src\presentation\qt Hum... this is almost always a bad idea. The link errors you get are probably caused by the fact that the build system is not aware of your "moc"ed file. To integrate your code in the build system, you should - open the src/wengophone/presentation/qt/SConscript file - add the .h to the "headers" array - add the .cpp to the "sources" array Another question: How did you integrate your widget in the UI file? the best way to do so is to add a QTabWidget, then right click on it and select "promote to custom widget". Aurélien ___ Wengophone-devel mailing list Wengophone-devel@lists.openwengo.com http://dev.openwengo.com/mailman/listinfo/wengophone-devel