Hi there,
I'm doing a small project with qt 4.4 and put the following macro from
autoconf macro archive http://autoconf-archive.cryp.to/bnv_have_qt.html
into configure.ac
now after the usual aclocal, autoconf, automake -a
i run ./configure and the following comes out
you see the problem now, the configure script found qt3 not qt4
and normally make won't work
so i exported the directory of qt4 on PATH
I'm new to all this, but i think it's because the libs are for qt3?
help!
I'm doing a small project with qt 4.4 and put the following macro from
autoconf macro archive http://autoconf-archive.cryp.to/bnv_have_qt.html
into configure.ac
now after the usual aclocal, autoconf, automake -a
i run ./configure and the following comes out
Code:
sameh@sameh-desktop:~/dev/datastrqt/dateqt$ ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for g++... g++ ... ... checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for Qt... yes: QT_CXXFLAGS=-I/usr/include/qt3 -DQT_THREAD_SUPPORT QT_DIR= QT_LIBS=-L/usr/lib -lqt-mt -lSM -lICE -lX11 -lXext -lXmu -lXt -lXi QT_UIC=/usr/bin/uic QT_MOC=/usr/bin/moc QT_LRELEASE=/usr/bin/lrelease QT_LUPDATE=/usr/bin/lupdate checking correct functioning of Qt installation... success 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/types.h... yes checking for sys/stat.h... yes ... ... checking for stdint.h... yes checking for unistd.h... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes configure: creating ./config.status config.status: creating Makefile config.status: executing depfiles commands
and normally make won't work
so i exported the directory of qt4 on PATH
Code:
sameh@sameh-desktop:~/dev/datastrqt/dateqt$ export PATH=/usr/share/qt4/bin:$PATH sameh@sameh-desktop:~/dev/datastrqt/dateqt$ ./configure --prefix=/usr --with-Qt-include-dir=/usr/include/qt4 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for g++... g++ ... checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for Qt... yes: QT_CXXFLAGS=-I/usr/include/qt4 -DQT_THREAD_SUPPORT QT_DIR= QT_LIBS=-L/usr/lib -lqt-mt -lSM -lICE -lX11 -lXext -lXmu -lXt -lXi QT_UIC=/usr/share/qt4/bin/uic QT_MOC=/usr/share/qt4/bin/moc QT_LRELEASE=/usr/share/qt4/bin/lrelease QT_LUPDATE=/usr/share/qt4/bin/lupdate checking correct functioning of Qt installation... failure configure: error: Failed to find matching components of a complete Qt installation. Try using more options, see ./configure --help.
help!
Comment