Move the TRANSLATIONS thingy to a more proper place. Not yet convinced that qmake...
[quassel.git] / build / targets / target.pri
index 29a8f6c..764bace 100644 (file)
@@ -1,10 +1,22 @@
 TEMPLATE = app
+
+include(../buildconf.pri)
+
+RESOURCES   *= ../../i18n/i18n.qrc
+TRANSLATIONS = quassel_de.ts \
+               quassel_da.ts
+
 SRCPATH = ../../src
-OBJECTS_DIR = $${TARGET}.tmp
+OBJECTS_DIR = .$$TARGET
+RCC_DIR     = .$$TARGET
 
 for(mod, MODULES) {
   INCLUDEPATH *= $$SRCPATH/$$mod
   LIBS *= -L../modules/$$dirname(mod) -l$$basename(mod)
+  PRE_TARGETDEPS *= ../modules/$$mod
 }
 
+#CONTRIB += libqxt  # not needed
+#include(../contrib/contrib.pri)
+
 SOURCES = $$SRCPATH/common/main.cpp