diff --git a/src/tl/unit_tests/tlFileUtilsTests.cc b/src/tl/unit_tests/tlFileUtilsTests.cc index 78b173502..40f1c69a7 100644 --- a/src/tl/unit_tests/tlFileUtilsTests.cc +++ b/src/tl/unit_tests/tlFileUtilsTests.cc @@ -805,6 +805,9 @@ TEST (19) std::string home = tl::get_home_path (); // no specific value, just something ... EXPECT_EQ (home.size () > 5, true); +#if defined(HAVE_QT) + EXPECT_EQ (home, tl::to_string (QDir::homePath ())); +#endif } // absolute path with "~" expansion