Skip to content
This repository has been archived by the owner on Nov 2, 2023. It is now read-only.

Commit

Permalink
ToneMappingAndGammaCorrectionEffect: make unit test work on Windows
Browse files Browse the repository at this point in the history
Some Qt internals rely on a QCoreApplication being available when
running that test on Windows. Therefore, use QTEST_MAIN instead of
QTEST_APPLESS_MAIN.

Change-Id: Ibb5965aed491973741e94a9fbc840cb08f605203
Reviewed-on: https://kuesa-codereview.kdab.com/c/kuesa/kuesa/+/340
Reviewed-by: Mike Krus <mike.krus@kdab.com>
  • Loading branch information
lemirep committed Dec 4, 2019
1 parent 1dc48e9 commit 065f00a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,6 @@ private Q_SLOTS:
}
};

QTEST_APPLESS_MAIN(tst_ToneMappingAndGammaCorrectionEffect)
QTEST_MAIN(tst_ToneMappingAndGammaCorrectionEffect)

#include "tst_tonemappingandgammacorrectioneffect.moc"

0 comments on commit 065f00a

Please sign in to comment.