diff options
author | Christian Stenger <christian.stenger@qt.io> | 2023-01-26 08:31:40 +0100 |
---|---|---|
committer | Christian Stenger <christian.stenger@qt.io> | 2023-01-26 08:37:26 +0000 |
commit | 310d7f81d8ff59dfc9e3afc23181d1c3f51930bb (patch) | |
tree | 8b8c5a80296948e6b6ed058ecc59deac5a388a61 | |
parent | d0be4bd43b6877e59d819946567fb8ecc684fe6d (diff) |
Fix qbs build
Change-Id: Ic5ca99131d64b3a582d66eeab61072ebec486727
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
-rw-r--r-- | app/app.qbs | 2 | ||||
-rw-r--r-- | tests/auto/addresscache/addresscache.qbs | 2 | ||||
-rw-r--r-- | tests/auto/finddebugsym/finddebugsym.qbs | 32 | ||||
-rw-r--r-- | tests/auto/perfdata/perfdata.qbs | 4 |
4 files changed, 36 insertions, 4 deletions
diff --git a/app/app.qbs b/app/app.qbs index 0e11526..27fd161 100644 --- a/app/app.qbs +++ b/app/app.qbs @@ -15,6 +15,8 @@ QtcTool { files: [ "main.cpp", + "demangler.cpp", + "demangler.h", "perfaddresscache.cpp", "perfaddresscache.h", "perfattributes.cpp", diff --git a/tests/auto/addresscache/addresscache.qbs b/tests/auto/addresscache/addresscache.qbs index 9c8d0b3..987831f 100644 --- a/tests/auto/addresscache/addresscache.qbs +++ b/tests/auto/addresscache/addresscache.qbs @@ -4,6 +4,8 @@ QtcAutotest { name: "AddressCache Autotest" files: [ "tst_addresscache.cpp", + "../../../app/demangler.cpp", + "../../../app/demangler.h", "../../../app/perfelfmap.cpp", "../../../app/perfelfmap.h", "../../../app/perfaddresscache.cpp", diff --git a/tests/auto/finddebugsym/finddebugsym.qbs b/tests/auto/finddebugsym/finddebugsym.qbs index 2a68e3a..0b51715 100644 --- a/tests/auto/finddebugsym/finddebugsym.qbs +++ b/tests/auto/finddebugsym/finddebugsym.qbs @@ -4,8 +4,36 @@ QtcAutotest { name: "finddebugsym Autotest" files: [ "tst_finddebugsym.cpp", + "../../../app/demangler.cpp", + "../../../app/demangler.h", + "../../../app/perfaddresscache.cpp", + "../../../app/perfaddresscache.h", + "../../../app/perfattributes.cpp", + "../../../app/perfattributes.h", + "../../../app/perfdata.cpp", + "../../../app/perfdata.h", + "../../../app/perfdwarfdiecache.cpp", + "../../../app/perfdwarfdiecache.h", + "../../../app/perfelfmap.cpp", + "../../../app/perfelfmap.h", + "../../../app/perffeatures.cpp", + "../../../app/perffeatures.h", + "../../../app/perffilesection.cpp", + "../../../app/perffilesection.h", + "../../../app/perfheader.cpp", + "../../../app/perfheader.h", "../../../app/perfkallsyms.cpp", - "../../../app/perfkallsyms.h" + "../../../app/perfkallsyms.h", + "../../../app/perfregisterinfo.cpp", + "../../../app/perfregisterinfo.h", + "../../../app/perfsymboltable.cpp", + "../../../app/perfsymboltable.h", + "../../../app/perftracingdata.cpp", + "../../../app/perftracingdata.h", + "../../../app/perfunwind.cpp", + "../../../app/perfunwind.h", ] - cpp.includePaths: base.concat(["../../../app"]) + cpp.includePaths: base.concat(["../../../app"]).concat(project.includePaths) + cpp.libraryPaths: project.libPaths + cpp.dynamicLibraries: ["dw", "elf"] } diff --git a/tests/auto/perfdata/perfdata.qbs b/tests/auto/perfdata/perfdata.qbs index 033a0a3..4e87094 100644 --- a/tests/auto/perfdata/perfdata.qbs +++ b/tests/auto/perfdata/perfdata.qbs @@ -11,6 +11,8 @@ QtcAutotest { "tst_perfdata.cpp", "../shared/perfparsertestclient.cpp", "../shared/perfparsertestclient.h", + "../../../app/demangler.cpp", + "../../../app/demangler.h", "../../../app/perfaddresscache.cpp", "../../../app/perfaddresscache.h", "../../../app/perfattributes.cpp", @@ -37,7 +39,5 @@ QtcAutotest { "../../../app/perftracingdata.h", "../../../app/perfunwind.cpp", "../../../app/perfunwind.h", - "../../../app/demangle.cpp", - "../../../app/demangle.h" ] } |