Changes between Version 9 and Version 10 of BuildingQtOnLinux
- Timestamp:
- Jun 27, 2007, 6:21:51 AM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BuildingQtOnLinux
v9 v10 3 3 = Building the Qt port on Linux = 4 4 5 These instructions apply to Ubuntu Linux 6.10 (Edgy Eft) and Ark Linux.5 These instructions apply to Linux in general with source packages, Ubuntu Linux 6.10 (Edgy Eft) and Ark Linux. 6 6 7 7 == Dependencies == 8 8 9 The code should be easily built on any Linux distribution which has development packages for Qt installed. 9 The code should be easily built on any Linux distribution which has development packages for Qt installed. 10 10 11 The Qt port requires Qt version 4, and 4.2 is recommended.11 The Qt port requires '''Qt version 4.3 or later.''' 12 12 13 === Installing dependencies on Ubuntu Edgy === 14 To install required dependencies on Ubuntu edgy, do 13 The Qt port requires gperf. 15 14 16 {{{ 17 sudo aptitude install libqt4-dev 18 }}} 15 The Qt port requires sqllite. 19 16 20 or install the libqt4-dev package from Synaptic.17 The Qt port requires bison. 21 18 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 }}} 19 The Qt port requires flex. 26 20 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. 21 The Qt port requires libxslt. 34 22 35 23 == Build WebKit == … … 50 38 51 39 == 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’ 44 was not declared in this scope 45 ../../../WebKitQt/Api/qwebnetworkinterface_p.h:134: error: template 46 argument 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 ‘,’ 50 or ‘...’ before ‘&’ token 51 ../../../WebKitQt/Api/qwebnetworkinterface_p.h:136: error: ISO C++ 52 forbids declaration of ‘QNetworkProxy’ with no type 53 make[1]: *** [tmp/ResourceHandleQt.o] Error 1 54 }}} 55 56 This 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. 52 58 53 59 === Missing gperf === … … 120 126 Apply the patch attached to bug report 121 127 http://bugs.webkit.org/show_bug.cgi?id=13985 128 129 130 === Installing dependencies on Ubuntu Edgy === 131 To install required dependencies on Ubuntu edgy, do 132 133 {{{ 134 sudo aptitude install libqt4-dev 135 }}} 136 137 or install the libqt4-dev package from Synaptic. 138 139 You might also need to install gperf, libxslt1-dev, and bison to resolve some dependencies. 140 {{{ 141 sudo aptitude install gperf libxslt-dev bison flex 142 }}} 143 144 === Installing dependencies on Ark Linux === 145 On Ark Linux, install the required dependencies using 146 {{{ 147 apt-get install devel-core qt4-devel qmake gperf libxslt-devel bison sqlite-devel 148 }}} 149 150 Alternatively, install the needed packages (see list above) through Mission Control -> Install Software.