Changeset 1afe6c26 for x/lib/qt.xml
- Timestamp:
- 06/08/2007 03:47:39 AM (17 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 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, 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/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 36474cb
- Parents:
- 048bc8cc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
x/lib/qt.xml
r048bc8cc r1afe6c26 186 186 <para>Continue with:</para> 187 187 188 <screen><userinput>sed -i -e 's:$(QTDIR)/include:&/qt:' \ 189 -e 's:$(QTDIR)/lib:&/qt:' \ 190 mkspecs/linux*/qmake.conf && 188 <screen><userinput>sed -i '/QMAKE_RPATH/d' mkspecs/linux*/qmake.conf && 191 189 192 190 bash … … 213 211 -tablet && 214 212 215 find -type f -name Makefile | xargs sed -i "s@-Wl,-rpath,/usr/lib@@g" &&216 213 make && 217 214 exit</userinput></screen> … … 224 221 <screen role="root"><userinput>make install && 225 222 ln -v -sf libqt-mt.so /usr/lib/libqt.so && 223 ln -v -snf ../../bin /usr/share/qt/bin && 224 ln -v -snf ../../include/qt /usr/share/qt/include && 225 ln -v -snf ../../lib /usr/share/qt/lib && 226 226 cp -v -r doc/man /usr/share && 227 227 cp -v -r examples /usr/share/doc/qt</userinput></screen> … … 294 294 <title>Command Explanations</title> 295 295 296 <para><command>sed -i -e ... mkspecs/linux*/qmake.conf</command>: 297 Directories in <filename>qmake.conf</filename> need to be adjusted 298 to match the BLFS Method 1 installation directories.</para> 296 <para><command>sed -i '/QMAKE_RPATH/d' mkspecs/linux*/qmake.conf</command>: 297 In Method 1, <application>Qt</application> is being installed into 298 the standard system directories. The runtime library search path does not 299 need to be set in this case.</para> 299 300 300 301 <para><command>bash</command>: This command enters a sub-shell to isolate … … 348 349 support for multi-threading.</para> 349 350 350 <para><command>find -type f -name Makefile | xargs sed -i 351 "s@-Wl,-rpath,/usr/lib@@g"</command>: This command removes hardcoded 352 run-time paths. Otherwise, <command>uic</command> always tries to run 353 with <application>Qt</application> libraries in 354 <filename>/usr/lib</filename>.</para> 355 356 <para><command>ln -v -s libqt-mt.so /usr/lib/libqt.so</command>: This 351 <para><command>ln -v -sf libqt-mt.so /usr/lib/libqt.so</command>: This 357 352 command allows <command>configure</command> scripts to find a working 358 353 <application>Qt</application> installation.</para> 354 355 <para><command>ln -v -snf ../../bin /usr/share/qt/bin</command>: This 356 command and the following two allow the 357 <filename class="directory">/usr</filename> style installation to mimic 358 the <filename class="directory">/opt</filename> style installation by 359 making all binaries, headers and libraries available from a single 360 directory, <filename class="directory">/usr/share/qt</filename>.</para> 359 361 360 362 <para><command>cp -v -r doc/man examples /usr/share (or … … 382 384 383 385 <para>For Method 1 (This is optional, only set this if an application is 384 unable to find the installed libraries ):</para>385 386 <screen><literal>export QTDIR=/usr </literal></screen>386 unable to find the installed libraries or headers):</para> 387 388 <screen><literal>export QTDIR=/usr/share/qt</literal></screen> 387 389 388 390 <para>or for Method 2:</para>
Note:
See TracChangeset
for help on using the changeset viewer.