Re: Problems building Konq/e with Qtopia Core
"Max Andruschenko" <[email protected]> Mon, 21 Jan 2008 13:30:23 +0200
| Newsgroups | gmane.comp.kde.devel.konq-e |
|---|---|
| Message-ID | <[email protected]> |
Could you send me log messages about an error? ----- Original Message ----- From: Piero Pezzin To: For discussion of Konqueror/Embedded Sent: Monday, January 21, 2008 1:01 PM Subject: Re: Problems building Konq/e with Qtopia Core Hello Max, thank you very much for your help. It worked! ...but now I have problems with the class http.cc. First of all, the line #include <qdom.h> was commented and there were problems with finding QDomElement and QDomDocument classes. So I uncommented that line, but now the problem is that we have calls to the function setContent with a bool parameter passed (line 746) multiResponse.setContent( m_bufWebDavData, true ); but qdom.h defines bool setContent( const QByteArray& text ); Another problem is that at line 902 there is a call to QDomElement::namespaceURI(), which is not defined in qdom.h. I recall that I'm using qt-2.3.10. Am I missing something? Thanks in advance and kind regards. 2008/1/21 Max Andruschenko < [email protected]>: Hello friend! The solution for your problem is: open kextsock.h comment the lines #ifdef Q_OS_UNIX and it's #endif That's all. Have a nice day! ----- Original Message ----- From: Piero Pezzin To: For discussion of Konqueror/Embedded Sent: Friday, January 18, 2008 7:18 PM Subject: Re: Problems building Konq/e with Qtopia Core Hello everyone. After unnumbered attempts, I got some results: configure works fine and make starts correctly. But it blocks at a certain point, complaining about the file ftp.h, as you can see from the messages below: If /bin/sh ../../../libtool --silent --tag=CXX --mode=compile arm-linux-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../konq-embed/kdesrc/kdecore -I../../../konq-embed/kdesrc/kjs -I../../../konq-embed/kdesrc/kssl -I../../../konq-embed/dropin -I../../../konq-embed/dropin/kio -I../../../konq-embed/dropin/kssl -I../../../konq-embed/kdesrc -I../../../konq-embed/kdesrc/kdecore -I../../../konq-embed/kdesrc/kdecore/network -I../../../konq-embed/kdesrc/kssl -I../../../konq-embed/kdesrc/kssl -I/home/piero/konq-embedded/include -I/home/piero/work/qt-2.3.10/include -I/home/piero/work/qtopia-free-2.2.0/qtopia/include/qtopia -DQT_THREAD_SUPPORT -DQWS -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -fno-builtin -g3 -fno-inline -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -MT ftp.lo -MD -MP -MF ".deps/ftp.Tpo" -c -o ftp.lo ftp.cc; \ then mv -f ".deps/ftp.Tpo" ".deps/ftp.Plo"; else rm -f ".deps/ftp.Tpo"; exit 1; fi In file included from ftp.cc:26: ftp.h:141: error: parse error before `{' token ftp.h:154: error: ISO C++ forbids declaration of `m_server' with no type ftp.h:155: error: parse error before `}' token ftp.h:157: error: destructors must be member functions ftp.h: In function `void FtpSocket()': ftp.h:157: error: `closeSocket' undeclared (first use this function) ftp.h:157: error: (Each undeclared identifier is reported only once for each function it appears in.) ftp.h: At global scope: ftp.h:162: error: `void closeSocket()' used prior to declaration ftp.h:169: error: non-member function `int server()' cannot have `const' method qualifier ftp.h:179: error: non-member function `int sock()' cannot have `const' method qualifier ftp.h: In function `int sock()': ftp.h:179: error: `fd' undeclared (first use this function) ftp.h: At global scope: ftp.h:184: error: non-member function `void debugMessage(const char*)' cannot have `const' method qualifier ftp.h:189: error: non-member function `int errorMessage(int, const char*)' cannot have `const' method qualifier ftp.h:199: error: non-member function `bool setSocketOption(int, char*, unsigned int)' cannot have `const' method qualifier ftp.h: In function `int textRead()': ftp.h:222: error: invalid use of `this' in non-member function ftp.h: At global scope: ftp.h:225: error: parse error before `private' ftp.h:227: error: redefinition of `int m_server' ftp.h:154: error: `int m_server' previously defined here ftp.h:228: error: parse error before `}' token ftp.h:590: error: syntax error before `*' token ftp.h:595: error: syntax error before `*' token ftp.cc:170: error: `pSock' was not declared in this scope ftp.cc:171: error: `int FtpTextReader::textRead' is not a static member of ` class FtpTextReader' To me the file seems correct, but I can be wrong. I'm using kdenox_snapshot_qt2_20070531, with qt-embedded 2.3.10 and qtopia 2.2.0. Any clue? Thanks in advance and kind regards. On Jan 15, 2008 2:48 PM, Piero Pezzin <[email protected] > wrote: Ok, thanks. If I'll fail with the building of Konq/e, I will wait for the next version of Qtopia. On Jan 15, 2008 2:12 PM, Luciano Montanaro <[email protected] > wrote: Il Tuesday 15 January 2008 14:00:08 Piero Pezzin ha scritto: > Thank you very much. > So I can forget about qt and concentrate on qt/embedded and qtopia. That's > what I wanted to hear. There is a lot of confusion about this topic.. > > Ok, I'm going to try. I suppose it won't be a pleasant work... Well, not exactly. Qt3 (at least Qt3.3) *used* to work correctly. I think there are a few issues with Qt3 and current SVN, but those should be easy enough to fix. What is not going to work is using Qtopia (Or Qt 4, for that matter). But Qt4.4 should ship with Webkit, so if you can wait (it is expected in Q1 2008, so within a few months now) that could provide you with a good browser component to start off. Luciano > > 2008/1/15 Max Andruschenko <[email protected]>: > > Hi dear friend. > > > > I can say you a definitly wrong. > > You can compile Konqueror embedded only for qtopia version 2.2.0 or > > 2.2.2. So, first you should to do is to get qt embedded version 2.3.10 or > > 2.3.12. Compile it with your cross compiler, at the end you should get > > qte-mt multithread library. And you should compile it with rtti support, > > by default it compiles without rtti. > > Then compile qtopia version 2.2.0 with library qte-mt. If during the > > building you get qte library, remove it from the folder. Also you should > > compile qtopia with rtti support. > > Then compile konqueror. > > > > Good luck! _______________________________________________ konq-e mailing list [email protected] https://mail.kde.org/mailman/listinfo/konq-e -------------------------------------------------------------------------- _______________________________________________ konq-e mailing list [email protected] https://mail.kde.org/mailman/listinfo/konq-e _______________________________________________ konq-e mailing list [email protected] https://mail.kde.org/mailman/listinfo/konq-e ------------------------------------------------------------------------------ _______________________________________________ konq-e mailing list [email protected] https://mail.kde.org/mailman/listinfo/konq-e _______________________________________________ konq-e mailing list [email protected] https://mail.kde.org/mailman/listinfo/konq-e