summaryrefslogtreecommitdiffhomepage
path: root/options
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-07-10 13:11:21 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-07-10 13:11:21 +0200
commit8562e190d63710f77bf00b1b2cd7ccde6153eef0 (patch)
tree5b4ead523bf98780e3e1a759ba3592d37708ff8f /options
parent1173eb0fb61e8409e0530c98726ed7b485eb834c (diff)
fix build
Diffstat (limited to 'options')
-rw-r--r--options/metatype.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/options/metatype.hpp b/options/metatype.hpp
index 9d3cbda1..27e37c80 100644
--- a/options/metatype.hpp
+++ b/options/metatype.hpp
@@ -9,13 +9,13 @@
#include "defs.hpp"
#include <QMetaType>
-#ifndef OPENTRACK_METATYPE_
+#if !defined OPENTRACK_METATYPE_ || defined Q_CREATOR_RUN
# define OPENTRACK_METATYPE(x) Q_DECLARE_METATYPE(x)
#else
# define OPENTRACK_METATYPE(x) Q_DECLARE_METATYPE(x) OPENTRACK_METATYPE_(x)
#endif
-#if !defined __clang_analyzer__ && !defined Q_CREATOR_RUN
+#if !defined __clang_analyzer__
OPENTRACK_METATYPE(QList<double>);
OPENTRACK_METATYPE(QList<float>);
OPENTRACK_METATYPE(QList<int>);