summaryrefslogtreecommitdiffstats
path: root/src/charts/domain/abstractdomain.cpp
diff options
context:
space:
mode:
authorRobin Burchell <robin.burchell@viroteck.net>2016-01-13 21:18:26 +0100
committerRobin Burchell <robin.burchell@viroteck.net>2016-01-14 11:47:01 +0000
commitaa5aba329d302d352bdb084318e53ca8654b6fb2 (patch)
treee9220b44d386d276b68fd82a32e5e72b46746398 /src/charts/domain/abstractdomain.cpp
parent46147b040d064d42759a196a7f4981a3e38a0502 (diff)
charts: Follow Qt's already-existent -developer-build option.
This means that rebuilding the entirety of Qt with -developer-build will get us all autotests. Furthermore, it fixes the situation on OS X where a debug_and_release build wouldn't actually fully link. In addition, we clean up the tests that were stubbed when internals aren't available to just not build/run them at all by checking private_tests. Change-Id: I5701559cd91df842f78346d7d6ad9295bee587d0 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
Diffstat (limited to 'src/charts/domain/abstractdomain.cpp')
-rw-r--r--src/charts/domain/abstractdomain.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/charts/domain/abstractdomain.cpp b/src/charts/domain/abstractdomain.cpp
index 97cf555b..fb906c66 100644
--- a/src/charts/domain/abstractdomain.cpp
+++ b/src/charts/domain/abstractdomain.cpp
@@ -234,7 +234,7 @@ bool AbstractDomain::detachAxis(QAbstractAxis *axis)
// operators
-bool QT_CHARTS_AUTOTEST_EXPORT operator== (const AbstractDomain &domain1, const AbstractDomain &domain2)
+bool Q_AUTOTEST_EXPORT operator== (const AbstractDomain &domain1, const AbstractDomain &domain2)
{
return (qFuzzyIsNull(domain1.m_maxX - domain2.m_maxX)
&& qFuzzyIsNull(domain1.m_maxY - domain2.m_maxY)
@@ -243,13 +243,13 @@ bool QT_CHARTS_AUTOTEST_EXPORT operator== (const AbstractDomain &domain1, const
}
-bool QT_CHARTS_AUTOTEST_EXPORT operator!= (const AbstractDomain &domain1, const AbstractDomain &domain2)
+bool Q_AUTOTEST_EXPORT operator!= (const AbstractDomain &domain1, const AbstractDomain &domain2)
{
return !(domain1 == domain2);
}
-QDebug QT_CHARTS_AUTOTEST_EXPORT operator<<(QDebug dbg, const AbstractDomain &domain)
+QDebug Q_AUTOTEST_EXPORT operator<<(QDebug dbg, const AbstractDomain &domain)
{
#ifdef QT_NO_TEXTSTREAM
Q_UNUSED(domain)