diff options
author | Marius Storm-Olsen <marius.storm-olsen@nokia.com> | 2011-04-01 05:47:28 -0500 |
---|---|---|
committer | Olivier Goffart <olivier.goffart@nokia.com> | 2011-05-02 15:30:08 +0200 |
commit | 6319779bedcc590af165e2ed7d3f1ab74d4b2329 (patch) | |
tree | 82db7d51a13c807d5ad62369ffcadf9ed2955e78 /mkspecs/features/module.prf | |
parent | 738d5c7c85230c740a7e86cb66c452c5719cc7e8 (diff) |
Add module.prf, and install MODULE_PRI for each module
Output warning if not present
Diffstat (limited to 'mkspecs/features/module.prf')
-rw-r--r-- | mkspecs/features/module.prf | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mkspecs/features/module.prf b/mkspecs/features/module.prf new file mode 100644 index 0000000000..248f7f516a --- /dev/null +++ b/mkspecs/features/module.prf @@ -0,0 +1,7 @@ +!isEmpty(MODULE_PRI) { + pritarget.path = $$[QT_INSTALL_DATA]/mkspecs/modules + pritarget.files = $$MODULE_PRI + INSTALLS = pritarget +} else { + warning("Project $$basename(_PRO_FILE_) is a module, but has not defined MODULE_PRI, which is required for Qt to expose the module to other projects") +} |