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 TARGET_DIR
=$$MYBUILDDIR CC
=\"$$QMAKE_CC
\" \
18 BUILDDIR
=$$OBJECTS_DIR \
19 -C $$RBBASE_DIR
/lib
/skin_parser \
22 QMAKE_EXTRA_TARGETS
+= libskin_parser
23 PRE_TARGETDEPS
+= libskin_parser
24 INCLUDEPATH
+= $$RBBASE_DIR
/lib
/skin_parser
25 LIBS
+= -L$$MYBUILDDIR
-lskin_parser
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 \
44 graphics
/rbalbumart
.h \
45 graphics
/rbprogressbar
.h \
46 gui
/findreplacedialog
.h \
49 models
/parsetreemodel
.cpp \
50 models
/parsetreenode
.cpp \
51 gui
/editorwindow
.cpp \
52 gui
/skinhighlighter
.cpp \
53 gui
/skindocument
.cpp \
54 gui
/preferencesdialog
.cpp \
56 models
/projectmodel
.cpp \
57 gui
/configdocument
.cpp \
59 graphics
/rbscreen
.cpp \
60 graphics
/rbviewport
.cpp \
61 graphics
/rbrenderinfo
.cpp \
62 graphics
/rbimage
.cpp \
65 graphics
/rbalbumart
.cpp \
66 graphics
/rbprogressbar
.cpp \
67 gui
/findreplacedialog
.cpp \
69 OTHER_FILES
+= README \
70 resources
/windowicon
.png \
71 resources
/appicon
.xcf \
73 resources
/document
-save
.png \
74 resources
/document
-open.png \
75 resources
/document
-new
.png \
76 resources
/deviceoptions \
77 resources
/render
/statusbar
.png \
78 resources
/render
/scenebg
.png
79 FORMS
+= gui
/editorwindow
.ui \
80 gui
/preferencesdialog
.ui \
81 gui
/configdocument
.ui \
83 gui
/findreplacedialog
.ui
84 RESOURCES
+= resources
.qrc
87 RC_FILE
= themeeditor
.rc
90 QMAKE_MAC_SDK
=/Developer
/SDKs
/MacOSX10
.4u
.sdk
91 QMAKE_LFLAGS_PPC
=-mmacosx
-version
-min
=10.4 -arch ppc
92 QMAKE_LFLAGS_X86
=-mmacosx
-version
-min
=10.4 -arch i386
94 QMAKE_INFO_PLIST
= Info
.plist
95 RC_FILE
= resources
/windowicon
.icns