Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Please help me to build mozilla under qt

2 views
Skip to first unread message

Eugene Maltsev

unread,
Apr 18, 2006, 5:00:36 AM4/18/06
to
Hi.
I'm trying to build latest mozilla 1.8b1 under linux with qt.
I have set the following:

set QT_INCLUDE_DIR=/usr/local/gcc-3.4.3/qt/include
set QTDIR=/usr/local/gcc-3.4.3/qt
set QT_INCLUDE_DIR=/usr/local/gcc-3.4.3/qt/include
set QT_LIB_DIR=/usr/local/gcc-3.4.3/qt/lib
set LIBRARY_PATH=$LIBRARY_PATH:$QTDIR/lib


And I have qt 3.3.3 simple and comercial to.

When I run configure I have the following error:

checking for LC_MESSAGES... yes
checking for main in -lqt...no

[debug] ac_lib_var=qt_main
[debug] ac_save_LIBS = -ldl -lm
[debug] libs = -lqt -ldl -lm
checking for main in -lqt-mt... no
[debug] ac_lib_var=qt_mt_main
configure: error: Cannot find QT libraries.
*** Fix above errors and then restart with "make -f client.mk build"
make: *** [/home/eugenem/mozillaqt/mozillaobj/suite-opt/Makefile] Error 1


How can I tell mozilla I have qt?

Eugene Maltsev


iv1net

unread,
Apr 24, 2006, 12:59:03 PM4/24/06
to
Eugene Maltsev wrote:
> Hi.
> I'm trying to build latest mozilla 1.8b1 under linux with qt.
> I have set the following:
>
> set QT_INCLUDE_DIR=/usr/local/gcc-3.4.3/qt/include
> set QTDIR=/usr/local/gcc-3.4.3/qt
> set QT_INCLUDE_DIR=/usr/local/gcc-3.4.3/qt/include
> set QT_LIB_DIR=/usr/local/gcc-3.4.3/qt/lib
> set LIBRARY_PATH=$LIBRARY_PATH:$QTDIR/lib
>
>
> And I have qt 3.3.3 simple and comercial to.
>
> When I run configure I have the following error:
>
> checking for LC_MESSAGES... yes
> checking for main in -lqt...no
>
> [debug] ac_lib_var=qt_main
> [debug] ac_save_LIBS = -ldl -lm
> [debug] libs = -lqt -ldl -lm
Put QT in LD_LIBRARY path make sure it is set or
put links to it /usr/lib or /usr/local/lib
do the same for qt-mt...
Make sure you build qt with debug and release libs so
you can use debug to check it out and when it seems
stable cut over the build to release to save space and
increase performance...
0 new messages