diff options
author | Jørgen Lind <jorgen.lind@nokia.com> | 2011-06-06 08:45:02 +0200 |
---|---|---|
committer | Jørgen Lind <jorgen.lind@nokia.com> | 2011-06-06 14:35:36 +0200 |
commit | fc9a648dc03ec4531553bc3d65ae4dba3c5b5980 (patch) | |
tree | 285279e0c2755002b1405b4ca7f85e1f0b3c588b /src/plugins/platforms/install_rules | |
parent | 0273bc5d22cd1fa08854b023f9b6c318fc75f3fa (diff) |
Make building of platform plugins indifferent if its out of source
This requires some source files to be shipped with the Qt install
They are now copied into QT_INSTALL_DATA/platform
Diffstat (limited to 'src/plugins/platforms/install_rules')
4 files changed, 39 insertions, 0 deletions
diff --git a/src/plugins/platforms/install_rules/fontengine_files/fontengine_files.pro b/src/plugins/platforms/install_rules/fontengine_files/fontengine_files.pro new file mode 100644 index 0000000000..2cd27da623 --- /dev/null +++ b/src/plugins/platforms/install_rules/fontengine_files/fontengine_files.pro @@ -0,0 +1,9 @@ +TEMPLATE = subdirs + +FILES += \ + $$QT_SOURCE_TREE/src/gui/text/qfontengine_ft_p.h \ + $$QT_SOURCE_TREE/src/gui/text/qfontengine_ft.cpp + +sources.files = $$FILES +sources.path = $$[QT_INSTALL_DATA]/platforms/fontdatabases/fontengines +INSTALLS = sources diff --git a/src/plugins/platforms/install_rules/freetype/freetype.pro b/src/plugins/platforms/install_rules/freetype/freetype.pro new file mode 100644 index 0000000000..d9eb6ff304 --- /dev/null +++ b/src/plugins/platforms/install_rules/freetype/freetype.pro @@ -0,0 +1,11 @@ +TEMPLATE = subdirs + +SRCDIR += \ + $$QT_SOURCE_TREE/src/3rdparty/freetype/src + +INCDIR += \ + $$QT_SOURCE_TREE/src/3rdparty/freetype/include + +sources.files = $$SRCDIR $$INCDIR +sources.path = $$[QT_INSTALL_DATA]/platforms/fontdatabases/freetype +INSTALLS = sources diff --git a/src/plugins/platforms/install_rules/harfbuzz/harfbuzz.pro b/src/plugins/platforms/install_rules/harfbuzz/harfbuzz.pro new file mode 100644 index 0000000000..c0dba4a074 --- /dev/null +++ b/src/plugins/platforms/install_rules/harfbuzz/harfbuzz.pro @@ -0,0 +1,12 @@ +#This file makes sure that harbuzz gets installed, +#so that plugins can be compiled out of source +TEMPLATE = subdirs + + +SRCDIR += \ + $$QT_SOURCE_TREE/src/3rdparty/harfbuzz/src + +sources.files = $$SRCDIR +sources.path = $$[QT_INSTALL_DATA]/platforms/fontdatabases/harfbuzz +INSTALLS = sources + diff --git a/src/plugins/platforms/install_rules/install_rules.pro b/src/plugins/platforms/install_rules/install_rules.pro new file mode 100644 index 0000000000..8b64f8a415 --- /dev/null +++ b/src/plugins/platforms/install_rules/install_rules.pro @@ -0,0 +1,7 @@ +# This is so that additional sources are installed +# in the QT_INSTALL_DATA directory +TEMPLATE = subdirs + +SUBDIRS += harfbuzz +SUBDIRS += freetype +SUBDIRS += fontengine_files |