Changeset 1464543 for x/lib/qt4.xml
- Timestamp:
- 04/08/2012 07:46:30 PM (12 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 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:
- 2001b3e
- Parents:
- 2a38269
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
x/lib/qt4.xml
r2a38269 r1464543 194 194 <screen><userinput>patch -Np1 -i ../qt-everywhere-opensource-src-&qt4-version;-gcc_fix-1.patch && 195 195 patch -Np1 -i ../qt-everywhere-opensource-src-&qt4-version;-glib_fix-1.patch && 196 sed -i '/-Werror/d' src/3rdparty/webkit/Source/WebKit.pri && 196 197 ./configure -prefix /opt/qt-&qt4-version; \ 197 198 -release \ … … 201 202 -no-nis \ 202 203 -opensource \ 203 -confirm-license</userinput></screen> 204 -confirm-license && 205 make</userinput></screen> 204 206 205 207 <note><title>Phonon</title> … … 209 211 <application>Phonon</application> libraries will be installed which better 210 212 matches the needs of the <application>KDE4</application> desktop.</para></note> 211 212 <para>If you are compiling with <application>GCC</application> 4.7 you need 213 to suppress some warnings that would otherwise cause the build to fail. This 214 can be achieved by modifying some Makefiles:</para> 215 216 <screen><userinput>find src/3rdparty/webkit/Source/{WebCore,WebKit} -name 'Makefile*' -exec sed -i 's@-Werror @@' {} \;</userinput></screen> 217 218 <para>Now, build the package:</para> 219 220 <screen><userinput>make</userinput></screen> 221 213 222 214 <para>This package does not come with a test suite.</para> 223 215 … … 230 222 again as the <systemitem class="username">root</systemitem> user issue:</para> 231 223 232 <screen role="root"><userinput>ln - v -sfn qt-&qt4-version; /opt/qt</userinput></screen>224 <screen role="root"><userinput>ln -svfn qt-&qt4-version; /opt/qt</userinput></screen> 233 225 234 226 </sect2> … … 241 233 4.7 and <application>GLib</application> 2.32.</para> 242 234 235 <para><command>sed -i '/-Werror/d'...</command>: 236 This sed suppresses warnings that would otherwise cause the build 237 to fail when compiling with <application>GCC</application> 238 4.7.</para> 239 240 <para><parameter>-release</parameter>: 241 This switch disables building with debugging symbols.</para> 242 243 243 <para><parameter>-nomake examples, -nomake demos</parameter>: 244 244 These switches disable building programs that are only of interest 245 245 to a <application>Qt4</application> developer.</para> 246 247 <para>There are several optional directories that can be specified in the 248 <command>./configure</command> line. These include 249 <option>-bindir</option>, <option>-libdir</option>, 250 <option>-docdir</option>, and <option>-headerdir</option>. For a complete 251 list, run <command>./configure -help</command>.</para> 246 247 <para><parameter>-system-sqlite</parameter>: 248 Use the system version of <application>SQLite</application>.</para> 249 250 <para><parameter>-no-nis</parameter>: 251 Disable support for Network Information Service (NIS).</para> 252 253 <para><parameter>-opensource</parameter>: 254 Install the opensource version of <application>Qt</application>.</para> 255 256 <para><parameter>-confirm-license</parameter>: 257 Accept license without prompting user during configuration.</para> 252 258 253 259 <para><parameter>-plugin-sql-<replaceable><driver></replaceable></parameter> … … 262 268 <command>configure</command> parameters.</para> 263 269 </note> 270 271 <para>There are several optional directories that can be specified in the 272 <command>./configure</command> line. These include 273 <option>-bindir</option>, <option>-libdir</option>, 274 <option>-docdir</option>, and <option>-headerdir</option>. For a complete 275 list, run <command>./configure -help</command>.</para> 264 276 265 277 </sect2> … … 296 308 the <filename>/etc/profile.d/qt4.sh</filename> file:</para> 297 309 298 <screen ><userinput>cat > /etc/profile.d/qt4.sh << "EOF"310 <screen role="root"><userinput>cat > /etc/profile.d/qt4.sh << "EOF" 299 311 # Begin /etc/profile.d/qt4.sh 300 312
Note:
See TracChangeset
for help on using the changeset viewer.