On Sun, Aug 22, 2010 at 05:18:09PM +0100, David Claughton wrote: > FWIW, I could be wrong, but it looks like configure is invoking > pkgconfig to determine the QT version and it's always finding QT4 > regardless of what QTDIR is set to. > > Maybe --enable-pkgconfig wasn't the default in the previous release? In > any case adding --disable-pkgconfig *seems* to do the trick, although I > didn't have time to test it thoroughly.
Good idea, thanks. However, when I tried it, the build eventually failed with the following error. It seems that Qt3 doesn't have QImage::hasAlphaChannel(), etc: g++ -DHAVE_CONFIG_H -I../../../src -I../../../data -I../../../../src -I/usr/include/Inventor/annex -D_REENTRANT -I/usr/share/qt3/include -DSOQT_DEBUG=1 -DSOQT_INTERNAL -g -O2 -W -Wall -Wno-unused -Wno-multichar -Woverloaded-virtual -Wno-non-virtual-dtor -fno-builtin -finline-functions -Wreturn-type -Wchar-subscripts -Wparentheses -c ../../../../src/Inventor/Qt/SoQtImageReader.cpp -fPIC -DPIC -o .libs/SoQtImageReader.o In file included from ../../../../src/Inventor/Qt/SoQtImageReader.cpp:31: /usr/share/qt3/include/qimage.h: In member function 'bool QImageTextKeyLang::operator<(const QImageTextKeyLang&) const': /usr/share/qt3/include/qimage.h:61: warning: suggest parentheses around '&&' within '||' ../../../../src/Inventor/Qt/SoQtImageReader.cpp: In member function 'SbBool SoQtImageReader::readImage(const SbString&, SbImage*) const': ../../../../src/Inventor/Qt/SoQtImageReader.cpp:65: error: 'class QImage' has no member named 'hasAlphaChannel' ../../../../src/Inventor/Qt/SoQtImageReader.cpp:66: error: 'class QImage' has no member named 'convertToFormat' ../../../../src/Inventor/Qt/SoQtImageReader.cpp:66: error: 'class QImage' has no member named 'hasAlphaChannel' ../../../../src/Inventor/Qt/SoQtImageReader.cpp:67: error: 'Format_ARGB32' is not a member of 'QImage' ../../../../src/Inventor/Qt/SoQtImageReader.cpp:67: error: 'Format_RGB32' is not a member of 'QImage' I think I'll just remove the Qt3 packages after all. -Steve
signature.asc
Description: Digital signature