diff options
Diffstat (limited to 'mkspecs')
-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") +} |