I did but I have just realised that I didn't run it again after doing
export QMAKESPEC=$QTDIR/mkspecs/linux-g++
Now configure gives an error:
script -DQT_NO_PCRE -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_BUILD_QMAKE -DQT_NO_COMPRESS -I/usr/lib/qt/mkspecs/linux-g++ -DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT /mnt/str6/downloads/qt/qt-x11-opensource-src-4.3.3/src/corelib/io/qfsfileengine_unix.cpp
/mnt/str6/downloads/qt/qt-x11-opensource-src-4.3.3/src/corelib/io/qfsfileengine_unix.cpp: In member function ‘bool QFSFileEnginePrivate::nativeOpen(QFlags<QIODevice::OpenModeFlag>)’:
/mnt/str6/downloads/qt/qt-x11-opensource-src-4.3.3/src/corelib/io/qfsfileengine_unix.cpp:163: error: ‘QT_FOPEN’ was not declared in this scope
/mnt/str6/downloads/qt/qt-x11-opensource-src-4.3.3/src/corelib/io/qfsfileengine_unix.cpp:177: error: ‘QT_FSEEK’ was not declared in this scope
/mnt/str6/downloads/qt/qt-x11-opensource-src-4.3.3/src/corelib/io/qfsfileengine_unix.cpp: In member function ‘bool QFSFileEnginePrivate::isSymlink() const’:
/mnt/str6/downloads/qt/qt-x11-opensource-src-4.3.3/src/corelib/io/qfsfileengine_unix.cpp:498: error: ‘QT_LSTAT’ was not declared in this scope
/mnt/str6/downloads/qt/qt-x11-opensource-src-4.3.3/src/corelib/io/qfsfileengine_unix.cpp: In member function ‘virtual bool QFSFileEngine::setSize(qint64)’:
/mnt/str6/downloads/qt/qt-x11-opensource-src-4.3.3/src/corelib/io/qfsfileengine_unix.cpp:895: error: ‘QT_FTRUNCATE’ was not declared in this scope
/mnt/str6/downloads/qt/qt-x11-opensource-src-4.3.3/src/corelib/io/qfsfileengine_unix.cpp:896: error: ‘QT_TRUNCATE’ was not declared in this scope
gmake: *** [qfsfileengine_unix.o] Error 1
script -DQT_NO_PCRE -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_BUILD_QMAKE -DQT_NO_COMPRESS -I/usr/lib/qt/mkspecs/linux-g++ -DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT /mnt/str6/downloads/qt/qt-x11-opensource-src-4.3.3/src/corelib/io/qfsfileengine_unix.cpp
/mnt/str6/downloads/qt/qt-x11-opensource-src-4.3.3/src/corelib/io/qfsfileengine_unix.cpp: In member function ‘bool QFSFileEnginePrivate::nativeOpen(QFlags<QIODevice::OpenModeFlag>)’:
/mnt/str6/downloads/qt/qt-x11-opensource-src-4.3.3/src/corelib/io/qfsfileengine_unix.cpp:163: error: ‘QT_FOPEN’ was not declared in this scope
/mnt/str6/downloads/qt/qt-x11-opensource-src-4.3.3/src/corelib/io/qfsfileengine_unix.cpp:177: error: ‘QT_FSEEK’ was not declared in this scope
/mnt/str6/downloads/qt/qt-x11-opensource-src-4.3.3/src/corelib/io/qfsfileengine_unix.cpp: In member function ‘bool QFSFileEnginePrivate::isSymlink() const’:
/mnt/str6/downloads/qt/qt-x11-opensource-src-4.3.3/src/corelib/io/qfsfileengine_unix.cpp:498: error: ‘QT_LSTAT’ was not declared in this scope
/mnt/str6/downloads/qt/qt-x11-opensource-src-4.3.3/src/corelib/io/qfsfileengine_unix.cpp: In member function ‘virtual bool QFSFileEngine::setSize(qint64)’:
/mnt/str6/downloads/qt/qt-x11-opensource-src-4.3.3/src/corelib/io/qfsfileengine_unix.cpp:895: error: ‘QT_FTRUNCATE’ was not declared in this scope
/mnt/str6/downloads/qt/qt-x11-opensource-src-4.3.3/src/corelib/io/qfsfileengine_unix.cpp:896: error: ‘QT_TRUNCATE’ was not declared in this scope
gmake: *** [qfsfileengine_unix.o] Error 1
To copy to clipboard, switch view to plain text mode
Bookmarks