diff options
author | Gareth Stockwell <ext-gareth.stockwell@nokia.com> | 2010-10-08 15:59:44 (GMT) |
---|---|---|
committer | Gareth Stockwell <ext-gareth.stockwell@nokia.com> | 2010-10-11 11:10:07 (GMT) |
commit | 48f18622b6fbfd19ccc77574d3750a8c0c1f6a7d (patch) | |
tree | 8df7154798e3d09e06be5f6c52501b513fbbd3f8 /demos/spectrum/spectrum.pri | |
parent | 4809920df3c3329d47f595c1287ab44b454abb88 (diff) | |
download | Qt-48f18622b6fbfd19ccc77574d3750a8c0c1f6a7d.zip Qt-48f18622b6fbfd19ccc77574d3750a8c0c1f6a7d.tar.gz Qt-48f18622b6fbfd19ccc77574d3750a8c0c1f6a7d.tar.bz2 |
Spectrum demo: put binaries into correct locations on Windows
Task-number: QTBUG-13483
Reviewed-by: Miikka Heikkinen
Diffstat (limited to 'demos/spectrum/spectrum.pri')
-rw-r--r-- | demos/spectrum/spectrum.pri | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/demos/spectrum/spectrum.pri b/demos/spectrum/spectrum.pri index c09aa0d..5773900 100644 --- a/demos/spectrum/spectrum.pri +++ b/demos/spectrum/spectrum.pri @@ -35,3 +35,15 @@ DEFINES += SPECTRUM_ANALYSER_SEPARATE_THREAD # Suppress warnings about strncpy potentially being unsafe, emitted by MSVC win32: DEFINES += _CRT_SECURE_NO_WARNINGS +win32 { + # spectrum_build_dir is defined with a leading slash so that it can + # be used in contexts such as + # ..$${spectrum_build_dir} + # without the result having a trailing slash where spectrum_build_dir + # is undefined. + spectrum_build_dir = /release + if (!debug_and_release|build_pass): CONFIG(debug, debug|release) { + spectrum_build_dir = /debug + } +} + |