coreplugin.pro 7.17 KB
Newer Older
1
DEFINES += CORE_LIBRARY
2
QT += \
3
    help \
Christian Kandeler's avatar
Christian Kandeler committed
4
5
    network \
    printsupport \
6
    qml \
7
    sql
8

9
10
11
12
# embedding build time information prevents repeatedly binary exact versions from same source code
isEmpty(QTC_SHOW_BUILD_DATE): QTC_SHOW_BUILD_DATE = $$(QTC_SHOW_BUILD_DATE)
!isEmpty(QTC_SHOW_BUILD_DATE): DEFINES += QTC_SHOW_BUILD_DATE

13
include(../../qtcreatorplugin.pri)
14
msvc: QMAKE_CXXFLAGS += -wd4251 -wd4290 -wd4250
15
16
SOURCES += corejsextensions.cpp \
    mainwindow.cpp \
Tobias Hunger's avatar
Tobias Hunger committed
17
    shellcommand.cpp \
con's avatar
con committed
18
    editmode.cpp \
Tobias Hunger's avatar
Tobias Hunger committed
19
    iwizardfactory.cpp \
con's avatar
con committed
20
21
22
    fancyactionbar.cpp \
    fancytabwidget.cpp \
    generalsettings.cpp \
23
    themechooser.cpp \
24
    id.cpp \
Tobias Hunger's avatar
Tobias Hunger committed
25
    icontext.cpp \
26
    jsexpander.cpp \
con's avatar
con committed
27
28
29
    messagemanager.cpp \
    messageoutputwindow.cpp \
    outputpane.cpp \
30
    outputwindow.cpp \
con's avatar
con committed
31
    vcsmanager.cpp \
con's avatar
con committed
32
    statusbarmanager.cpp \
con's avatar
con committed
33
    versiondialog.cpp \
34
    editormanager/editorarea.cpp \
con's avatar
con committed
35
    editormanager/editormanager.cpp \
36
    editormanager/editorview.cpp \
37
    editormanager/editorwindow.cpp \
38
    editormanager/documentmodel.cpp \
con's avatar
con committed
39
40
    editormanager/openeditorsview.cpp \
    editormanager/openeditorswindow.cpp \
41
    editormanager/ieditorfactory.cpp \
42
    editormanager/iexternaleditor.cpp \
con's avatar
con committed
43
44
    actionmanager/actionmanager.cpp \
    actionmanager/command.cpp \
45
    actionmanager/commandbutton.cpp \
con's avatar
con committed
46
47
48
49
50
    actionmanager/actioncontainer.cpp \
    actionmanager/commandsfile.cpp \
    dialogs/saveitemsdialog.cpp \
    dialogs/newdialog.cpp \
    dialogs/settingsdialog.cpp \
51
    actionmanager/commandmappings.cpp \
con's avatar
con committed
52
    dialogs/shortcutsettings.cpp \
53
    dialogs/readonlyfilesdialog.cpp \
con's avatar
con committed
54
55
56
    dialogs/openwithdialog.cpp \
    progressmanager/progressmanager.cpp \
    progressmanager/progressview.cpp \
57
    progressmanager/progressbar.cpp \
con's avatar
con committed
58
    progressmanager/futureprogress.cpp \
59
    reaper.cpp \
60
    statusbarwidget.cpp \
con's avatar
con committed
61
62
    coreplugin.cpp \
    modemanager.cpp \
Tobias Hunger's avatar
Tobias Hunger committed
63
    basefilewizard.cpp \
64
    basefilewizardfactory.cpp \
65
    generatedfile.cpp \
con's avatar
con committed
66
67
68
69
70
71
72
73
74
75
    plugindialog.cpp \
    inavigationwidgetfactory.cpp \
    navigationwidget.cpp \
    manhattanstyle.cpp \
    minisplitter.cpp \
    styleanimator.cpp \
    findplaceholder.cpp \
    rightpane.cpp \
    sidebar.cpp \
    fileiconprovider.cpp \
con's avatar
con committed
76
    icore.cpp \
77
    infobar.cpp \
con's avatar
con committed
78
    editormanager/ieditor.cpp \
con's avatar
con committed
79
    dialogs/ioptionspage.cpp \
80
    settingsdatabase.cpp \
81
    imode.cpp \
Lasse Holmstedt's avatar
Lasse Holmstedt committed
82
    editormanager/systemeditor.cpp \
83
    designmode.cpp \
84
    editortoolbar.cpp \
ck's avatar
ck committed
85
    helpmanager.cpp \
86
87
    outputpanemanager.cpp \
    navigationsubwidget.cpp \
Daniel Molkentin's avatar
Daniel Molkentin committed
88
    sidebarwidget.cpp \
89
90
    externaltool.cpp \
    dialogs/externaltoolconfig.cpp \
con's avatar
con committed
91
    toolsettings.cpp \
92
93
    variablechooser.cpp \
    mimetypemagicdialog.cpp \
94
    mimetypesettings.cpp \
Robert Loehning's avatar
Robert Loehning committed
95
    dialogs/promptoverwritedialog.cpp \
96
    fileutils.cpp \
97
98
    featureprovider.cpp \
    idocument.cpp \
99
    idocumentfactory.cpp \
100
    textdocument.cpp \
101
    documentmanager.cpp \
102
    removefiledialog.cpp \
103
    iversioncontrol.cpp \
104
    dialogs/addtovcsdialog.cpp \
jkobus's avatar
jkobus committed
105
    ioutputpane.cpp \
106
    patchtool.cpp \
107
    windowsupport.cpp \
108
    opendocumentstreeview.cpp \
109
    messagebox.cpp \
110
    iwelcomepage.cpp \
111
    externaltoolmanager.cpp \
hjk's avatar
hjk committed
112
113
    systemsettings.cpp \
    coreicons.cpp
Lasse Holmstedt's avatar
Lasse Holmstedt committed
114

115
116
HEADERS += corejsextensions.h \
    mainwindow.h \
Tobias Hunger's avatar
Tobias Hunger committed
117
    shellcommand.h \
con's avatar
con committed
118
    editmode.h \
Tobias Hunger's avatar
Tobias Hunger committed
119
    iwizardfactory.h \
con's avatar
con committed
120
121
122
    fancyactionbar.h \
    fancytabwidget.h \
    generalsettings.h \
123
    themechooser.h \
124
    id.h \
125
    jsexpander.h \
con's avatar
con committed
126
127
128
    messagemanager.h \
    messageoutputwindow.h \
    outputpane.h \
129
    outputwindow.h \
con's avatar
con committed
130
    vcsmanager.h \
con's avatar
con committed
131
    statusbarmanager.h \
132
    editormanager/editorarea.h \
con's avatar
con committed
133
    editormanager/editormanager.h \
134
    editormanager/editormanager_p.h \
135
    editormanager/editorview.h \
136
    editormanager/editorwindow.h \
137
    editormanager/documentmodel.h \
con's avatar
con committed
138
139
140
    editormanager/openeditorsview.h \
    editormanager/openeditorswindow.h \
    editormanager/ieditor.h \
141
    editormanager/iexternaleditor.h \
con's avatar
con committed
142
    editormanager/ieditorfactory.h \
143
    actionmanager/actioncontainer.h \
144
    actionmanager/actionmanager.h \
con's avatar
con committed
145
    actionmanager/command.h \
146
    actionmanager/commandbutton.h \
147
    actionmanager/actionmanager_p.h \
con's avatar
con committed
148
    actionmanager/command_p.h \
149
    actionmanager/actioncontainer_p.h \
con's avatar
con committed
150
151
152
153
    actionmanager/commandsfile.h \
    dialogs/saveitemsdialog.h \
    dialogs/newdialog.h \
    dialogs/settingsdialog.h \
154
    actionmanager/commandmappings.h \
155
    dialogs/readonlyfilesdialog.h \
con's avatar
con committed
156
157
158
    dialogs/shortcutsettings.h \
    dialogs/openwithdialog.h \
    dialogs/ioptionspage.h \
159
    progressmanager/progressmanager_p.h \
con's avatar
con committed
160
    progressmanager/progressview.h \
161
    progressmanager/progressbar.h \
con's avatar
con committed
162
    progressmanager/futureprogress.h \
163
    progressmanager/progressmanager.h \
164
165
    reaper.h \
    reaper_p.h \
con's avatar
con committed
166
167
    icontext.h \
    icore.h \
168
    infobar.h \
con's avatar
con committed
169
170
171
172
173
174
175
    imode.h \
    ioutputpane.h \
    coreconstants.h \
    iversioncontrol.h \
    ifilewizardextension.h \
    versiondialog.h \
    core_global.h \
176
    statusbarwidget.h \
con's avatar
con committed
177
178
    coreplugin.h \
    modemanager.h \
Tobias Hunger's avatar
Tobias Hunger committed
179
    basefilewizard.h \
180
    basefilewizardfactory.h \
181
    generatedfile.h \
con's avatar
con committed
182
183
184
185
186
187
188
189
190
191
    plugindialog.h \
    inavigationwidgetfactory.h \
    navigationwidget.h \
    manhattanstyle.h \
    minisplitter.h \
    styleanimator.h \
    findplaceholder.h \
    rightpane.h \
    sidebar.h \
    fileiconprovider.h \
192
    settingsdatabase.h \
Lasse Holmstedt's avatar
Lasse Holmstedt committed
193
    editormanager/systemeditor.h \
194
    designmode.h \
195
    editortoolbar.h \
ck's avatar
ck committed
196
    helpmanager.h \
197
198
    outputpanemanager.h \
    navigationsubwidget.h \
Daniel Molkentin's avatar
Daniel Molkentin committed
199
    sidebarwidget.h \
200
201
    externaltool.h \
    dialogs/externaltoolconfig.h \
con's avatar
con committed
202
    toolsettings.h \
203
204
    variablechooser.h \
    mimetypemagicdialog.h \
205
    mimetypesettings.h \
Robert Loehning's avatar
Robert Loehning committed
206
    dialogs/promptoverwritedialog.h \
207
    fileutils.h \
208
    externaltoolmanager.h \
209
    generatedfile.h \
210
211
212
213
    featureprovider.h \
    idocument.h \
    idocumentfactory.h \
    textdocument.h \
214
    documentmanager.h \
215
    removefiledialog.h \
jkobus's avatar
jkobus committed
216
    dialogs/addtovcsdialog.h \
217
    patchtool.h \
218
    windowsupport.h \
219
    opendocumentstreeview.h \
220
    messagebox.h \
221
    iwelcomepage.h \
222
    systemsettings.h \
223
    coreicons.h \
224
225
    editormanager/documentmodel_p.h \
    diffservice.h
Lasse Holmstedt's avatar
Lasse Holmstedt committed
226

con's avatar
con committed
227
228
FORMS += dialogs/newdialog.ui \
    dialogs/saveitemsdialog.ui \
229
    dialogs/readonlyfilesdialog.ui \
con's avatar
con committed
230
    dialogs/openwithdialog.ui \
231
    generalsettings.ui \
con's avatar
con committed
232
    dialogs/externaltoolconfig.ui \
233
    mimetypesettingspage.ui \
234
    mimetypemagicdialog.ui \
235
    removefiledialog.ui \
236
    dialogs/addtovcsdialog.ui \
237
    systemsettings.ui
238

con's avatar
con committed
239
240
RESOURCES += core.qrc \
    fancyactionbar.qrc
241

242
243
244
include(find/find.pri)
include(locator/locator.pri)

245
246
win32 {
    SOURCES += progressmanager/progressmanager_win.cpp
Christian Kandeler's avatar
Christian Kandeler committed
247
    QT += gui-private # Uses QPlatformNativeInterface.
248
    LIBS += -lole32 -luser32
249
250
}
else:macx {
251
    OBJECTIVE_SOURCES += \
252
        progressmanager/progressmanager_mac.mm
253
254
255
256
257
    LIBS += -framework AppKit
}
else:unix {
    SOURCES += progressmanager/progressmanager_x11.cpp

258
259
260
    IMAGE_SIZE_LIST = 16 24 32 48 64 128 256 512

    for(imagesize, IMAGE_SIZE_LIST) {
261
        eval(image$${imagesize}.files = images/logo/$${imagesize}/QtProject-qtcreator.png)
Daniel Molkentin's avatar
Daniel Molkentin committed
262
        eval(image$${imagesize}.path = $$QTC_PREFIX/share/icons/hicolor/$${imagesize}x$${imagesize}/apps)
263
264
        INSTALLS += image$${imagesize}
    }
Daniel Molkentin's avatar
Daniel Molkentin committed
265
}
266
DISTFILES += editormanager/BinFiles.mimetypes.xml
267
268

equals(TEST, 1) {
269
270
    SOURCES += testdatadir.cpp
    HEADERS += testdatadir.h
271
}