introduce tool_plugin CONFIG flag
while plugins for libraries need to follow the -debug-and-release switch, plugins for tools must follow the single-config approach of tools. Change-Id: I8a79e98034d2ff8b5d4e6191a9143c9472a5aa02 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
This commit is contained in:
parent
f0ee55c00a
commit
b493e1ec6f
@ -1,7 +1,9 @@
|
||||
TEMPLATE = lib
|
||||
CONFIG += qt plugin
|
||||
|
||||
if(win32|mac):!macx-xcode {
|
||||
tool_plugin {
|
||||
!build_pass:contains(QT_CONFIG, build_all): CONFIG += release
|
||||
} else:if(win32|mac):!macx-xcode {
|
||||
contains(QT_CONFIG, debug_and_release):CONFIG += debug_and_release
|
||||
contains(QT_CONFIG, build_all):CONFIG += build_all
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user