mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 15:12:11 +08:00
Tag qt5 and fix mariadb so qt can find a header.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@19067 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
35e9ca4540
commit
fec0d014ab
@ -191,7 +191,8 @@ popd</userinput></screen>
|
||||
Now, as the <systemitem class="username">root</systemitem> user:
|
||||
</para>
|
||||
|
||||
<screen role="root"><userinput>make install</userinput></screen>
|
||||
<screen role="root"><userinput>make install &&
|
||||
ln -sfv /usr/include/mysql/{mariadb,mysql}_version.h</userinput></screen>
|
||||
|
||||
</sect2>
|
||||
|
||||
@ -237,6 +238,12 @@ popd</userinput></screen>
|
||||
customization options.
|
||||
</para></note>
|
||||
|
||||
<para>
|
||||
<command>ln -s /usr/include/mysql/{mariadb,mysql}_version.h</command>:
|
||||
Some applications, for example <xref linkend='qt5'/>, look specifically for
|
||||
mysql_version.h. This symbolic link ensures the proper file can be found.
|
||||
</para>
|
||||
|
||||
|
||||
</sect2>
|
||||
|
||||
|
@ -42,7 +42,7 @@
|
||||
Frameworks 5 (KF5)</application>.
|
||||
</para>
|
||||
|
||||
&lfs80_checked;
|
||||
&lfs81_checked;
|
||||
|
||||
<bridgehead renderas="sect3">Package Information</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
@ -223,6 +223,9 @@ ln -sfnv qt-&qt5-version; /opt/qt5</userinput></screen>
|
||||
-examplesdir /usr/share/doc/qt5/examples</userinput></screen>
|
||||
</note>
|
||||
|
||||
<!-- Not needed with mariadb-10.2.8, but a symlink for mysql_version.h
|
||||
on the mariadb page, is needed.
|
||||
|
||||
<para>
|
||||
If you have <xref linkend="mariadb"/> installed, fix a build issue with
|
||||
with <application>MySQL</application> compatibility:
|
||||
@ -230,6 +233,7 @@ ln -sfnv qt-&qt5-version; /opt/qt5</userinput></screen>
|
||||
|
||||
<screen><userinput>sed '/qsqlresult_p.h>/a#include <mysql/mysql_version.h>' \
|
||||
-i qtbase/src/plugins/sqldrivers/mysql/qsql_mysql.cpp</userinput></screen>
|
||||
-->
|
||||
|
||||
<para>
|
||||
Install <application>Qt5</application> by running the following commands:
|
||||
|
Loading…
Reference in New Issue
Block a user