Changes between Version 47 and Version 48 of BuildingQtOnWindows


Ignore:
Timestamp:
Jun 29, 2014 8:18:04 AM (10 years ago)
Author:
mhazadmanesh2009@gmail.com
Comment:

Added the SQLite dependency information, added some notes and a bit clean-up.

Legend:

Unmodified
Added
Removed
Modified
  • BuildingQtOnWindows

    v47 v48  
    99 * Install [http://www.activestate.com/Products/ActivePerl/ ActiveState Perl]
    1010 * Install [http://www.python.org/download/ Python 2.x] (and add the installation location to your PATH)
     11 * Install [http://www.ruby-lang.org/ Ruby] (1.9.3 and 2.x should both work)
    1112 * The following external GNU tools are needed from the [http://gnuwin32.sourceforge.net/packages.html GnuWin32 Project]:
    1213   * [http://gnuwin32.sourceforge.net/downlinks/bison.php Bison]
    1314   * [http://gnuwin32.sourceforge.net/downlinks/gperf.php GPerf]
    1415   * [http://gnuwin32.sourceforge.net/downlinks/grep.php Grep]
    15    * [http://gnuwin32.sourceforge.net/downlinks/flex.php Flex]
     16   * [http://gnuwin32.sourceforge.net/downlinks/flex.php Flex] (or win_flex from [http://sourceforge.net/projects/winflexbison/ here])
    1617   * [http://gnuwin32.sourceforge.net/downlinks/libiconv.php LibIconv] (needed for bison)
    1718   * [http://gnuwin32.sourceforge.net/downlinks/make.php Make] (not necessary if you want to build using MSVC)
    18  * Install [http://www.ruby-lang.org/ Ruby]
     19 * You'll also need [http://sqlite.org/download.html SQLite] for revisions after r95919 in 2011 AND especially for the unofficial QtWebKit-2.3 (as mentioned in these [https://lists.webkit.org/pipermail/webkit-qt/2011-September/001911.html mailing] [https://lists.webkit.org/pipermail/webkit-qt/2012-December/003310.html list] [http://lists.qt-project.org/pipermail/development/2012-December/008574.html threads]). Read the notes below for it.
    1920
    2021Please '''install these tools in a path without spaces''' (i.e. '''not in "C:\Program Files"''')
     
    2223Make sure the GnuWin32 packages are in your PATH as well as Perl and Python. You also need to have %QTDIR% set and have %QTDIR%\bin in your PATH.[[BR]]
    2324If you have Cygwin's bin directory in your path, make sure that it comes after ActiveState Perl and GnuWin32. You might have to remove it completely from your PATH if you have problems with slashes and backslashes while building using MinGW. {{{mingw32-make}}} and GnuWin32's {{{make}}} will use sh.exe to run commands if they find it in the PATH.
     25
     26'''For SQLite,''' download the amalgamation build and make sure you set '''SQLITE3SRCDIR''' environment variable to the directory containing the source files. (You could also set %SQLITE3SRCDIR% to the sources in your Qt's source directory e.g src/3rdparty/sqlite in Qt 4.8; tested.) As of June 2014, most sources and tutorials miss this point, which causes build failure of the unofficial QtWebKit-2.3 with MSVC and Qt 4.7~4.8.
    2427
    2528== Building QtWebKit ==
     
    4447}}}
    4548 * If you haven't set up your PATH already to include the GnuWin32 packages then you may want to execute the following command: {{{set PATH=C:\GnuWin32\bin;C:\Perl\bin;%PATH%}}} Provided that the GnuWin32 packages are installed in {{{C:\GnuWin32\bin}}} and Perl in {{{C:\Perl\bin}}}.
     49 * If you get complaints about 'win_flex' not found, in your GnuWin32 folder simply duplicate 'flex.exe' and rename it 'win_flex.exe' - without the quotes :D (Or download the "original" win_flex from the link at Dependencies section).
    4650 * If you get build errors in JavaScriptCore\bindings\NP_jsobject.cpp or similar then please make sure that the Microsoft Platform SDK is '''NOT''' in your %INCLUDE% path because it conflicts with your MingW headers.
    47  * If you get build errors after makefile generation ("Makefile:178: *** Multiple target patterns.  Stop.") then you're probably still using the Cygwin version of make. Try removing Cygwin from your %PATH% for the time being (it's not currently supported, as mentioned above).
     51 * If you get build errors in WebCore\Modules\webdatabase\WorkerContextWebDatabase.cpp or similar then you haven't made SQLite available. Read the paragraphs at the end of the Dependencies section to know how.
     52 * If you get build errors after makefile generation ({{{Makefile:178: *** Multiple target patterns.  Stop.}}}) then you're probably still using the Cygwin version of make. Try removing Cygwin from your %PATH% for the time being (it's not currently supported, as mentioned above).
    4853
    4954== A 'Works For Me' Step-by-Step Guide to building QtWebKit on Windows using mingw-w64/w32 ==