2 QMAKE_CXXFLAGS_DEBUG
+= -pg
3 QMAKE_LFLAGS_DEBUG
+= -pg
5 # build in a separate folder.
6 MYBUILDDIR
= $$OUT_PWD
/build
/
7 OBJECTS_DIR
= $$MYBUILDDIR
/o
8 UI_DIR
= $$MYBUILDDIR
/ui
9 MOC_DIR
= $$MYBUILDDIR
/moc
10 RCC_DIR
= $$MYBUILDDIR
/rcc
11 RBBASE_DIR
= $$_PRO_FILE_PWD_
12 RBBASE_DIR
= $$
replace(RBBASE_DIR
,/utils
/themeeditor
,)
17 INCLUDEPATH
+= graphics
19 # Stuff for the parse lib
20 libskin_parser
.commands
= @$
(MAKE
) \
21 TARGET_DIR
=$$MYBUILDDIR \
23 BUILDDIR
=$$OBJECTS_DIR \
25 $$RBBASE_DIR
/lib
/skin_parser \
27 QMAKE_EXTRA_TARGETS
+= libskin_parser
28 PRE_TARGETDEPS
+= libskin_parser
29 INCLUDEPATH
+= $$RBBASE_DIR
/lib
/skin_parser
30 LIBS
+= -L$$MYBUILDDIR \
32 DEPENDPATH
= $$INCLUDEPATH
33 HEADERS
+= models
/parsetreemodel
.h \
34 models
/parsetreenode
.h \
36 gui
/skinhighlighter
.h \
38 gui
/preferencesdialog
.h \
40 models
/projectmodel
.h \
42 gui
/configdocument
.h \
45 graphics
/rbviewport
.h \
46 graphics
/rbrenderinfo
.h \
50 graphics
/rbalbumart
.h \
51 graphics
/rbprogressbar
.h \
52 gui
/findreplacedialog
.h \
54 graphics
/rbfontcache
.h \
55 graphics
/rbtextcache
.h \
58 models
/parsetreemodel
.cpp \
59 models
/parsetreenode
.cpp \
60 gui
/editorwindow
.cpp \
61 gui
/skinhighlighter
.cpp \
62 gui
/skindocument
.cpp \
63 gui
/preferencesdialog
.cpp \
65 models
/projectmodel
.cpp \
66 gui
/configdocument
.cpp \
68 graphics
/rbscreen
.cpp \
69 graphics
/rbviewport
.cpp \
70 graphics
/rbrenderinfo
.cpp \
71 graphics
/rbimage
.cpp \
74 graphics
/rbalbumart
.cpp \
75 graphics
/rbprogressbar
.cpp \
76 gui
/findreplacedialog
.cpp \
78 graphics
/rbfontcache
.cpp \
79 graphics
/rbtextcache
.cpp \
81 OTHER_FILES
+= README \
82 resources
/windowicon
.png \
83 resources
/appicon
.xcf \
85 resources
/document
-save
.png \
86 resources
/document
-open.png \
87 resources
/document
-new
.png \
88 resources
/deviceoptions \
89 resources
/render
/statusbar
.png \
90 resources
/render
/scenebg
.png \
98 FORMS
+= gui
/editorwindow
.ui \
99 gui
/preferencesdialog
.ui \
100 gui
/configdocument
.ui \
102 gui
/findreplacedialog
.ui \
104 RESOURCES
+= resources
.qrc
105 win32
:RC_FILE
= themeeditor
.rc
107 QMAKE_MAC_SDK
= /Developer
/SDKs
/MacOSX10
.4u
.sdk
108 QMAKE_LFLAGS_PPC
= -mmacosx
-version
-min
=10.4 \
111 QMAKE_LFLAGS_X86
= -mmacosx
-version
-min
=10.4 \
116 QMAKE_INFO_PLIST
= Info
.plist
117 RC_FILE
= resources
/windowicon
.icns