coreplugin.pro 6.43 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 17 18 19 20
SOURCES += mainwindow.cpp \
    editmode.cpp \
    tabpositionindicator.cpp \
    fancyactionbar.cpp \
    fancytabwidget.cpp \
    generalsettings.cpp \
21
    id.cpp \
Tobias Hunger's avatar
Tobias Hunger committed
22
    icontext.cpp \
con's avatar
con committed
23 24 25
    messagemanager.cpp \
    messageoutputwindow.cpp \
    outputpane.cpp \
26
    outputwindow.cpp \
con's avatar
con committed
27
    vcsmanager.cpp \
con's avatar
con committed
28
    statusbarmanager.cpp \
con's avatar
con committed
29 30
    versiondialog.cpp \
    editormanager/editormanager.cpp \
31
    editormanager/editorview.cpp \
32
    editormanager/documentmodel.cpp \
con's avatar
con committed
33 34
    editormanager/openeditorsview.cpp \
    editormanager/openeditorswindow.cpp \
35
    editormanager/ieditorfactory.cpp \
36
    editormanager/iexternaleditor.cpp \
con's avatar
con committed
37 38
    actionmanager/actionmanager.cpp \
    actionmanager/command.cpp \
39
    actionmanager/commandbutton.cpp \
con's avatar
con committed
40 41 42 43 44
    actionmanager/actioncontainer.cpp \
    actionmanager/commandsfile.cpp \
    dialogs/saveitemsdialog.cpp \
    dialogs/newdialog.cpp \
    dialogs/settingsdialog.cpp \
45
    actionmanager/commandmappings.cpp \
con's avatar
con committed
46
    dialogs/shortcutsettings.cpp \
47
    dialogs/readonlyfilesdialog.cpp \
con's avatar
con committed
48 49 50
    dialogs/openwithdialog.cpp \
    progressmanager/progressmanager.cpp \
    progressmanager/progressview.cpp \
51
    progressmanager/progressbar.cpp \
con's avatar
con committed
52
    progressmanager/futureprogress.cpp \
53
    statusbarwidget.cpp \
con's avatar
con committed
54 55 56 57
    coreplugin.cpp \
    variablemanager.cpp \
    modemanager.cpp \
    basefilewizard.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
    dialogs/iwizard.cpp \
75
    settingsdatabase.cpp \
76
    imode.cpp \
Lasse Holmstedt's avatar
Lasse Holmstedt committed
77
    editormanager/systemeditor.cpp \
78
    designmode.cpp \
79
    editortoolbar.cpp \
ck's avatar
ck committed
80
    helpmanager.cpp \
81 82
    outputpanemanager.cpp \
    navigationsubwidget.cpp \
Daniel Molkentin's avatar
Daniel Molkentin committed
83
    sidebarwidget.cpp \
84 85
    externaltool.cpp \
    dialogs/externaltoolconfig.cpp \
con's avatar
con committed
86
    toolsettings.cpp \
87 88
    variablechooser.cpp \
    mimetypemagicdialog.cpp \
89
    mimetypesettings.cpp \
Robert Loehning's avatar
Robert Loehning committed
90
    dialogs/promptoverwritedialog.cpp \
91
    fileutils.cpp \
92 93 94
    featureprovider.cpp \
    idocument.cpp \
    textdocument.cpp \
95
    documentmanager.cpp \
96
    removefiledialog.cpp \
97
    iversioncontrol.cpp \
98
    dialogs/addtovcsdialog.cpp \
99
    icorelistener.cpp
Lasse Holmstedt's avatar
Lasse Holmstedt committed
100

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

con's avatar
con committed
198
FORMS += dialogs/newdialog.ui \
199
    actionmanager/commandmappings.ui \
con's avatar
con committed
200
    dialogs/saveitemsdialog.ui \
201
    dialogs/readonlyfilesdialog.ui \
con's avatar
con committed
202
    dialogs/openwithdialog.ui \
203
    generalsettings.ui \
con's avatar
con committed
204
    dialogs/externaltoolconfig.ui \
205 206
    variablechooser.ui \
    mimetypesettingspage.ui \
207
    mimetypemagicdialog.ui \
208 209
    removefiledialog.ui \
    dialogs/addtovcsdialog.ui
210

con's avatar
con committed
211 212
RESOURCES += core.qrc \
    fancyactionbar.qrc
213 214 215

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

229 230 231
    IMAGE_SIZE_LIST = 16 24 32 48 64 128 256 512

    for(imagesize, IMAGE_SIZE_LIST) {
232
        eval(image$${imagesize}.files = images/logo/$${imagesize}/QtProject-qtcreator.png)
Daniel Molkentin's avatar
Daniel Molkentin committed
233
        eval(image$${imagesize}.path = $$QTC_PREFIX/share/icons/hicolor/$${imagesize}x$${imagesize}/apps)
234 235
        INSTALLS += image$${imagesize}
    }
Daniel Molkentin's avatar
Daniel Molkentin committed
236
}
237
OTHER_FILES += editormanager/BinFiles.mimetypes.xml
238 239

equals(TEST, 1) {
240 241
    SOURCES += testdatadir.cpp
    HEADERS += testdatadir.h
242
}