first commit: set up basic project structure, created simple qt+qml application
[quickdice] / common-project-config.pri
diff --git a/common-project-config.pri b/common-project-config.pri
new file mode 100644 (file)
index 0000000..bef7a7b
--- /dev/null
@@ -0,0 +1,41 @@
+###############################################################################
+#
+# This file is part of quickdice.
+#
+# Copyright (C) 2011 Digia Plc. and/or its subsidiary(-ies).
+# Contact: Zoltan Papp <zoltan.papp@digia.com>
+#
+# This library is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License version 2.1 as
+# published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+# License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with this library; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+#
+###############################################################################
+
+#------------------------------------------------------------------------------
+# Common configuration for all projects.
+#------------------------------------------------------------------------------
+
+CONFIG         += link_pkgconfig
+MOC_DIR         = .moc
+OBJECTS_DIR     = .obj
+RCC_DIR         = resources
+UI_DIR          = ui
+UI_HEADERS_DIR  = ui/include
+UI_SOURCES_DIR  = ui/src
+
+# we don't like warnings...
+QMAKE_CXXFLAGS *= -Werror
+
+#------------------------------------------------------------------------------
+# End of File
+#------------------------------------------------------------------------------
+