Remove the use of Q_TESTLIB_PRIVATE_EXPORT
Q_TESTLIB_PRIVATE_EXPORT is the redefinition of Q_TESTLIB_EXPORT. Keeping the both makes no sense. Task-number: QTBUG-117983 Change-Id: Id909530f1453ad092a45f40c1c85fed1f66e38d7 Reviewed-by: Jason McDonald <macadder1@gmail.com> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
This commit is contained in:
parent
b72f013fcc
commit
a7715d2706
@ -16,7 +16,6 @@
|
|||||||
//
|
//
|
||||||
|
|
||||||
#include <QtTest/qtestcase.h>
|
#include <QtTest/qtestcase.h>
|
||||||
#include <QtTest/private/qttestexports_p.h>
|
|
||||||
#include <QtTest/qttestglobal.h>
|
#include <QtTest/qttestglobal.h>
|
||||||
|
|
||||||
#include <QtCore/qstring.h>
|
#include <QtCore/qstring.h>
|
||||||
@ -26,8 +25,8 @@ QT_BEGIN_NAMESPACE
|
|||||||
|
|
||||||
namespace QTest {
|
namespace QTest {
|
||||||
#if QT_CONFIG(batch_test_support)
|
#if QT_CONFIG(batch_test_support)
|
||||||
Q_TESTLIB_PRIVATE_EXPORT QList<QString> qGetTestCaseNames();
|
Q_TESTLIB_EXPORT QList<QString> qGetTestCaseNames();
|
||||||
Q_TESTLIB_PRIVATE_EXPORT TestEntryFunction qGetTestCaseEntryFunction(const QString &name);
|
Q_TESTLIB_EXPORT TestEntryFunction qGetTestCaseEntryFunction(const QString &name);
|
||||||
#endif // QT_CONFIG(batch_test_support)
|
#endif // QT_CONFIG(batch_test_support)
|
||||||
} // namespace QTest
|
} // namespace QTest
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user