Commit 68609ca8 authored by Oswald Buddenhagen's avatar Oswald Buddenhagen

make plugin _dependencies.pri file optional

plugins that cannot be depended upon don't need it.
of course, the project file needs to directly define the respective
variables instead.

this makes it possible to have stand-alone plugins in arbitrarily named

Change-Id: I166d997bb4db41feac9ffe897cefce382e533bb0
Reviewed-by: Nicolas Arnaud-Cormos's avatarNicolas Arnaud-Cormos <>
Reviewed-by: default avatarOswald Buddenhagen <>
parent d411c076
include($$replace(_PRO_FILE_PWD_, ([^/]+$), \\1/\\1_dependencies.pri))
depfile = $$replace(_PRO_FILE_PWD_, ([^/]+$), \\1/\\1_dependencies.pri)
exists($$depfile) {
error("$$basename(depfile) does not define QTC_PLUGIN_NAME.")
} else {
error("QTC_PLUGIN_NAME is empty. Maybe you meant to create $$basename(depfile)?")
plugin_deps = $$QTC_PLUGIN_DEPENDS
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment