forked from qt-creator/qt-creator
Qbs: Fix linking tests when building release with tests
Change-Id: I5df34f06b5ca107b5e85cf6319d6d08aba244e5b Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -9,6 +9,7 @@ Project {
|
||||
|
||||
QtcLibrary {
|
||||
Depends { name: "Qt"; submodules: ["qml", "quick", "gui"] }
|
||||
Depends { name: "Qt.testlib"; condition: project.withAutotests }
|
||||
Depends { name: "Utils" }
|
||||
|
||||
Group {
|
||||
@@ -48,7 +49,7 @@ Project {
|
||||
|
||||
Group {
|
||||
name: "Unit test utilities"
|
||||
condition: qtc.testsEnabled
|
||||
condition: project.withAutotests
|
||||
files: [
|
||||
"runscenegraphtest.cpp", "runscenegraphtest.h"
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user