Skip to content

Commit

Permalink
Create test profiles in temp
Browse files Browse the repository at this point in the history
Partially fixes #34185
  • Loading branch information
m-kuhn authored and strk committed Apr 1, 2020
1 parent 0bae5e8 commit ae087a3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/test/qgstest.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@
QT_END_NAMESPACE \
int main(int argc, char *argv[]) \
{ \
QTemporaryDir dir; \
QgsApplication app(argc, argv, false); \
app.init(); \
app.init( dir.path() ); \
dir.setAutoRemove( false ); \
app.setAttribute(Qt::AA_Use96Dpi, true); \
QTEST_DISABLE_KEYPAD_NAVIGATION \
QTEST_ADD_GPU_BLACKLIST_SUPPORT \
Expand Down

0 comments on commit ae087a3

Please sign in to comment.