From 598f4975d3d7c9fcd3e3f1451d328402dc01257e Mon Sep 17 00:00:00 2001 From: Marius Storm-Olsen Date: Wed, 28 Mar 2012 05:48:40 -0500 Subject: Fix readme to instruct building with the build script instead Also, on Windows the build script adds the gnuwin32\bin directory, so we don't need that part in the readme Change-Id: I36ac9ebef9ce8b74fa75f63be7243bb334512a32 Reviewed-by: Friedemann Kleint --- README | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'README') diff --git a/README b/README index 9cac8bd3..5ad781ee 100644 --- a/README +++ b/README @@ -31,7 +31,7 @@ HOW TO BUILD QT5 cd /qt-everywhere-opensource-src- export PATH=$PATH:$PWD/qtbase/bin ./configure -prefix $PWD/qtbase -opensource -nomake tests - make -j4 + ./build -j4 Windows: -------- @@ -41,13 +41,18 @@ HOW TO BUILD QT5 path. cd \qt-everywhere-opensource-src- - set PATH=%PATH%;%CD%\qtbase\bin;%CD%\gnuwin32\bin + set PATH=%PATH%;%CD%\qtbase\bin; configure -prefix %CD%\qtbase -opensource -nomake tests - nmake + perl build For MinGW (gcc version 4.6 or later), ensure that the compiler can be found in the path. + The build script will use jom if it's found in the path, which means you can + use -j options on Windows as well. If not, the /MP option is added to the + compile options of the Microsoft Visual Studio compiler, to use all available + cores for batch building. + More details follow. Building QtWebKit -- cgit v1.2.3