summaryrefslogtreecommitdiffstats
path: root/demos/spectrum/app/app.pro
diff options
context:
space:
mode:
authorGareth Stockwell <ext-gareth.stockwell@nokia.com>2010-05-06 09:37:26 (GMT)
committerGareth Stockwell <ext-gareth.stockwell@nokia.com>2010-05-06 09:44:57 (GMT)
commitf5e56527cbf8aa2bc1b78ff8558ea6f6088a7c66 (patch)
tree9ac524faaee62106e3d6706bf2471dec7919785a /demos/spectrum/app/app.pro
parent441e0e6a29ac02c35f6269d7c83a6d70465b7405 (diff)
downloadQt-f5e56527cbf8aa2bc1b78ff8558ea6f6088a7c66.zip
Qt-f5e56527cbf8aa2bc1b78ff8558ea6f6088a7c66.tar.gz
Qt-f5e56527cbf8aa2bc1b78ff8558ea6f6088a7c66.tar.bz2
Corrected headers for spectrum analyzer demo
- Added /3rdparty/ to directory path for FFTReal code - Added missing $QT_BEGIN_LICENSE$, $QT_END_LICENSE$ - Fixed incorrect license in app/wavfile.cpp Reviewed-by: trustme
Diffstat (limited to 'demos/spectrum/app/app.pro')
-rw-r--r--demos/spectrum/app/app.pro8
1 files changed, 5 insertions, 3 deletions
diff --git a/demos/spectrum/app/app.pro b/demos/spectrum/app/app.pro
index 9964d14..2adb605 100644
--- a/demos/spectrum/app/app.pro
+++ b/demos/spectrum/app/app.pro
@@ -37,7 +37,9 @@ HEADERS += engine.h \
waveform.h \
wavfile.h
-INCLUDEPATH += ../fftreal
+fftreal_dir = ../3rdparty/fftreal
+
+INCLUDEPATH += $${fftreal_dir}
RESOURCES = spectrum.qrc
@@ -58,7 +60,7 @@ symbian {
} else {
macx {
# Link to fftreal framework
- LIBS += -F../fftreal
+ LIBS += -F$${fftreal_dir}
LIBS += -framework fftreal
} else {
# Link to dynamic library which is written to ../bin
@@ -92,7 +94,7 @@ symbian {
QMAKE_POST_LINK = \
mkdir -p $${framework_dir} &&\
rm -rf $${framework_dir}/fftreal.framework &&\
- cp -R ../fftreal/fftreal.framework $${framework_dir} &&\
+ cp -R $${fftreal_dir}/fftreal.framework $${framework_dir} &&\
install_name_tool -id @executable_path/../Frameworks/$${framework_name} \
$${framework_dir}/$${framework_name} &&\
install_name_tool -change $${framework_name} \