summaryrefslogtreecommitdiff
path: root/tests/unit
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2019-08-28 13:04:16 +0200
committerEike Ziller <eike.ziller@qt.io>2019-09-10 07:31:21 +0000
commit8452264a186e94fe26a21bebf0f2d40d62891bbd (patch)
tree199fead48cd345a906b6a8797f89b9ce5fba1a60 /tests/unit
parenta0352f24d0913c4a2852a9dbcd1c3bc9745801f8 (diff)
downloadqt-creator-8452264a186e94fe26a21bebf0f2d40d62891bbd.tar.gz
CppTools: Move QtVersion and BuildTargetType
QtVersion to utils/cpplanguage_details.h which already contains similar flags. BuildTargetType to ProjectExplorer, next to BuildTargetInfo (but not in the same header to not pull that in everywhere). Removes dependency on ProjectPart from RawProjectPart. Change-Id: I5791065e4266f20c2657ee4b1b594df04b238a1c Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/unittest/compileroptionsbuilder-test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/unittest/compileroptionsbuilder-test.cpp b/tests/unit/unittest/compileroptionsbuilder-test.cpp
index 372149c046..9d026e2500 100644
--- a/tests/unit/unittest/compileroptionsbuilder-test.cpp
+++ b/tests/unit/unittest/compileroptionsbuilder-test.cpp
@@ -64,7 +64,7 @@ protected:
ProjectExplorer::Macro{"_MSC_FULL_VER", "1900"},
ProjectExplorer::Macro{"_MSC_VER", "19"}};
projectPart.projectMacros = {ProjectExplorer::Macro{"projectFoo", "projectBar"}};
- projectPart.qtVersion = ProjectPart::Qt5;
+ projectPart.qtVersion = Utils::QtVersion::Qt5;
projectPart.headerPaths = {HeaderPath{"/tmp/builtin_path", HeaderPathType::BuiltIn},
HeaderPath{"/tmp/system_path", HeaderPathType::System},