Permalink
Browse files

Merge pull request #2 from vetal4444/master

Changes for Linux compability
  • Loading branch information...
2 parents 45d81b3 + 51a7ccb commit a438512d6c8617e96a09423c2c3575c93021775b @Y-Vladimir committed Jul 17, 2012
Showing with 13 additions and 0 deletions.
  1. +4 −0 src/DeconvolutionTool.h
  2. +4 −0 src/ImageUtils.h
  3. +4 −0 src/MainWindow.h
  4. +1 −0 src/SmartDeblur.pro
View
@@ -12,7 +12,11 @@
#include <time.h>
#include <math.h>
#include "ImageUtils.h"
+#if defined (Q_WS_WIN)
#include "fftw3.h"
+#else
+#include <fftw3.h>
+#endif
#include <typeinfo>
View
@@ -5,7 +5,11 @@
#include <QTime>
#include <QImage>
#include <QPainter>
+#if defined (Q_WS_WIN)
#include "fftw3.h"
+#else
+#include <fftw3.h>
+#endif
#include <math.h>
#include "Models/Blur.h"
#include "Models/FocusBlur.h"
View
@@ -20,7 +20,11 @@
#include <time.h>
#include <math.h>
+#if defined (Q_WS_WIN)
#include "fftw3.h"
+#else
+#include <fftw3.h>
+#endif
#include "DeconvolutionTool.h"
#include "WorkerThread.h"
View
@@ -28,6 +28,7 @@ HEADERS += MainWindow.h \
FORMS += MainWindow.ui
win32: LIBS += -L$$PWD/FFTW/libs/ -llibfftw3-3
+unix: LIBS += -L$$/usr/lib/ -lfftw3_threads -lfftw3
INCLUDEPATH += $$PWD/FFTW
DEPENDPATH += $$PWD/FFTW

0 comments on commit a438512

Please sign in to comment.