diff --git a/Apps/Decimating/DecimaterGui/DecimaterGui.pro b/Apps/Decimating/DecimaterGui/DecimaterGui.pro
index 3de585fa..66032c41 100644
--- a/Apps/Decimating/DecimaterGui/DecimaterGui.pro
+++ b/Apps/Decimating/DecimaterGui/DecimaterGui.pro
@@ -15,12 +15,12 @@ glew()
glut()
openmesh()
-DIRECTORIES = .. ../../QtViewer
+DIRECTORIES = ../../QtViewer ../
# Input
HEADERS += $$getFilesFromDir($$DIRECTORIES,*.hh)
-SOURCES += $$getFilesFromDir($$DIRECTORIES,*.cc)
-SOURCES -= ../decimater.cc ../../QtViewer/meshviewer.cc
-FORMS += $$getFilesFromDir($$DIRECTORIES,*.ui)
+SOURCES += ../../QtViewer/QGLViewerWidget.cc ../../QtViewer/MeshViewerWidgetT.cc ../DecimaterViewerWidget.cc
+SOURCES += ../decimaterviewer.cc
+
################################################################################
diff --git a/Apps/Decimating/DecimaterGui/DecimaterGui.vcproj b/Apps/Decimating/DecimaterGui/DecimaterGui.vcproj
index 97a30550..f7c9529d 100644
--- a/Apps/Decimating/DecimaterGui/DecimaterGui.vcproj
+++ b/Apps/Decimating/DecimaterGui/DecimaterGui.vcproj
@@ -19,7 +19,7 @@
UseOfMfc="0">
-
@@ -157,60 +155,18 @@
-
-
-
-
-
-
-
+ RelativePath="..\..\QtViewer\MeshViewerWidget.hh"/>
-
-
-
-
-
-
-
+ RelativePath="..\..\QtViewer\QGLViewerWidget.hh"/>
-
-
-
-
-
-
-
-
-
-
-
-