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

8
include(../../qtcreatorplugin.pri)
9
include(../../shared/scriptwrapper/scriptwrapper.pri)
kh1's avatar
kh1 committed
10
win32-msvc*:QMAKE_CXXFLAGS += -wd4251 -wd4290 -wd4250
con's avatar
con committed
11 12
SOURCES += mainwindow.cpp \
    editmode.cpp \
Tobias Hunger's avatar
Tobias Hunger committed
13
    iwizardfactory.cpp \
con's avatar
con committed
14 15 16 17
    tabpositionindicator.cpp \
    fancyactionbar.cpp \
    fancytabwidget.cpp \
    generalsettings.cpp \
18
    id.cpp \
Tobias Hunger's avatar
Tobias Hunger committed
19
    icontext.cpp \
con's avatar
con committed
20 21 22
    messagemanager.cpp \
    messageoutputwindow.cpp \
    outputpane.cpp \
23
    outputwindow.cpp \
con's avatar
con committed
24
    vcsmanager.cpp \
con's avatar
con committed
25
    statusbarmanager.cpp \
con's avatar
con committed
26
    versiondialog.cpp \
27
    editormanager/editorarea.cpp \
con's avatar
con committed
28
    editormanager/editormanager.cpp \
29
    editormanager/editorview.cpp \
30
    editormanager/editorwindow.cpp \
31
    editormanager/documentmodel.cpp \
con's avatar
con committed
32 33
    editormanager/openeditorsview.cpp \
    editormanager/openeditorswindow.cpp \
34
    editormanager/ieditorfactory.cpp \
35
    editormanager/iexternaleditor.cpp \
con's avatar
con committed
36 37
    actionmanager/actionmanager.cpp \
    actionmanager/command.cpp \
38
    actionmanager/commandbutton.cpp \
con's avatar
con committed
39 40 41 42 43
    actionmanager/actioncontainer.cpp \
    actionmanager/commandsfile.cpp \
    dialogs/saveitemsdialog.cpp \
    dialogs/newdialog.cpp \
    dialogs/settingsdialog.cpp \
44
    actionmanager/commandmappings.cpp \
con's avatar
con committed
45
    dialogs/shortcutsettings.cpp \
46
    dialogs/readonlyfilesdialog.cpp \
con's avatar
con committed
47 48 49
    dialogs/openwithdialog.cpp \
    progressmanager/progressmanager.cpp \
    progressmanager/progressview.cpp \
50
    progressmanager/progressbar.cpp \
con's avatar
con committed
51
    progressmanager/futureprogress.cpp \
52
    statusbarwidget.cpp \
con's avatar
con committed
53 54 55
    coreplugin.cpp \
    variablemanager.cpp \
    modemanager.cpp \
Tobias Hunger's avatar
Tobias Hunger committed
56
    basefilewizard.cpp \
57
    basefilewizardfactory.cpp \
58
    generatedfile.cpp \
con's avatar
con committed
59 60 61 62 63 64 65 66 67 68
    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
69
    mimedatabase.cpp \
con's avatar
con committed
70
    icore.cpp \
71
    infobar.cpp \
con's avatar
con committed
72
    editormanager/ieditor.cpp \
con's avatar
con committed
73
    dialogs/ioptionspage.cpp \
74
    settingsdatabase.cpp \
75
    imode.cpp \
Lasse Holmstedt's avatar
Lasse Holmstedt committed
76
    editormanager/systemeditor.cpp \
77
    designmode.cpp \
78
    editortoolbar.cpp \
ck's avatar
ck committed
79
    helpmanager.cpp \
80 81
    outputpanemanager.cpp \
    navigationsubwidget.cpp \
Daniel Molkentin's avatar
Daniel Molkentin committed
82
    sidebarwidget.cpp \
83 84
    externaltool.cpp \
    dialogs/externaltoolconfig.cpp \
con's avatar
con committed
85
    toolsettings.cpp \
86 87
    variablechooser.cpp \
    mimetypemagicdialog.cpp \
88
    mimetypesettings.cpp \
Robert Loehning's avatar
Robert Loehning committed
89
    dialogs/promptoverwritedialog.cpp \
90
    fileutils.cpp \
91 92
    featureprovider.cpp \
    idocument.cpp \
93
    idocumentfactory.cpp \
94
    textdocument.cpp \
95
    documentmanager.cpp \
96
    removefiledialog.cpp \
97
    iversioncontrol.cpp \
98
    dialogs/addtovcsdialog.cpp \
Falko Arps's avatar
Falko Arps committed
99
    icorelistener.cpp \
jkobus's avatar
jkobus committed
100
    ioutputpane.cpp \
101 102
    patchtool.cpp \
    windowsupport.cpp
Lasse Holmstedt's avatar
Lasse Holmstedt committed
103

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

con's avatar
con committed
207 208
FORMS += dialogs/newdialog.ui \
    dialogs/saveitemsdialog.ui \
209
    dialogs/readonlyfilesdialog.ui \
con's avatar
con committed
210
    dialogs/openwithdialog.ui \
211
    generalsettings.ui \
con's avatar
con committed
212
    dialogs/externaltoolconfig.ui \
213
    mimetypesettingspage.ui \
214
    mimetypemagicdialog.ui \
215
    removefiledialog.ui \
216
   dialogs/addtovcsdialog.ui
217

con's avatar
con committed
218 219
RESOURCES += core.qrc \
    fancyactionbar.qrc
220

221 222 223
include(find/find.pri)
include(locator/locator.pri)

224 225
win32 {
    SOURCES += progressmanager/progressmanager_win.cpp
Christian Kandeler's avatar
Christian Kandeler committed
226
    QT += gui-private # Uses QPlatformNativeInterface.
227
    LIBS += -lole32 -luser32
228 229
}
else:macx {
230
    OBJECTIVE_SOURCES += \
231
        progressmanager/progressmanager_mac.mm
232 233 234 235 236
    LIBS += -framework AppKit
}
else:unix {
    SOURCES += progressmanager/progressmanager_x11.cpp

237 238 239
    IMAGE_SIZE_LIST = 16 24 32 48 64 128 256 512

    for(imagesize, IMAGE_SIZE_LIST) {
240
        eval(image$${imagesize}.files = images/logo/$${imagesize}/QtProject-qtcreator.png)
Daniel Molkentin's avatar
Daniel Molkentin committed
241
        eval(image$${imagesize}.path = $$QTC_PREFIX/share/icons/hicolor/$${imagesize}x$${imagesize}/apps)
242 243
        INSTALLS += image$${imagesize}
    }
Daniel Molkentin's avatar
Daniel Molkentin committed
244
}
245
DISTFILES += editormanager/BinFiles.mimetypes.xml
246 247

equals(TEST, 1) {
248 249
    SOURCES += testdatadir.cpp
    HEADERS += testdatadir.h
250
}