From e1ee6e0227144aa9defee3492fa7886c8b55a1c2 Mon Sep 17 00:00:00 2001 From: Miikka Heikkinen Date: Thu, 20 Jun 2013 10:03:04 +0300 Subject: Make examples work without needing to install the module MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Iae4ce2f9d97c19a3337e87ad67da120b58cf71c7 Reviewed-by: Tomi Korpipää --- examples/spectrum/spectrumapp/spectrumapp.pro | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'examples/spectrum/spectrumapp/spectrumapp.pro') diff --git a/examples/spectrum/spectrumapp/spectrumapp.pro b/examples/spectrum/spectrumapp/spectrumapp.pro index f73336a1..c2455f78 100644 --- a/examples/spectrum/spectrumapp/spectrumapp.pro +++ b/examples/spectrum/spectrumapp/spectrumapp.pro @@ -1,4 +1,10 @@ -include(../spectrum.pri) +!include( ../../examples.pri ) { + error( "Couldn't find the examples.pri file!" ) +} + +!include( ../spectrum.pri ) { + error( "Couldn't find the spectrum.pri file!" ) +} static: error(This application cannot be statically linked to the fftreal library) @@ -6,7 +12,7 @@ TEMPLATE = app TARGET = spectrum -QT += multimedia datavis3d +QT += multimedia SOURCES += main.cpp \ engine.cpp \ -- cgit v1.2.3