Changeset d0c60491


Ignore:
Timestamp:
01/06/2023 10:17:43 AM (16 months ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18, xry111/xf86-video-removal
Children:
ad9eab68
Parents:
535d7e1
Message:

Fix qt5 so that all headers are installed

The patch for qt-5.15.8 creates a header file, which needs to be
known by the build machinery. In a git repository, this is done
automatically, but in a build tree coming from a tarball, the header
file is ignored.
So we add a .git directory into qtbase, which fakes a git repository,
and allows the header file to be used and installed by the build system
(it may be needed when compiling programs using Qt thread mutexes).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • x/lib/qt5.xml

    r535d7e1 rd0c60491  
    274274
    275275    <para>
    276       Add a file that is not created by the patch:
    277     </para>
    278 
    279 <screen><userinput remap="pre">echo '#include "../../src/corelib/thread/qtsan_impl.h"' &gt;qtbase/include/QtCore/qtsan_impl.h</userinput></screen>
     276      The patch is supposed to be used in a git repository, because the
     277      behavior of the <command>configure</command> command below is changed
     278      in this case. It is enough to create a
     279      <filename class="directory">.git</filename> directory in the
     280      <filename class="directory">qmake</filename> directory, where the
     281      <command>configure</command> script is run:
     282    </para>
     283
     284    <screen><userinput remap="pre">mkdir -pv qtbase/.git</userinput></screen>
    280285
    281286    <para>
Note: See TracChangeset for help on using the changeset viewer.