diff --git a/install-32-bit-lin-win.sh b/install-32-bit-lin-win.sh index 4eaf89b..1134212 100755 --- a/install-32-bit-lin-win.sh +++ b/install-32-bit-lin-win.sh @@ -2,12 +2,13 @@ LDFLAGS="-L/opt/local/i586-mingw32msvc/lib" \ CPPFLAGS="-I/opt/local/i586-mingw32msvc/include -DQ_OS_WIN32" \ ./configure \ + --with-qt-dir=/usr/local/trolltech/qt-mingw32/include \ --prefix=/opt/local/i586-mingw32msvc \ --build=x86_64 \ --host=i586-mingw32msvc && \ make && \ sudo make install && \ make clean && \ -./configure && \ +./configure --with-qt-dir=/usr/local/trolltech/qt/include && \ make check && \ sudo make install diff --git a/install-64-and-32-bit-linux.sh b/install-64-and-32-bit-linux.sh index 6d3f8a2..3e3bb50 100755 --- a/install-64-and-32-bit-linux.sh +++ b/install-64-and-32-bit-linux.sh @@ -1,5 +1,6 @@ ./bootstrap.sh && \ LDFLAGS="-L/usr/lib32 -m32" CXXFLAGS="-m32" ./configure \ + --with-qt-dir=/usr/local/trolltech/qt-32bit/include \ --libdir=/usr/local/lib32 \ --build=x86_64 \ --host=i386 && \ @@ -9,12 +10,13 @@ make clean && \ LDFLAGS="-L/opt/local/i586-mingw32msvc/lib" \ CPPFLAGS="-I/opt/local/i586-mingw32msvc/include -DQ_OS_WIN32" \ ./configure \ + --with-qt-dir=/usr/local/trolltech/qt-mingw32/include \ --prefix=/opt/local/i586-mingw32msvc \ --build=x86_64 \ --host=i586-mingw32msvc && \ make && \ sudo make install && \ make clean && \ -./configure && \ +./configure --with-qt-dir=/usr/local/trolltech/qt/include && \ make check && \ sudo make install