coreplugin.pro 6.52 KB
Newer Older
con's avatar
con committed
1 2 3
TEMPLATE = lib
TARGET = Core
DEFINES += CORE_LIBRARY
4
QT += network \
con's avatar
con committed
5
    script \
6
    sql
7

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

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

con's avatar
con committed
108 109 110 111 112 113
HEADERS += mainwindow.h \
    editmode.h \
    tabpositionindicator.h \
    fancyactionbar.h \
    fancytabwidget.h \
    generalsettings.h \
114
    id.h \
con's avatar
con committed
115 116 117
    messagemanager.h \
    messageoutputwindow.h \
    outputpane.h \
118
    outputwindow.h \
con's avatar
con committed
119
    vcsmanager.h \
con's avatar
con committed
120
    statusbarmanager.h \
con's avatar
con committed
121
    editormanager/editormanager.h \
122
    editormanager/editorview.h \
123
    editormanager/openeditorsmodel.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 \
con's avatar
con committed
141 142 143 144
    dialogs/shortcutsettings.h \
    dialogs/openwithdialog.h \
    dialogs/iwizard.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 \
    scriptmanager/metatypedeclarations.h \
161
    scriptmanager/scriptmanager.h \
162
    scriptmanager/scriptmanager_p.h \
con's avatar
con committed
163
    core_global.h \
164
    statusbarwidget.h \
con's avatar
con committed
165 166 167 168
    coreplugin.h \
    variablemanager.h \
    modemanager.h \
    basefilewizard.h \
169
    generatedfile.h \
con's avatar
con committed
170 171 172 173 174 175 176 177 178 179
    plugindialog.h \
    inavigationwidgetfactory.h \
    navigationwidget.h \
    manhattanstyle.h \
    minisplitter.h \
    styleanimator.h \
    findplaceholder.h \
    rightpane.h \
    sidebar.h \
    fileiconprovider.h \
180
    mimedatabase.h \
181
    settingsdatabase.h \
Lasse Holmstedt's avatar
Lasse Holmstedt committed
182
    editormanager/systemeditor.h \
183
    designmode.h \
184
    editortoolbar.h \
ck's avatar
ck committed
185
    helpmanager.h \
186 187
    outputpanemanager.h \
    navigationsubwidget.h \
Daniel Molkentin's avatar
Daniel Molkentin committed
188
    sidebarwidget.h \
189 190
    externaltool.h \
    dialogs/externaltoolconfig.h \
con's avatar
con committed
191
    toolsettings.h \
192 193
    variablechooser.h \
    mimetypemagicdialog.h \
194
    mimetypesettings.h \
Robert Loehning's avatar
Robert Loehning committed
195
    dialogs/promptoverwritedialog.h \
196
    fileutils.h \
197
    externaltoolmanager.h \
198
    generatedfile.h \
199 200 201 202
    featureprovider.h \
    idocument.h \
    idocumentfactory.h \
    textdocument.h \
203 204
    documentmanager.h \
    removefiledialog.h
Lasse Holmstedt's avatar
Lasse Holmstedt committed
205

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

con's avatar
con committed
218 219
RESOURCES += core.qrc \
    fancyactionbar.qrc
220 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