first commit: set up basic project structure, created simple qt+qml application
[quickdice] / src / src.pro
1 ###############################################################################
2 #
3 # This file is part of quickdice.
4 #
5 # Copyright (C) 2011 Digia Plc. and/or its subsidiary(-ies).
6 # Contact: Zoltan Papp <zoltan.papp@digia.com>
7 #
8 # This library is free software; you can redistribute it and/or modify it
9 # under the terms of the GNU Lesser General Public License version 2.1 as
10 # published by the Free Software Foundation.
11 #
12 # This library is distributed in the hope that it will be useful, but
13 # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
14 # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
15 # License for more details.
16 #
17 # You should have received a copy of the GNU Lesser General Public License
18 # along with this library; if not, write to the Free Software Foundation, Inc.,
19 # 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20 #
21 ###############################################################################
22
23 !include( ../common-project-config.pri ) : \
24     error( "Unable to include common-project-config.pri" )
25 !include( ../common-vars.pri ) : \
26     error( "Unable to include common-vars.pri" )
27
28 # -----------------------------------------------------------------------------
29 # Target setup
30 # -----------------------------------------------------------------------------
31 TEMPLATE = app
32 TARGET   = $${PROJECT_NAME}
33
34 QT      += core \
35            gui \
36            declarative
37
38 # -----------------------------------------------------------------------------
39 # Dependencies
40 # -----------------------------------------------------------------------------
41 INCLUDEPATH += .
42
43 DEPENDPATH  += $$INCLUDEPATH
44
45 # -----------------------------------------------------------------------------
46 # Input
47 # -----------------------------------------------------------------------------
48 HEADERS     += mainwindow.h
49
50 SOURCES     += mainwindow.cpp \
51                main.cpp
52
53 # TODO: this should be a resource, but for now it will be fine here
54 OTHER_FILES += test.qml
55     
56 # -----------------------------------------------------------------------------
57 # Common installation setup
58 # NOTE: remember to set headers.files before this include to have the headers
59 #       properly setup.
60 # -----------------------------------------------------------------------------
61 !include( ../common-installs-config.pri ) : \
62     error( "Unable to include common-installs-config.pri" )
63
64 # -----------------------------------------------------------------------------
65 # Installation target for the .desktop file
66 # -----------------------------------------------------------------------------
67 # TODO: desktop file needed
68
69 #------------------------------------------------------------------------------
70 # End of File
71 #------------------------------------------------------------------------------
72