summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-10-03 13:21:36 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-10-03 13:21:36 -0700
commit7a368ab06b4926236ec93207e66ff7b14c234fe1 (patch)
tree5c59188cf2f0cf1ad60edbf71fedd003d273514a
parent65b49edf8a6f68214eb298110d45aa1e995b8d8c (diff)
downloadsubsurface-7a368ab06b4926236ec93207e66ff7b14c234fe1.tar.gz
Better fix for the compile problems
Still don't like the order dependency - but at least this seems to work and correctly build after make confclean. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--Makefile12
-rw-r--r--main.cpp1
-rw-r--r--qt-ui/simplewidgets.h2
3 files changed, 7 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 4a3f6f86c..5258d3dbd 100644
--- a/Makefile
+++ b/Makefile
@@ -68,7 +68,6 @@ SOURCES = \
equipment.c \
file.c \
info.c \
- main.cpp \
parse-xml.c \
planner.c \
subsurfacestartup.c \
@@ -80,10 +79,9 @@ SOURCES = \
uemis.c \
uemis-downloader.c \
libdivecomputer.c \
- qt-gui.cpp \
qthelper.cpp \
- qt-ui/divelistview.cpp \
- qt-ui/maintab.cpp \
+ qt-ui/simplewidgets.cpp \
+ qt-ui/tableview.cpp \
qt-ui/mainwindow.cpp \
qt-ui/models.cpp \
qt-ui/plotareascene.cpp \
@@ -94,17 +92,19 @@ SOURCES = \
qt-ui/kmessagewidget.cpp \
qt-ui/downloadfromdivecomputer.cpp \
qt-ui/preferences.cpp \
- qt-ui/simplewidgets.cpp \
qt-ui/subsurfacewebservices.cpp \
qt-ui/divecomputermanagementdialog.cpp \
qt-ui/diveplanner.cpp \
+ qt-ui/divelistview.cpp \
qt-ui/about.cpp \
qt-ui/graphicsview-common.cpp \
qt-ui/printdialog.cpp \
qt-ui/printoptions.cpp \
qt-ui/printlayout.cpp \
qt-ui/completionmodels.cpp \
- qt-ui/tableview.cpp \
+ qt-ui/maintab.cpp \
+ qt-gui.cpp \
+ main.cpp \
$(RESFILE)
diff --git a/main.cpp b/main.cpp
index 515dd40f5..a6e39ec53 100644
--- a/main.cpp
+++ b/main.cpp
@@ -11,7 +11,6 @@
#include "subsurfacestartup.h"
#include "qt-ui/mainwindow.h"
#include "qt-ui/diveplanner.h"
-#include "qt-ui/ui_tableview.h"
#include <QStringList>
diff --git a/qt-ui/simplewidgets.h b/qt-ui/simplewidgets.h
index 057a97251..78f4582c1 100644
--- a/qt-ui/simplewidgets.h
+++ b/qt-ui/simplewidgets.h
@@ -7,7 +7,7 @@ class QAbstractButton;
#include <QWidget>
#include <QDialog>
-#include "ui_renumber.h"
+#include "qt-ui/ui_renumber.h"
class MinMaxAvgWidget : public QWidget{
Q_OBJECT