6319779bed
Output warning if not present
8 lines
306 B
Plaintext
8 lines
306 B
Plaintext
!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")
|
|
}
|