Changeset 74d76938
- Timestamp:
- 08/11/2013 09:24:18 PM (11 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 12.2, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gimp3, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/for-12.3, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/spidermonkey128, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 7d4a6df
- Parents:
- 8e29d97
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
x/lib/qt5.xml
r8e29d97 r74d76938 97 97 <xref linkend="xcb-util-image"/>, 98 98 <xref linkend="xcb-util-keysyms"/>, 99 <xref linkend="xcb-util-renderutil"/> and99 <xref linkend="xcb-util-renderutil"/>, and 100 100 <xref linkend="xcb-util-wm"/> 101 101 </para> … … 113 113 <xref linkend="libtiff"/>, 114 114 <xref linkend="openssl"/>, 115 <xref linkend="pcre"/> and115 <xref linkend="pcre"/>, and 116 116 <xref linkend="sqlite"/> 117 117 </para> … … 124 124 <xref linkend="mysql"/>, 125 125 <xref linkend="postgresql"/>, 126 <xref linkend="pulseaudio"/> and126 <xref linkend="pulseaudio"/>, and 127 127 <xref linkend="unixodbc"/> 128 128 </para> … … 150 150 151 151 <screen><userinput>patch -Np1 -i ../qt-&qt5-version;-bison_fixes-1.patch && 152 ./configure -confirm-license \ 153 -opensource \ 154 -prefix /usr \ 155 -bindir /usr/lib/qt5/bin \ 156 -headerdir /usr/include/qt5 \ 157 -archdatadir /usr/lib/qt5 \ 158 -datadir /usr/share/qt5 \ 152 153 ./configure -prefix /usr \ 154 -sysconfdir /etc/xdg \ 155 -bindir /usr/lib/qt5/bin \ 156 -headerdir /usr/include/qt5 \ 157 -archdatadir /usr/lib/qt5 \ 158 -datadir /usr/share/qt5 \ 159 -docdir /usr/share/doc/qt5 \ 159 160 -translationdir /usr/share/qt5/translations \ 160 - sysconfdir /etc/xdg\161 - docdir /usr/share/doc/qt5\162 - examplesdir /usr/share/doc/qt5/examples\163 -dbus-linked \164 -openssl-linked \165 -system-sqlite \161 -examplesdir /usr/share/doc/qt5/examples \ 162 -confirm-license \ 163 -opensource \ 164 -dbus-linked \ 165 -openssl-linked \ 166 -system-sqlite \ 166 167 -plugin-sql-sqlite \ 167 -no-nis \168 -nomake examples \169 -opengl es2 \170 -optimized-qmake &&168 -no-nis \ 169 -nomake examples \ 170 -opengl es2 \ 171 -optimized-qmake && 171 172 make</userinput></screen> 172 173 … … 218 219 ln -sfv ../lib/qt5/bin/$(basename $file) /usr/bin/$(basename $file)-qt5 219 220 done</userinput></screen> 221 222 </sect2> 223 224 <sect2 role="installation"> 225 <title>Alternate Qt Installation Instructions</title> 226 227 <para>This section provides an alternate way to install Qt by installing 228 almost all of the files in the <filename class='directory'>/opt</filename> 229 directory. This allows management of all Qt related files in one unit. 230 For instance, a new version of Qt5 can be installed without over-writing 231 the existing installation and entire Qt5 instances can be easily removed. 232 However, it has the disadvantage of needing some extra configuration.</para> 233 234 <screen><userinput>patch -Np1 -i ../qt-&qt5-version;-bison_fixes-1.patch && 235 236 QT5DIR=/opt/qt-&qt5-version; 237 238 ./configure -prefix $QT5DIR \ 239 -sysconfdir /etc/xdg \ 240 -confirm-license \ 241 -opensource \ 242 -dbus-linked \ 243 -openssl-linked \ 244 -system-sqlite \ 245 -plugin-sql-sqlite \ 246 -no-nis \ 247 -nomake examples \ 248 -opengl es2 \ 249 -optimized-qmake && 250 make</userinput></screen> 251 252 <para> 253 Now, as the <systemitem class="username">root</systemitem> user: 254 </para> 255 256 <screen role="root"><userinput>make install && 257 258 install -v -Dm644 qttools/src/assistant/assistant/images/assistant-128.png \ 259 /usr/share/pixmaps/assistant-qt5.png && 260 install -v -Dm644 qttools/src/designer/src/designer/images/designer.png \ 261 /usr/share/pixmaps/designer-qt5.png && 262 install -v -Dm644 qttools/src/linguist/linguist/images/icons/linguist-128-32.png \ 263 /usr/share/pixmaps/linguist-qt5.png && 264 install -v -Dm644 qttools/src/qdbus/qdbusviewer/images/qdbusviewer-128.png \ 265 /usr/share/pixmaps/qdbusviewer-qt5.png</userinput></screen> 266 267 <para> 268 Remove references to the build directory from installed files by 269 running the following commands as the 270 <systemitem class="username">root</systemitem> user: 271 </para> 272 273 <screen role="root"><userinput>find $QT5DIR -name qt_lib_bootstrap.pri \ 274 -exec sed -i -e "s:$PWD/qtbase:/$QT5DIR/lib/:g" {} \; && 275 276 find $QT5DIR -name \*.prl \ 277 -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;</userinput></screen> 278 279 <para> 280 Symlink the <application>Qt</application> executables into 281 <filename class="directory">/usr/bin</filename> by running the 282 following commands as the 283 <systemitem class="username">root</systemitem> user: 284 </para> 285 286 <screen role="root"><userinput>ln -svf $QT5DIR /opt/qt5 && 287 288 for file in /opt/qt5/bin/*; do 289 ln -sfv $file /usr/bin/$(basename $file)-qt5 290 done</userinput></screen> 291 292 <para>At this point is is useful to add some configuration items as 293 the <systemitem class="username">root</systemitem> user:</para> 294 295 <screen role="root"><userinput>echo /opt/qt5 >> /etc/ld.so.conf && 296 ldconfig && 297 298 cat >> /etc/profile.d/qt5.sh << "EOF" 299 pathappend /opt/qt5/lib/pkgconfig PKG_CONFIG_PATH 300 EOF</userinput></screen> 220 301 221 302 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.