Originally Posted by
spjackson
You need to set that yourself.
Code:
export QTDIR=/usr/share/qt3
Add it to ~/.bashrc if you want to make it permanent.
Thanks that seems to work - except when I make I get a problem :
Code:
make[1]: Entering directory `/home/dew/swonder2.1.1'
make[1]: *** No rule to make target `swonder'. Stop.
make[1]: Leaving directory `/home/dew/swonder2.1.1'
make: *** [swonder] Error 2
qmake gets a little bit further but......
The config details are below :
Code:
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for flex... no
checking for lex... no
checking for yywrap in -lfl... no
checking for yywrap in -ll... no
checking whether ln -s works... yes
checking for bison... no
checking for byacc... no
checking for ranlib... ranlib
checking for main in -lX11... yes
checking for main in -lXext... yes
checking for main in -lm... yes
checking for main in -lqt-mt... yes
checking whether QTDIR environment variable is set... /usr/share/qt3
checking for Qt library... qt-mt
checking for Qt library version >= 3.1.1... yes
checking for qmake... /usr/bin/qmake
checking for moc... /usr/bin/moc
checking for uic... /usr/bin/uic
checking for main in -lqt-mt... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for pid_t... yes
checking for function prototypes... yes
checking whether setvbuf arguments are reversed... no
checking for floor... no
checking for pow... no
checking for pipe... yes
checking for sqrt... no
checking for strerror... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating swonder.pro
config.status: creating lib/config.h
Bookmarks