Re: Problems building Konq/e with Qtopia Core
"Piero Pezzin" <[email protected]> Tue, 22 Jan 2008 16:26:31 +0100
| Newsgroups | gmane.comp.kde.devel.konq-e |
|---|---|
| Message-ID | <[email protected]> |
--===============0244769916== Content-Type: multipart/alternative; boundary="----=_Part_19833_10903469.1201015591594" ------=_Part_19833_10903469.1201015591594 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello again. It works forcing the define QT_NO_DOM in the qconfig.h contained in $QTDIR/includes. No need to recompile qt-embedded. But, now I have other problems during linking (multiple definitions of KNotifyClient::beep and KStdAccel::findNext()): /bin/sh ../../libtool --silent --tag=CXX --mode=link arm-linux-g++ -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 -o konqueror -L/home/piero/konq-embedded/lib -L/home/piero/work/qt-2.3.10/lib -export-dynamic konqueror.all_cc.o konqueror.all_cpp.o ../../konq-embed/dropin/kio/libkiodropin.la ../../konq-embed/kdesrc/khtml/ecma/libkjs_html_i.la ../../konq-embed/kdesrc/kjs/libkjs.la ../lib/libkonqe.la ../../konq-embed/kdesrc/kparts/libkparts.la ../../konq-embed/dropin/libdropin.la ../../konq-embed/dropin/kparts/libkpartsdropin.la ../../konq-embed/kdesrc/khtml/libkhtml_i.la ../../konq-embed/dropin/kssl/libkssldropin.la ../../konq-embed/kdesrc/kssl/libkssl.la ../../konq-embed/kdesrc/khtml/.libs/libkhtml_i.a(libkhtml_i_la.all_cpp.o)(.text+0x8d0): ../../../konq-embed/dropin/knotifyclient.h:30: multiple definition of `KNotifyClient::beep(QString const&)' ../lib/.libs/libkonqe.a(libdropin_la.all_cpp.o)(.text+0x245c):/home/piero/work/kdenox/konq-embed/dropin/knotifyclient.h:30: first defined here ../../konq-embed/kdesrc/khtml/.libs/libkhtml_i.a(libkhtml_i_la.all_cpp.o)(.text+0x8e8): ../../../konq-embed/dropin/kstdaccel.h:30: multiple definition of `KStdAccel::findNext()' ../lib/.libs/libkonqe.a(libdropin_la.all_cpp.o)(.text+0xede4):/home/piero/work/kdenox/konq-embed/dropin/kstdaccel.h:30: first defined here Could somebody help me? I'm really at just one step to giving up.... Thanks in advance. On Jan 22, 2008 12:04 PM, Piero Pezzin <[email protected]> wrote: > Hello everyone. > I saw that the http.cc file has lines like this: > > #if !defined(QT_NO_DOM) > > before the sections that cause problems. > > Do you think I have to recompile qt-embedded forcing the QT_NO_DOM define > in qconfig.h? Or is it enough configure Konq/e to use a qconfig.h which > defines QT_NO_DOM, even if the qt-embedded library is compiled with dom > support? If the second is the right solution, how can I make Konq/e point to > a different qconfig.h? > > Thanks in advance. > > > On Jan 21, 2008 12:45 PM, Piero Pezzin <[email protected]> wrote: > > > Of course! > > Here you are (look for lines 904, 1489, 1520, 1647): > > > > 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/kdesrc/kdecore > > -I../../../../konq-embed/kdesrc/kdecore/network > > -I../../../../konq-embed/kdesrc/kssl > > -I../../../../konq-embed/kdesrc/interfaces > > -I../../../../konq-embed/dropin/kio -I./../.. -I./../ > > -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 -DMAX_CACHE_AGE=300 -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 libkiohttp_la.all_cc.lo -MD -MP -MF > > ".deps/libkiohttp_la.all_cc.Tpo" -c -o libkiohttp_la.all_cc.lo > > libkiohttp_la.all_cc.cc; \ > > then mv -f ".deps/libkiohttp_la.all_cc.Tpo" > > ".deps/libkiohttp_la.all_cc.Plo"; else rm -f > > ".deps/libkiohttp_la.all_cc.Tpo"; exit 1; fi > > In file included from libkiohttp_la.all_cc.cc:2: > > http.cc: In constructor `HTTPProtocol::HTTPProtocol(const QCString&, > > const > > QCString&, const QCString&)': > > http.cc:215: warning: assignment of negative value `-1' to `filesize_t' > > http.cc :215: warning: argument of negative value `-1' to `long long > > unsigned > > int' > > http.cc: In member function `void > > HTTPProtocol::resetResponseSettings()': > > http.cc:270: warning: assignment of negative value `-1' to `filesize_t' > > http.cc:270: warning: argument of negative value `-1' to `long long > > unsigned > > int' > > http.cc: In member function `void HTTPProtocol::davParsePropstats(const > > QDomNodeList&, KIO::UDSEntry&)': > > http.cc:904: error: `namespaceURI' undeclared (first use this function) > > http.cc:904: error: (Each undeclared identifier is reported only once > > for each > > function it appears in.) > > http.cc: In member function `void HTTPProtocol::davLock(const KURL&, > > const > > QString&, const QString&, const QString&)': > > http.cc:1489: error: `createElementNS' undeclared (first use this > > function) > > http.cc:1520: error: no matching function for call to > > `QDomDocument::setContent > > (QByteArray&, bool)' > > /home/piero/work/qt- 2.3.10/include/qdom.h:278: error: candidates are: > > bool > > QDomDocument::setContent(const QCString&) > > /home/piero/work/qt-2.3.10/include/qdom.h:279: error: > > bool > > QDomDocument::setContent(const QByteArray&) > > /home/piero/work/qt-2.3.10/include/qdom.h:280: error: > > bool > > QDomDocument::setContent(const QString&) > > /home/piero/work/qt-2.3.10/include/qdom.h:281: error: > > bool > > QDomDocument::setContent(QIODevice*) > > http.cc: In member function `QString HTTPProtocol::davError(int, > > QString)': > > http.cc:1647: error: no matching function for call to > > `QDomDocument::setContent > > (QByteArray&, bool)' > > /home/piero/work/qt- 2.3.10/include/qdom.h:278: error: candidates are: > > bool > > QDomDocument::setContent(const QCString&) > > /home/piero/work/qt-2.3.10/include/qdom.h:279: error: > > bool > > QDomDocument::setContent(const QByteArray&) > > /home/piero/work/qt-2.3.10/include/qdom.h:280: error: > > bool > > QDomDocument::setContent(const QString&) > > /home/piero/work/qt-2.3.10/include/qdom.h:281: error: > > bool > > QDomDocument::setContent(QIODevice*) > > http.cc: In member function `bool HTTPProtocol::readHeader()': > > http.cc:3578: warning: comparison between signed and unsigned integer > > expressions > > http.cc: In member function `void HTTPProtocol::addEncoding(QString, > > QStringList&)': > > http.cc:3875: warning: assignment of negative value `-1' to `filesize_t' > > http.cc:3875: warning: argument of negative value `-1' to `long long > > unsigned > > int' > > http.cc : In member function `int HTTPProtocol::readChunked()': > > http.cc:4114: warning: comparison between signed and unsigned integer > > expressions > > http.cc:4172: warning: assignment of negative value `-1' to `filesize_t' > > > > http.cc:4172: warning: argument of negative value `-1' to `long long > > unsigned > > int' > > http.cc: In member function `void HTTPProtocol::slotData(const > > QByteArray&)': > > http.cc:4228: warning: comparison between signed and unsigned integer > > expressions > > http.cc:4233: warning: assignment of negative value `-1' to `filesize_t' > > http.cc:4233: warning: argument of negative value `-1' to `long long > > unsigned > > int' > > http.cc:4249: warning: comparison between signed and unsigned integer > > expressions > > http.cc: In member function `bool HTTPProtocol::readBody(bool)': > > http.cc:4348: warning: comparison between signed and unsigned integer > > expressions > > http.cc:4368: warning: assignment of negative value `-1' to `filesize_t' > > > > http.cc:4368: warning: argument of negative value `-1' to `long long > > unsigned > > int' > > http.cc:4395: warning: comparison between signed and unsigned integer > > expressions > > http.cc:4398: warning: assignment of negative value `-1' to `filesize_t' > > > > http.cc:4398: warning: argument of negative value `-1' to `long long > > unsigned > > int' > > http.cc:4403: warning: assignment of negative value `-1' to `filesize_t' > > http.cc:4403: warning: argument of negative value `-1' to `long long > > unsigned > > int' > > http.cc:4469: warning: comparison between signed and unsigned integer > > expressions > > > > I hope it helps. > > Thanks in advance. > > > > > > 2008/1/21 Max Andruschenko < [email protected]>: > > > > > Could you send me log messages about an error? > > > > > > ----- Original Message ----- > > > *From:* Piero Pezzin <[email protected]> > > > *To:* For discussion of Konqueror/Embedded <[email protected]> > > > *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 <[email protected]> > > > > *To:* For discussion of Konqueror/Embedded <[email protected]> > > > > *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 > > > > > > > > > ------=_Part_19833_10903469.1201015591594 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello again. <br>It works forcing the define QT_NO_DOM in the qconfig.h contained in $QTDIR/includes. No need to recompile qt-embedded.<br>But, now I have other problems during linking (multiple definitions of KNotifyClient::beep and KStdAccel::findNext()): <br><br>/bin/sh ../../libtool --silent --tag=CXX --mode=link arm-linux-g++ -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion <br>-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 <br>-DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST <br>-o konqueror -L/home/piero/konq-embedded/lib -L/home/piero/work/qt-2.3.10/lib -export-dynamic konqueror.all_cc.o konqueror.all_cpp.o ../../konq-embed/dropin/kio/libkiodropin.la ../../konq-embed/kdesrc/khtml/ecma/libkjs_html_i.la ../../konq-embed/kdesrc/kjs/libkjs.la ../lib/libkonqe.la ../../konq-embed/kdesrc/kparts/libkparts.la ../../konq-embed/dropin/libdropin.la ../../konq-embed/dropin/kparts/libkpartsdropin.la ../../konq-embed/kdesrc/khtml/libkhtml_i.la ../../konq-embed/dropin/kssl/libkssldropin.la ../../konq-embed/kdesrc/kssl/libkssl.la <br><br>../../konq-embed/kdesrc/khtml/.libs/libkhtml_i.a(libkhtml_i_la.all_cpp.o)(.text+0x8d0):<br>../../../konq-embed/dropin/knotifyclient.h:30: multiple definition of `KNotifyClient::beep(QString const&)'<br>../lib/.libs/libkonqe.a(libdropin_la.all_cpp.o)(.text+0x245c):/home/piero/work/kdenox/konq-embed/dropin/knotifyclient.h:30: first defined here <br><br>../../konq-embed/kdesrc/khtml/.libs/libkhtml_i.a(libkhtml_i_la.all_cpp.o)(.text+0x8e8):<br>../../../konq-embed/dropin/kstdaccel.h:30: multiple definition of `KStdAccel::findNext()'<br>../lib/.libs/libkonqe.a(libdropin_la.all_cpp.o)(.text+0xede4):/home/piero/work/kdenox/konq-embed/dropin/kstdaccel.h:30: first defined here <br><br>Could somebody help me? I'm really at just one step to giving up....<br><br>Thanks in advance.<br><br><br><div class="gmail_quote">On Jan 22, 2008 12:04 PM, Piero Pezzin <<a href="mailto:[email protected]"> [email protected]</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello everyone. <br>I saw that the http.cc file has lines like this: <br><br>#if !defined(QT_NO_DOM)<br><br>before the sections that cause problems.<br><br>Do you think I have to recompile qt-embedded forcing the QT_NO_DOM define in qconfig.h? Or is it enough configure Konq/e to use a qconfig.h which defines QT_NO_DOM, even if the qt-embedded library is compiled with dom support? If the second is the right solution, how can I make Konq/e point to a different qconfig.h?<br><br>Thanks in advance.<div><div></div><div class="Wj3C7c"><br><br><div class="gmail_quote">On Jan 21, 2008 12:45 PM, Piero Pezzin <<a href="mailto:[email protected]" target="_blank">[email protected] </a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Of course!<br>Here you are (look for lines 904, 1489, 1520, 1647):<br><br>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/kdesrc/kdecore -I../../../../konq-embed/kdesrc/kdecore/network -I../../../../konq-embed/kdesrc/kssl -I../../../../konq-embed/kdesrc/interfaces -I../../../../konq-embed/dropin/kio -I./../.. -I./../ -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 -DMAX_CACHE_AGE=300 -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 libkiohttp_la.all_cc.lo -MD -MP -MF ".deps/libkiohttp_la.all_cc.Tpo" -c -o libkiohttp_la.all_cc.lo libkiohttp_la.all_cc.cc; \ <br>then mv -f ".deps/libkiohttp_la.all_cc.Tpo" ".deps/libkiohttp_la.all_cc.Plo"; else rm -f ".deps/libkiohttp_la.all_cc.Tpo"; exit 1; fi<br>In file included from libkiohttp_la.all_cc.cc:2:<br> http.cc: In constructor `HTTPProtocol::HTTPProtocol(const QCString&, const<br> QCString&, const QCString&)':<br>http.cc:215: warning: assignment of negative value `-1' to `filesize_t'<br>http.cc :215: warning: argument of negative value `-1' to `long long unsigned <br> int'<br>http.cc: In member function `void HTTPProtocol::resetResponseSettings()':<br>http.cc:270: warning: assignment of negative value `-1' to `filesize_t'<br>http.cc:270: warning: argument of negative value `-1' to `long long unsigned <br> int'<br>http.cc: In member function `void HTTPProtocol::davParsePropstats(const<br> QDomNodeList&, KIO::UDSEntry&)':<br>http.cc:904: error: `namespaceURI' undeclared (first use this function) <br> http.cc:904: error: (Each undeclared identifier is reported only once for each<br> function it appears in.)<br>http.cc: In member function `void HTTPProtocol::davLock(const KURL&, const<br> QString&, const QString&, const QString&)': <br>http.cc:1489: error: `createElementNS' undeclared (first use this function)<br>http.cc:1520: error: no matching function for call to `QDomDocument::setContent<br> (QByteArray&, bool)'<br>/home/piero/work/qt- 2.3.10/include/qdom.h:278: error: candidates are: bool<br> QDomDocument::setContent(const QCString&)<br>/home/piero/work/qt-2.3.10/include/qdom.h:279: error: bool<br> QDomDocument::setContent(const QByteArray&) <br>/home/piero/work/qt-2.3.10/include/qdom.h:280: error: bool<br> QDomDocument::setContent(const QString&)<br>/home/piero/work/qt-2.3.10/include/qdom.h:281: error: bool<br> QDomDocument::setContent(QIODevice*) <br>http.cc: In member function `QString HTTPProtocol::davError(int, QString)':<br>http.cc:1647: error: no matching function for call to `QDomDocument::setContent<br> (QByteArray&, bool)'<br>/home/piero/work/qt- 2.3.10/include/qdom.h:278: error: candidates are: bool<br> QDomDocument::setContent(const QCString&)<br>/home/piero/work/qt-2.3.10/include/qdom.h:279: error: bool<br> QDomDocument::setContent(const QByteArray&) <br>/home/piero/work/qt-2.3.10/include/qdom.h:280: error: bool<br> QDomDocument::setContent(const QString&)<br>/home/piero/work/qt-2.3.10/include/qdom.h:281: error: bool<br> QDomDocument::setContent(QIODevice*) <br>http.cc: In member function `bool HTTPProtocol::readHeader()':<br>http.cc:3578: warning: comparison between signed and unsigned integer<br> expressions<br>http.cc: In member function `void HTTPProtocol::addEncoding(QString, <br> QStringList&)':<br>http.cc:3875: warning: assignment of negative value `-1' to `filesize_t'<br>http.cc:3875: warning: argument of negative value `-1' to `long long unsigned<br> int'<br>http.cc : In member function `int HTTPProtocol::readChunked()':<br>http.cc:4114: warning: comparison between signed and unsigned integer<br> expressions<br>http.cc:4172: warning: assignment of negative value `-1' to `filesize_t' <br>http.cc:4172: warning: argument of negative value `-1' to `long long unsigned<br> int'<br>http.cc: In member function `void HTTPProtocol::slotData(const QByteArray&)':<br>http.cc:4228: warning: comparison between signed and unsigned integer <br> expressions<br>http.cc:4233: warning: assignment of negative value `-1' to `filesize_t'<br>http.cc:4233: warning: argument of negative value `-1' to `long long unsigned<br> int'<br>http.cc:4249: warning: comparison between signed and unsigned integer <br> expressions<br>http.cc: In member function `bool HTTPProtocol::readBody(bool)':<br>http.cc:4348: warning: comparison between signed and unsigned integer<br> expressions<br>http.cc:4368: warning: assignment of negative value `-1' to `filesize_t' <br>http.cc:4368: warning: argument of negative value `-1' to `long long unsigned<br> int'<br>http.cc:4395: warning: comparison between signed and unsigned integer<br> expressions<br>http.cc:4398: warning: assignment of negative value `-1' to `filesize_t' <br>http.cc:4398: warning: argument of negative value `-1' to `long long unsigned<br> int'<br>http.cc:4403: warning: assignment of negative value `-1' to `filesize_t'<br>http.cc:4403: warning: argument of negative value `-1' to `long long unsigned <br> int'<br>http.cc:4469: warning: comparison between signed and unsigned integer<br> expressions<br><br>I hope it helps. <br>Thanks in advance.<br><br><br><div class="gmail_quote"><div><div></div><div> 2008/1/21 Max Andruschenko < <a href="mailto:[email protected]" target="_blank">[email protected]</a>>:<br></div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div bgcolor="#ffffff"><div><div></div><div> <div><font face="Arial" size="2">Could you send me log messages about an error?</font></div> <blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;"><div> <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">----- Original Message ----- </div> <div style="background: rgb(228, 228, 228) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"> <b>From:</b> <a title="[email protected]" href="mailto:[email protected]" target="_blank">Piero Pezzin</a> </div> <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>To:</b> <a title="[email protected]" href="mailto:[email protected]" target="_blank"> For discussion of Konqueror/Embedded</a> </div></div><div><div></div><div> <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Sent:</b> Monday, January 21, 2008 1:01 PM</div> <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Subject:</b> Re: Problems building Konq/e with Qtopia Core</div> <div><br></div>Hello Max, thank you very much for your help. <br>It worked! <br><br>...but now I have problems with the class http.cc.<br><br>First of all, the line <br><br>#include <qdom.h><br><br>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) <br><br>multiResponse.setContent( m_bufWebDavData, true );<br><br>but qdom.h defines <br><br>bool setContent( const QByteArray& text );<br><br>Another problem is that at line 902 there is a call to QDomElement::namespaceURI(), which is not defined in qdom.h.<br><br>I recall that I'm using qt-2.3.10. Am I missing something?<br><br>Thanks in advance and kind regards.<br><br><br> <div class="gmail_quote">2008/1/21 Max Andruschenko <<a href="mailto:[email protected]" target="_blank"> [email protected]</a>>:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div bgcolor="#ffffff"> <div><font face="Arial" size="2">Hello friend!</font></div> <div><font face="Arial" size="2"></font> </div> <div><font face="Arial" size="2">The solution for your problem is:</font></div> <div><font face="Arial" size="2"></font> </div> <div><font face="Arial" size="2">open kextsock.h</font></div> <div><font face="Arial" size="2">comment the lines</font></div> <div><font face="Arial" size="2">#ifdef Q_OS_UNIX</font></div> <div><font face="Arial" size="2">and it's #endif</font></div> <div><font face="Arial" size="2"></font> </div> <div><font face="Arial" size="2">That's all.</font></div> <div><font face="Arial" size="2"></font> </div> <div><font face="Arial" size="2">Have a nice day!</font></div> <blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;"> <div> <div></div> <div> <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">----- Original Message ----- </div> <div style="background: rgb(228, 228, 228) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"> <b>From:</b> <a title="[email protected]" href="mailto:[email protected]" target="_blank">Piero Pezzin</a> </div> <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>To:</b> <a title="[email protected]" href="mailto:[email protected]" target="_blank">For discussion of Konqueror/Embedded</a> </div> <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Sent:</b> Friday, January 18, 2008 7:18 PM</div> <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Subject:</b> Re: Problems building Konq/e with Qtopia Core</div> <div><br></div>Hello everyone.<br>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 <a href="ftp://ftp.h" target="_blank">ftp.h</a>, as you can see from the messages below:<br><br>If /bin/sh ../../../libtool --silent --tag=CXX --mode=compile arm-linux-g++<br>-DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../konq-embed/kdesrc/kdecore<br>-I../../../konq-embed/kdesrc/kjs -I../../../konq-embed/kdesrc/kssl <br>-I../../../konq-embed/dropin -I../../../konq-embed/dropin/kio<br>-I../../../konq-embed/dropin/kssl -I../../../konq-embed/kdesrc<br>-I../../../konq-embed/kdesrc/kdecore<br>-I../../../konq-embed/kdesrc/kdecore/network -I../../../konq-embed/kdesrc/kssl <br>-I../../../konq-embed/kdesrc/kssl -I/home/piero/konq-embedded/include<br>-I/home/piero/work/qt-2.3.10/include<br>-I/home/piero/work/qtopia-free-2.2.0/qtopia/include/qtopia<br>-DQT_THREAD_SUPPORT -DQWS -D_REENTRANT -Wno-long-long -Wundef -ansi <br>-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts<br>-Wall -W -Wpointer-arith -fno-builtin -g3 -fno-inline -Wformat-security<br>-Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions <br>-fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT<br>-DQT_NO_ASCII_CAST -MT ftp.lo -MD -MP -MF ".deps/ftp.Tpo" -c -o ftp.lo<br>ftp.cc; \<br>then mv -f ".deps/ftp.Tpo" ".deps/ftp.Plo"; else rm -f ".deps/ftp.Tpo"; exit <br>1; fi<br>In file included from ftp.cc:26:<br>ftp.h:141: error: parse error before `{' token<br>ftp.h:154: error: ISO C++ forbids declaration of `m_server' with no type<br>ftp.h:155: error: parse error before `}' token <br>ftp.h:157: error: destructors must be member functions<br>ftp.h: In function `void FtpSocket()':<br>ftp.h:157: error: `closeSocket' undeclared (first use this function)<br>ftp.h:157: error: (Each undeclared identifier is reported only once for each <br> function it appears in.)<br>ftp.h: At global scope:<br>ftp.h:162: error: `void closeSocket()' used prior to declaration<br>ftp.h:169: error: non-member function `int server()' cannot have `const'<br>method <br> qualifier<br>ftp.h:179: error: non-member function `int sock()' cannot have `const' method<br> qualifier<br>ftp.h: In function `int sock()':<br>ftp.h:179: error: `fd' undeclared (first use this function) <br>ftp.h: At global scope:<br>ftp.h:184: error: non-member function `void debugMessage(const char*)' cannot<br> have `const' method qualifier<br>ftp.h:189: error: non-member function `int errorMessage(int, const char*)' <br> cannot have `const' method qualifier<br>ftp.h:199: error: non-member function `bool setSocketOption(int, char*,<br> unsigned int)' cannot have `const' method qualifier<br>ftp.h: In function `int textRead()': <br>ftp.h:222: error: invalid use of `this' in non-member function<br>ftp.h: At global scope:<br>ftp.h:225: error: parse error before `private'<br>ftp.h:227: error: redefinition of `int m_server'<br>ftp.h:154: error: `int m_server' previously defined here <br>ftp.h:228: error: parse error before `}' token<br>ftp.h:590: error: syntax error before `*' token<br>ftp.h:595: error: syntax error before `*' token<br>ftp.cc:170: error: `pSock' was not declared in this scope <br>ftp.cc:171: error: `int FtpTextReader::textRead' is not a static member of `<br> class FtpTextReader'<br><br>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.<br><br>Any clue?<br><br>Thanks in advance and kind regards.<br><br><br> <div class="gmail_quote">On Jan 15, 2008 2:48 PM, Piero Pezzin <<a href="mailto:[email protected]" target="_blank">[email protected] </a>> wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Ok, thanks. If I'll fail with the building of Konq/e, I will wait for the next version of Qtopia. <div> <div></div> <div><br><br> <div class="gmail_quote">On Jan 15, 2008 2:12 PM, Luciano Montanaro <<a href="mailto:[email protected]" target="_blank">[email protected] </a>> wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Il Tuesday 15 January 2008 14:00:08 Piero Pezzin ha scritto:<br> <div>> Thank you very much.<br>> So I can forget about qt and concentrate on qt/embedded and qtopia. That's<br>> what I wanted to hear. There is a lot of confusion about this topic..<br>><br>> Ok, I'm going to try. I suppose it won't be a pleasant work... <br><br></div>Well, not exactly. Qt3 (at least Qt3.3) *used* to work correctly. I think<br>there are a few issues with Qt3 and current SVN, but those should be easy<br>enough to fix. What is not going to work is using Qtopia (Or Qt 4, for that <br>matter). But Qt4.4 should ship with Webkit, so if you can wait (it is<br>expected in Q1 2008, so within a few months now) that could provide you with<br>a good browser component to start off.<br><font color="#888888"><br>Luciano<br></font> <div> <div></div> <div><br>><br>> 2008/1/15 Max Andruschenko <<a href="mailto:[email protected]" target="_blank">[email protected]</a>>:<br>> > Hi dear friend.<br>> ><br>> > I can say you a definitly wrong. <br>> > You can compile Konqueror embedded only for qtopia version 2.2.0 or<br>> > 2.2.2. So, first you should to do is to get qt embedded version 2.3.10 or<br>> > 2.3.12. Compile it with your cross compiler, at the end you should get <br>> > qte-mt multithread library. And you should compile it with rtti support,<br>> > by default it compiles without rtti.<br>> > Then compile qtopia version 2.2.0 with library qte-mt. If during the<br>> > building you get qte library, remove it from the folder. Also you should<br>> > compile qtopia with rtti support.<br>> > Then compile konqueror.<br>> ><br>> > Good luck!<br><br><br>_______________________________________________ <br>konq-e mailing list<br><a href="mailto:[email protected]" target="_blank">[email protected]</a><br><a href="https://mail.kde.org/mailman/listinfo/konq-e" target="_blank">https://mail.kde.org/mailman/listinfo/konq-e </a> <br></div></div></blockquote></div><br></div></div></blockquote></div><br></div></div> <p></p> <hr> <p></p>_______________________________________________ <div><br>konq-e mailing list<br><a href="mailto:[email protected]" target="_blank">[email protected]</a><br><a href="https://mail.kde.org/mailman/listinfo/konq-e" target="_blank">https://mail.kde.org/mailman/listinfo/konq-e </a><br></div></blockquote></div><br>_______________________________________________<br>konq-e mailing list<br><a href="mailto:[email protected]" target="_blank">[email protected]</a><br><a href="https://mail.kde.org/mailman/listinfo/konq-e" target="_blank">https://mail.kde.org/mailman/listinfo/konq-e </a><br><br></blockquote></div><br> </div></div><p> </p><hr> <p></p>_______________________________________________<div><br>konq-e mailing list<br><a href="mailto:[email protected]" target="_blank">[email protected]</a><br><a href="https://mail.kde.org/mailman/listinfo/konq-e" target="_blank">https://mail.kde.org/mailman/listinfo/konq-e</a><br></div></blockquote> </div></div> </div> <br>_______________________________________________<div><br>konq-e mailing list<br><a href="mailto:[email protected]" target="_blank">[email protected]</a><br><a href="https://mail.kde.org/mailman/listinfo/konq-e" target="_blank"> https://mail.kde.org/mailman/listinfo/konq-e </a><br><br></div></blockquote></div><br> </blockquote></div><br> </div></div></blockquote></div><br> ------=_Part_19833_10903469.1201015591594-- --===============0244769916== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ konq-e mailing list [email protected] https://mail.kde.org/mailman/listinfo/konq-e --===============0244769916==--