[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Qt building problems...



Is the gcc you are using the same as the gcc with which the Qt libraries were 
built?

That can cause problems if, say, you're using gcc 2.95 but Qt was built with 
gcc 3.2 or vice versa...

David

On Friday 11 April 2003 16:31, Andrzej Koszela wrote:
> Hm... now even weirder things are happening:
>
> It freezes for a few seconds on the 'checking for Qt', and then gives the
> same message. The thing in config.log that I think is important is:
>
> configure:9663: checking for Qt
> configure: 9725: /usr/share/qt3/include/qstyle.h
> taking that
> configure:9830: rm -rf SunWS_cache; g++ -o conftest -O2 -fno-exceptions
> -fno-che
> ck-new -I/usr/share/qt3/include -I/usr/X11R6/include  -DQT_THREAD_SUPPORT
> -D_REENTRANT  -L/usr/share/qt3/lib -L/usr/X11R6/lib   conftest.cc  -lqt-mt
> -lpng -lz -lm -ljpeg -ldl  -lXext -lX11 -lSM -lICE  -lresolv -lpthread 1>&5
>
> /tmp/ccOYvCFi.o(.text+0xb): In function `main':
> : undefined reference to `QString::null'
>
> etc... (lots of 'undefined reference')
>
> Does this mean anything? It looks to me that it finds the libraries, but
> something doesn't work...
>
> Andrzej
>
> On Friday 11 April 2003 17.07, Todd Charron wrote:
> > Try
> >
> > --with-qt-dir=/usr/share/qt3
> >
> > Todd



Reply to: