1 # build in a separate folder.
2 MYBUILDDIR
= $$OUT_PWD
/build
/
3 OBJECTS_DIR
= $$MYBUILDDIR
/o
4 UI_DIR
= $$MYBUILDDIR
/ui
5 MOC_DIR
= $$MYBUILDDIR
/moc
6 RCC_DIR
= $$MYBUILDDIR
/rcc
7 RBBASE_DIR
= $$_PRO_FILE_PWD_
8 RBBASE_DIR
= $$
replace(RBBASE_DIR
,/utils
/themeeditor
,)
13 INCLUDEPATH
+= graphics
15 # Stuff for the parse lib
16 libskin_parser
.commands
= @$
(MAKE
) \
17 BUILDDIR
=$$OBJECTS_DIR \
19 $$RBBASE_DIR
/lib
/skin_parser \
21 QMAKE_EXTRA_TARGETS
+= libskin_parser
22 PRE_TARGETDEPS
+= libskin_parser
23 INCLUDEPATH
+= $$RBBASE_DIR
/lib
/skin_parser
24 LIBS
+= -L$$OBJECTS_DIR \
26 DEPENDPATH
= $$INCLUDEPATH
27 HEADERS
+= models
/parsetreemodel
.h \
28 models
/parsetreenode
.h \
30 gui
/skinhighlighter
.h \
32 gui
/preferencesdialog
.h \
34 models
/projectmodel
.h \
36 gui
/configdocument
.h \
39 graphics
/rbviewport
.h \
40 graphics
/rbrenderinfo
.h
42 models
/parsetreemodel
.cpp \
43 models
/parsetreenode
.cpp \
44 gui
/editorwindow
.cpp \
45 gui
/skinhighlighter
.cpp \
46 gui
/skindocument
.cpp \
47 gui
/preferencesdialog
.cpp \
49 models
/projectmodel
.cpp \
50 gui
/configdocument
.cpp \
52 graphics
/rbscreen
.cpp \
53 graphics
/rbviewport
.cpp \
54 graphics
/rbrenderinfo
.cpp
55 OTHER_FILES
+= README \
56 resources
/windowicon
.png \
57 resources
/appicon
.xcf \
59 resources
/document
-save
.png \
60 resources
/document
-open.png \
61 resources
/document
-new
.png
62 FORMS
+= gui
/editorwindow
.ui \
63 gui
/preferencesdialog
.ui \
64 gui
/configdocument
.ui \
66 RESOURCES
+= resources
.qrc