coreplugin.pro 6.56 KB
Newer Older
1
DEFINES += CORE_LIBRARY
2
QT += network \
con's avatar
con committed
3
    script \
4
    sql
5

6 7 8 9 10 11
greaterThan(QT_MAJOR_VERSION, 4) {
    QT += help printsupport
} else {
    CONFIG += help
}

12
include(../../qtcreatorplugin.pri)
13
include(../../shared/scriptwrapper/scriptwrapper.pri)
kh1's avatar
kh1 committed
14
win32-msvc*:QMAKE_CXXFLAGS += -wd4251 -wd4290 -wd4250
con's avatar
con committed
15 16
SOURCES += mainwindow.cpp \
    editmode.cpp \
Tobias Hunger's avatar
Tobias Hunger committed
17
    iwizardfactory.cpp \
con's avatar
con committed
18 19 20 21
    tabpositionindicator.cpp \
    fancyactionbar.cpp \
    fancytabwidget.cpp \
    generalsettings.cpp \
22
    id.cpp \
Tobias Hunger's avatar
Tobias Hunger committed
23
    icontext.cpp \
con's avatar
con committed
24 25 26
    messagemanager.cpp \
    messageoutputwindow.cpp \
    outputpane.cpp \
27
    outputwindow.cpp \
con's avatar
con committed
28
    vcsmanager.cpp \
con's avatar
con committed
29
    statusbarmanager.cpp \
con's avatar
con committed
30 31
    versiondialog.cpp \
    editormanager/editormanager.cpp \
32
    editormanager/editorview.cpp \
33
    editormanager/documentmodel.cpp \
con's avatar
con committed
34 35
    editormanager/openeditorsview.cpp \
    editormanager/openeditorswindow.cpp \
36
    editormanager/ieditorfactory.cpp \
37
    editormanager/iexternaleditor.cpp \
con's avatar
con committed
38 39
    actionmanager/actionmanager.cpp \
    actionmanager/command.cpp \
40
    actionmanager/commandbutton.cpp \
con's avatar
con committed
41 42 43 44 45
    actionmanager/actioncontainer.cpp \
    actionmanager/commandsfile.cpp \
    dialogs/saveitemsdialog.cpp \
    dialogs/newdialog.cpp \
    dialogs/settingsdialog.cpp \
46
    actionmanager/commandmappings.cpp \
con's avatar
con committed
47
    dialogs/shortcutsettings.cpp \
48
    dialogs/readonlyfilesdialog.cpp \
con's avatar
con committed
49 50 51
    dialogs/openwithdialog.cpp \
    progressmanager/progressmanager.cpp \
    progressmanager/progressview.cpp \
52
    progressmanager/progressbar.cpp \
con's avatar
con committed
53
    progressmanager/futureprogress.cpp \
54
    statusbarwidget.cpp \
con's avatar
con committed
55 56 57
    coreplugin.cpp \
    variablemanager.cpp \
    modemanager.cpp \
Tobias Hunger's avatar
Tobias Hunger committed
58
    basefilewizard.cpp \
59
    basefilewizardfactory.cpp \
60
    generatedfile.cpp \
con's avatar
con committed
61 62 63 64 65 66 67 68 69 70
    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
71
    mimedatabase.cpp \
con's avatar
con committed
72
    icore.cpp \
73
    infobar.cpp \
con's avatar
con committed
74
    editormanager/ieditor.cpp \
con's avatar
con committed
75
    dialogs/ioptionspage.cpp \
76
    settingsdatabase.cpp \
77
    imode.cpp \
Lasse Holmstedt's avatar
Lasse Holmstedt committed
78
    editormanager/systemeditor.cpp \
79
    designmode.cpp \
80
    editortoolbar.cpp \
ck's avatar
ck committed
81
    helpmanager.cpp \
82 83
    outputpanemanager.cpp \
    navigationsubwidget.cpp \
Daniel Molkentin's avatar
Daniel Molkentin committed
84
    sidebarwidget.cpp \
85 86
    externaltool.cpp \
    dialogs/externaltoolconfig.cpp \
con's avatar
con committed
87
    toolsettings.cpp \
88 89
    variablechooser.cpp \
    mimetypemagicdialog.cpp \
90
    mimetypesettings.cpp \
Robert Loehning's avatar
Robert Loehning committed
91
    dialogs/promptoverwritedialog.cpp \
92
    fileutils.cpp \
93 94 95
    featureprovider.cpp \
    idocument.cpp \
    textdocument.cpp \
96
    documentmanager.cpp \
97
    removefiledialog.cpp \
98
    iversioncontrol.cpp \
99
    dialogs/addtovcsdialog.cpp \
Falko Arps's avatar
Falko Arps committed
100
    icorelistener.cpp \
jkobus's avatar
jkobus committed
101 102
    ioutputpane.cpp \
    patchtool.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 \
con's avatar
con committed
118
    editormanager/editormanager.h \
119
    editormanager/editorview.h \
120
    editormanager/documentmodel.h \
con's avatar
con committed
121 122 123
    editormanager/openeditorsview.h \
    editormanager/openeditorswindow.h \
    editormanager/ieditor.h \
124
    editormanager/iexternaleditor.h \
con's avatar
con committed
125
    editormanager/ieditorfactory.h \
126
    actionmanager/actioncontainer.h \
127
    actionmanager/actionmanager.h \
con's avatar
con committed
128
    actionmanager/command.h \
129
    actionmanager/commandbutton.h \
130
    actionmanager/actionmanager_p.h \
con's avatar
con committed
131
    actionmanager/command_p.h \
132
    actionmanager/actioncontainer_p.h \
con's avatar
con committed
133 134 135 136
    actionmanager/commandsfile.h \
    dialogs/saveitemsdialog.h \
    dialogs/newdialog.h \
    dialogs/settingsdialog.h \
137
    actionmanager/commandmappings.h \
138
    dialogs/readonlyfilesdialog.h \
con's avatar
con committed
139 140 141
    dialogs/shortcutsettings.h \
    dialogs/openwithdialog.h \
    dialogs/ioptionspage.h \
142
    progressmanager/progressmanager_p.h \
con's avatar
con committed
143
    progressmanager/progressview.h \
144
    progressmanager/progressbar.h \
con's avatar
con committed
145
    progressmanager/futureprogress.h \
146
    progressmanager/progressmanager.h \
con's avatar
con committed
147 148
    icontext.h \
    icore.h \
149
    infobar.h \
con's avatar
con committed
150 151 152 153 154 155 156 157
    imode.h \
    ioutputpane.h \
    coreconstants.h \
    iversioncontrol.h \
    ifilewizardextension.h \
    icorelistener.h \
    versiondialog.h \
    core_global.h \
158
    statusbarwidget.h \
con's avatar
con committed
159 160 161
    coreplugin.h \
    variablemanager.h \
    modemanager.h \
Tobias Hunger's avatar
Tobias Hunger committed
162
    basefilewizard.h \
163
    basefilewizardfactory.h \
164
    generatedfile.h \
con's avatar
con committed
165 166 167 168 169 170 171 172 173 174
    plugindialog.h \
    inavigationwidgetfactory.h \
    navigationwidget.h \
    manhattanstyle.h \
    minisplitter.h \
    styleanimator.h \
    findplaceholder.h \
    rightpane.h \
    sidebar.h \
    fileiconprovider.h \
175
    mimedatabase.h \
176
    settingsdatabase.h \
Lasse Holmstedt's avatar
Lasse Holmstedt committed
177
    editormanager/systemeditor.h \
178
    designmode.h \
179
    editortoolbar.h \
ck's avatar
ck committed
180
    helpmanager.h \
181 182
    outputpanemanager.h \
    navigationsubwidget.h \
Daniel Molkentin's avatar
Daniel Molkentin committed
183
    sidebarwidget.h \
184 185
    externaltool.h \
    dialogs/externaltoolconfig.h \
con's avatar
con committed
186
    toolsettings.h \
187 188
    variablechooser.h \
    mimetypemagicdialog.h \
189
    mimetypesettings.h \
Robert Loehning's avatar
Robert Loehning committed
190
    dialogs/promptoverwritedialog.h \
191
    fileutils.h \
192
    externaltoolmanager.h \
193
    generatedfile.h \
194 195 196 197
    featureprovider.h \
    idocument.h \
    idocumentfactory.h \
    textdocument.h \
198
    documentmanager.h \
199
    removefiledialog.h \
jkobus's avatar
jkobus committed
200 201
    dialogs/addtovcsdialog.h \
    patchtool.h
Lasse Holmstedt's avatar
Lasse Holmstedt committed
202

con's avatar
con committed
203 204
FORMS += dialogs/newdialog.ui \
    dialogs/saveitemsdialog.ui \
205
    dialogs/readonlyfilesdialog.ui \
con's avatar
con committed
206
    dialogs/openwithdialog.ui \
207
    generalsettings.ui \
con's avatar
con committed
208
    dialogs/externaltoolconfig.ui \
209 210
    variablechooser.ui \
    mimetypesettingspage.ui \
211
    mimetypemagicdialog.ui \
212
    removefiledialog.ui \
213
   dialogs/addtovcsdialog.ui
214

con's avatar
con committed
215 216
RESOURCES += core.qrc \
    fancyactionbar.qrc
217

218 219 220
include(find/find.pri)
include(locator/locator.pri)

221 222
win32 {
    SOURCES += progressmanager/progressmanager_win.cpp
223
    greaterThan(QT_MAJOR_VERSION, 4): QT += gui-private # Uses QPlatformNativeInterface.
224
    LIBS += -lole32 -luser32
225 226
}
else:macx {
227 228 229 230
    HEADERS += macfullscreen.h
    OBJECTIVE_SOURCES += \
        progressmanager/progressmanager_mac.mm \
        macfullscreen.mm
231 232 233 234 235
    LIBS += -framework AppKit
}
else:unix {
    SOURCES += progressmanager/progressmanager_x11.cpp

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

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

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