Changes between Version 9 and Version 10 of BuildingQtOnLinux


Ignore:
Timestamp:
Jun 27, 2007 6:21:51 AM (17 years ago)
Author:
treat@kde.org
Comment:

Don't focus on one or two distros and update minimum version of Qt.

Legend:

Unmodified
Added
Removed
Modified
  • BuildingQtOnLinux

    v9 v10  
    33= Building the Qt port on Linux =
    44
    5 These instructions apply to Ubuntu Linux 6.10 (Edgy Eft) and Ark Linux.
     5These instructions apply to Linux in general with source packages, Ubuntu Linux 6.10 (Edgy Eft) and Ark Linux.
    66
    77== Dependencies ==
    88
    9 The code should be easily built on any Linux distribution which has development packages for Qt installed. 
     9The code should be easily built on any Linux distribution which has development packages for Qt installed.
    1010
    11 The Qt port requires Qt version 4, and 4.2 is recommended.
     11The Qt port requires '''Qt version 4.3 or later.'''
    1212
    13 === Installing dependencies on Ubuntu Edgy ===
    14 To install required dependencies on Ubuntu edgy, do
     13The Qt port requires gperf.
    1514
    16 {{{
    17 sudo aptitude install libqt4-dev
    18 }}}
     15The Qt port requires sqllite.
    1916
    20 or install the libqt4-dev package from Synaptic.
     17The Qt port requires bison.
    2118
    22 You might also need to install gperf, libxslt1-dev, and bison to resolve some dependencies.
    23 {{{
    24 sudo aptitude install gperf libxslt-dev bison flex
    25 }}}
     19The Qt port requires flex.
    2620
    27 === Installing dependencies on Ark Linux ===
    28 On Ark Linux, install the required dependencies using
    29 {{{
    30 apt-get install devel-core qt4-devel qmake gperf libxslt-devel bison sqlite-devel
    31 }}}
    32 
    33 Alternatively, install the needed packages (see list above) through Mission Control -> Install Software.
     21The Qt port requires libxslt.
    3422
    3523== Build WebKit ==
     
    5038
    5139== Common Build Errors ==
     40
     41=== Using Qt 4.2 not required minimum version or later ===
     42{{{
     43../../../WebKitQt/Api/qwebnetworkinterface_p.h:134: error: ‘QSslError’
     44was not declared in this scope
     45../../../WebKitQt/Api/qwebnetworkinterface_p.h:134: error: template
     46argument 1 is invalid
     47../../../WebKitQt/Api/qwebnetworkinterface_p.h:135: error:
     48‘QAuthenticator’ has not been declared
     49../../../WebKitQt/Api/qwebnetworkinterface_p.h:136: error: expected ‘,’
     50or ‘...’ before ‘&’ token
     51../../../WebKitQt/Api/qwebnetworkinterface_p.h:136: error: ISO C++
     52forbids declaration of ‘QNetworkProxy’ with no type
     53make[1]: *** [tmp/ResourceHandleQt.o] Error 1
     54}}}
     55
     56This error is caused by not having the minimum version of Qt installed.  Install the minimum version of Qt, set the
     57'QTDIR' environment variable pointing to this version and try building WebKit again.
    5258
    5359=== Missing gperf ===
     
    120126Apply the patch attached to bug report
    121127http://bugs.webkit.org/show_bug.cgi?id=13985
     128
     129
     130=== Installing dependencies on Ubuntu Edgy ===
     131To install required dependencies on Ubuntu edgy, do
     132
     133{{{
     134sudo aptitude install libqt4-dev
     135}}}
     136
     137or install the libqt4-dev package from Synaptic.
     138
     139You might also need to install gperf, libxslt1-dev, and bison to resolve some dependencies.
     140{{{
     141sudo aptitude install gperf libxslt-dev bison flex
     142}}}
     143
     144=== Installing dependencies on Ark Linux ===
     145On Ark Linux, install the required dependencies using
     146{{{
     147apt-get install devel-core qt4-devel qmake gperf libxslt-devel bison sqlite-devel
     148}}}
     149
     150Alternatively, install the needed packages (see list above) through Mission Control -> Install Software.