first commit: set up basic project structure, created simple qt+qml application
[quickdice] / src / src.pro
diff --git a/src/src.pro b/src/src.pro
new file mode 100644 (file)
index 0000000..20bac34
--- /dev/null
@@ -0,0 +1,72 @@
+###############################################################################
+#
+# 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
+#
+###############################################################################
+
+!include( ../common-project-config.pri ) : \
+    error( "Unable to include common-project-config.pri" )
+!include( ../common-vars.pri ) : \
+    error( "Unable to include common-vars.pri" )
+
+# -----------------------------------------------------------------------------
+# Target setup
+# -----------------------------------------------------------------------------
+TEMPLATE = app
+TARGET   = $${PROJECT_NAME}
+
+QT      += core \
+           gui \
+           declarative
+
+# -----------------------------------------------------------------------------
+# Dependencies
+# -----------------------------------------------------------------------------
+INCLUDEPATH += .
+
+DEPENDPATH  += $$INCLUDEPATH
+
+# -----------------------------------------------------------------------------
+# Input
+# -----------------------------------------------------------------------------
+HEADERS     += mainwindow.h
+
+SOURCES     += mainwindow.cpp \
+               main.cpp
+
+# TODO: this should be a resource, but for now it will be fine here
+OTHER_FILES += test.qml
+    
+# -----------------------------------------------------------------------------
+# Common installation setup
+# NOTE: remember to set headers.files before this include to have the headers
+#       properly setup.
+# -----------------------------------------------------------------------------
+!include( ../common-installs-config.pri ) : \
+    error( "Unable to include common-installs-config.pri" )
+
+# -----------------------------------------------------------------------------
+# Installation target for the .desktop file
+# -----------------------------------------------------------------------------
+# TODO: desktop file needed
+
+#------------------------------------------------------------------------------
+# End of File
+#------------------------------------------------------------------------------
+