summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Alberto Mardegan <mardy@users.sourceforge.net>2013-04-01 13:57:51 +0300
committerGravatar Alberto Mardegan <mardy@users.sourceforge.net>2013-04-01 16:03:59 +0300
commit7ea22811802cda1df227e7fb4b76720fc15b2dcd (patch)
treeadc3b1144ef9abdbbfe53f50dff116f9ee581c4a /Makefile
parent578d633d0148a13397f330aa91af1470843d73c1 (diff)
downloadsubsurface-7ea22811802cda1df227e7fb4b76720fc15b2dcd.tar.gz
Introduce QApplication
Instantiate a QApplication and let Qt handle the event loop. Add a QTranslator subclass to translate the UI via gettext. Signed-off-by: Alberto Mardegan <mardy@users.sourceforge.net>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a38586ff0..a9da8dd1a 100644
--- a/Makefile
+++ b/Makefile
@@ -317,6 +317,8 @@ MOCFLAGS = $(filter -I%, $(CXXFLAGS) $(EXTRA_FLAGS)) $(filter -D%, $(CXXFLAGS) $
@echo ' MOC' $<
@$(MOC) -i $(MOCFLAGS) $< -o $@
+qt-gui.o: qt-gui.moc.cpp
+
%.ui.h: ui/%.ui
@echo ' UIC' $<
@$(UIC) $< -o $@