summaryrefslogtreecommitdiffstats
path: root/demos/spectrum
diff options
context:
space:
mode:
authorGareth Stockwell <ext-gareth.stockwell@nokia.com>2010-08-10 10:51:06 +0100
committerGareth Stockwell <ext-gareth.stockwell@nokia.com>2010-08-11 14:12:44 +0100
commit32a54a21d77310f7bc1f306d175e41040d024a43 (patch)
treeff1e7ecbe6114efbf69786c48f41d23d0c320663 /demos/spectrum
parentbdfbedf971f3e9ef99977652308b9e2b1c213210 (diff)
Do not include Spectrum Analyzer demo in static builds
This demo includes a 3rd party library which is licensed under the LGPL. As such, the demo application may only link to the library dynamically. Task-number: QTBUG-12713 Reviewed-by: Justin McPherson
Diffstat (limited to 'demos/spectrum')
-rw-r--r--demos/spectrum/3rdparty/fftreal/fftreal_wrapper.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/demos/spectrum/3rdparty/fftreal/fftreal_wrapper.h b/demos/spectrum/3rdparty/fftreal/fftreal_wrapper.h
index 48d614eb06..b8190a90b9 100644
--- a/demos/spectrum/3rdparty/fftreal/fftreal_wrapper.h
+++ b/demos/spectrum/3rdparty/fftreal/fftreal_wrapper.h
@@ -22,6 +22,10 @@
#include <QtCore/QtGlobal>
+#ifndef QT_DLL
+# error This library is licensed under the LGPL and must be dynamically linked
+#endif
+
#if defined(FFTREAL_LIBRARY)
# define FFTREAL_EXPORT Q_DECL_EXPORT
#else