-
Notifications
You must be signed in to change notification settings - Fork 345
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Apparently starting in Qt6.7, the QSqlDatase class requires that a QCoreApplication exist. These test cases are failing because (like all of the existing tests) they are using the "appless" test mode. Switching these test cases from "appless" testing to "guiless" testing tells eliminate the errors.
- Loading branch information
1 parent
2ed651c
commit 6f57108
Showing
4 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -82,4 +82,4 @@ void TestDbCon::cleanupTestCase() | |
{ | ||
} | ||
|
||
QTEST_APPLESS_MAIN(TestDbCon) | ||
QTEST_GUILESS_MAIN(TestDbCon) |
2 changes: 1 addition & 1 deletion
2
mythtv/libs/libmythbase/test/test_programinfo/test_programinfo.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#include "test_programinfo.h" | ||
|
||
QTEST_APPLESS_MAIN(TestProgramInfo) | ||
QTEST_GUILESS_MAIN(TestProgramInfo) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -139,4 +139,4 @@ void TestVideoList::cleanupTestCase() | |
{ | ||
} | ||
|
||
QTEST_APPLESS_MAIN(TestVideoList) | ||
QTEST_GUILESS_MAIN(TestVideoList) |