Konq/E on Qtopia 2.1.2

Hoi xerxestph at gmail.com
Mon Aug 1 11:41:10 CEST 2005


Dear all

I am currently trying to make Konqueror/Embedded work on Qtopia 2.1.2
Phone Edition (Qt/E-2.3.11). I have downloaded
"konqueror-embedded-snapshot-20030705" and successfully configured it
with the following command:

./configure --with-gui=qpe --enable-qpe --enable-qt-embedded
--enable-embedded --enable-qtopia --with-qtopia-dir=$QPEDIR
--with-qt-dir=$QTEDIR

Then I replaced the "qconfig-local-qpe-konqe.h" with my own "qconfig-qpe.h"
The source had a little problem with my GCC-3.4.3 so I also manually
removed all occurence of "-pedantic" flag in the Makefiles after
runnning the configure script.

The compilation proceeded smoothly, until the final step -- Linking "konqueror":

/bin/sh ../../libtool --mode=link --tag=CXX g++  -Wnon-virtual-dtor
-Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wmissing-prototypes
-Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -DQWS -D_BSD_SOURCE
-Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new -fno-rtti
-D_QT_QPE_ -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST   
-o konqueror  -L/usr/lib   main.o mainwindowbase.o htmlview.o
popuphandler.o view.o run.o browseriface.o bookmarks.o preferences.o
preferencesimpl.o mainwindow_qpe.o mainwindow_x11.o mainwindow_kiosk.o
xmltree.o bookmarkeditor.o bookmarkeditorimpl.o bookmarkedit.o
bookmarkeditimpl.o mainwindebug.o  
../../konq-embed/kdesrc/khtml/ecma/libkjs_html_i.la
../../konq-embed/kdesrc/kjs/libkjs.la -lpcre -lpcreposix
../../konq-embed/kdesrc/khtml/libkhtml_i.la

To look at what libtool exactly calls, I removed "--silent" flag in
the Makefile:

g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith
-Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -DQWS
-D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions
-fno-check-new -fno-rtti -D_QT_QPE_ -DQT_CLEAN_NAMESPACE
-DQT_NO_COMPAT -DQT_NO_ASCII_CAST -o konqueror main.o mainwindowbase.o
htmlview.o popuphandler.o view.o run.o browseriface.o bookmarks.o
preferences.o preferencesimpl.o mainwindow_qpe.o mainwindow_x11.o
mainwindow_kiosk.o xmltree.o bookmarkeditor.o bookmarkeditorimpl.o
bookmarkedit.o bookmarkeditimpl.o mainwindebug.o  -L/usr/lib
../../konq-embed/kdesrc/khtml/ecma/.libs/libkjs_html_i.a
-L/usr/lib/gcc/i386-redhat-linux/3.4.3
-L/usr/lib/gcc/i386-redhat-linux/3.4.3/../../..
../../konq-embed/kdesrc/kjs/.libs/libkjs.a -lpcre -lpcreposix
../../konq-embed/kdesrc/khtml/.libs/libkhtml_i.a -lqte -lpng -lz -ldl
/usr/lib/libjpeg.so -lstdc++ -lm -lc -lgcc_s

Note that -lqpe, -lqtopia, -lqtopia2 and the library path are missing
here. But even I added those four flags, I still get tons of
"undefined reference" errors:

mainwindowbase.o(.text+0x1b2b): In function `PopupAction::staticMetaObject()':
: undefined reference to `QMetaObject::new_metaobject(char const*,
char const*, QMetaData*, int, QMetaData*, int, QMetaProperty*, int,
QMetaEnum*, int, QClassInfo*, int)'
mainwindowbase.o(.text+0x20af): In function
`MainWindowBase::staticMetaObject()':
: undefined reference to `QMetaObject::new_metaobject(char const*,
char const*, QMetaData*, int, QMetaData*, int, QMetaProperty*, int,
QMetaEnum*, int, QClassInfo*, int)'
mainwindowbase.o(.gnu.linkonce.r._ZTV14MainWindowBase+0x134):
undefined reference to `QWidget::dragEnterEvent(QDragEnterEvent*)'
mainwindowbase.o(.gnu.linkonce.r._ZTV14MainWindowBase+0x138):
undefined reference to `QWidget::dragMoveEvent(QDragMoveEvent*)'
mainwindowbase.o(.gnu.linkonce.r._ZTV14MainWindowBase+0x13c):
undefined reference to `QWidget::dragLeaveEvent(QDragLeaveEvent*)'
mainwindowbase.o(.gnu.linkonce.r._ZTV14MainWindowBase+0x140):
undefined reference to `QWidget::dropEvent(QDropEvent*)'
htmlview.o(.text+0xeb2): In function `HTMLView::staticMetaObject()':
: undefined reference to `QMetaObject::new_metaobject(char const*,
char const*, QMetaData*, int, QMetaData*, int, QMetaProperty*, int,
QMetaEnum*, int, QClassInfo*, int)'
view.o(.text+0x82b): In function `View::staticMetaObject()':
: undefined reference to `QMetaObject::new_metaobject(char const*,
char const*, QMetaData*, int, QMetaData*, int, QMetaProperty*, int,
QMetaEnum*, int, QClassInfo*, int)'
view.o(.text+0xc41): In function `BrowserView::staticMetaObject()':
: undefined reference to `QMetaObject::new_metaobject(char const*,
char const*, QMetaData*, int, QMetaData*, int, QMetaProperty*, int,
QMetaEnum*, int, QClassInfo*, int)'
browseriface.o(.text+0x10b): In function `BrowserInterface::staticMetaObject()':
: undefined reference to `QMetaObject::new_metaproperty(int)'
(and more...)

Could anyone please kindly give advice?

Regards
Xerxes


More information about the konq-e mailing list