summaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
Diffstat (limited to 'demos')
-rw-r--r--demos/demos.pro2
-rw-r--r--demos/spectrum/3rdparty/fftreal/fftreal_wrapper.h4
2 files changed, 5 insertions, 1 deletions
diff --git a/demos/demos.pro b/demos/demos.pro
index f359bd7..fdc1e4c 100644
--- a/demos/demos.pro
+++ b/demos/demos.pro
@@ -58,7 +58,7 @@ wince*:SUBDIRS += demos_sqlbrowser
contains(QT_CONFIG, phonon):!static:SUBDIRS += demos_mediaplayer
contains(QT_CONFIG, webkit):contains(QT_CONFIG, svg):!symbian:SUBDIRS += demos_browser
contains(QT_CONFIG, declarative):SUBDIRS += demos_declarative
-contains(QT_CONFIG, multimedia):SUBDIRS += demos_spectrum
+contains(QT_CONFIG, multimedia):!static:SUBDIRS += demos_spectrum
# install
sources.files = README *.pro
diff --git a/demos/spectrum/3rdparty/fftreal/fftreal_wrapper.h b/demos/spectrum/3rdparty/fftreal/fftreal_wrapper.h
index 48d614e..b8190a9 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