summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/externalplugin.pri
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2011-06-06 08:45:02 +0200
committerJørgen Lind <jorgen.lind@nokia.com>2011-06-06 14:35:36 +0200
commitfc9a648dc03ec4531553bc3d65ae4dba3c5b5980 (patch)
tree285279e0c2755002b1405b4ca7f85e1f0b3c588b /src/plugins/platforms/externalplugin.pri
parent0273bc5d22cd1fa08854b023f9b6c318fc75f3fa (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/externalplugin.pri')
-rw-r--r--src/plugins/platforms/externalplugin.pri29
1 files changed, 0 insertions, 29 deletions
diff --git a/src/plugins/platforms/externalplugin.pri b/src/plugins/platforms/externalplugin.pri
deleted file mode 100644
index 9b00acb4e9..0000000000
--- a/src/plugins/platforms/externalplugin.pri
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# Lighthouse now has preliminarily support for building and
-# loading platform plugins from outside the Qt source/build
-# tree.
-#
-# 1) Building external plugins:
-# Set QTDIR to the Qt build directory, copy this file to
-# the plugin source repository and include it at the top
-# of the plugin's pro file. Use QT_SOURCE_TREE if you
-# want to pull in source code from Qt:
-#
-# include($$QT_SOURCE_TREE/src/plugins/platforms/fontdatabases/genericunix/genericunix.pri)
-#
-# 2) Loading external plugins:
-# Specify the path to the directory containing the
-# plugin on the command line, in addition to the
-# platform name.
-#
-# ./wiggly -platformPluginPath /path/to/myPlugin -platform gullfaksA
-#
-
-!exists($$(QTDIR)/.qmake.cache) {
- error("Please set QTDIR to the Qt build directory")
-}
-
-QT_SOURCE_TREE = $$fromfile($$(QTDIR)/.qmake.cache,QT_SOURCE_TREE)
-QT_BUILD_TREE = $$fromfile($$(QTDIR)/.qmake.cache,QT_BUILD_TREE)
-
-load(qt_plugin)