2013-01-12 23:29:24 +02:00
|
|
|
DEFINES += CORE_LIBRARY
|
2011-03-31 16:03:30 +02:00
|
|
|
QT += network \
|
2008-12-02 12:01:29 +01:00
|
|
|
script \
|
2009-05-19 19:20:53 +02:00
|
|
|
sql
|
2011-11-23 11:31:09 +01:00
|
|
|
|
2012-08-01 15:04:38 +02:00
|
|
|
greaterThan(QT_MAJOR_VERSION, 4) {
|
|
|
|
|
QT += help printsupport
|
|
|
|
|
} else {
|
|
|
|
|
CONFIG += help
|
|
|
|
|
}
|
|
|
|
|
|
2009-05-08 11:29:56 +02:00
|
|
|
include(../../qtcreatorplugin.pri)
|
2009-01-26 16:19:24 +01:00
|
|
|
include(../../shared/scriptwrapper/scriptwrapper.pri)
|
2010-07-23 11:20:34 +02:00
|
|
|
win32-msvc*:QMAKE_CXXFLAGS += -wd4251 -wd4290 -wd4250
|
2008-12-02 12:01:29 +01:00
|
|
|
SOURCES += mainwindow.cpp \
|
|
|
|
|
editmode.cpp \
|
|
|
|
|
tabpositionindicator.cpp \
|
|
|
|
|
fancyactionbar.cpp \
|
|
|
|
|
fancytabwidget.cpp \
|
|
|
|
|
generalsettings.cpp \
|
2011-09-05 16:10:37 +02:00
|
|
|
id.cpp \
|
2012-05-03 11:33:08 +02:00
|
|
|
icontext.cpp \
|
2008-12-02 12:01:29 +01:00
|
|
|
messagemanager.cpp \
|
|
|
|
|
messageoutputwindow.cpp \
|
|
|
|
|
outputpane.cpp \
|
2011-04-21 13:42:17 +02:00
|
|
|
outputwindow.cpp \
|
2008-12-02 12:01:29 +01:00
|
|
|
vcsmanager.cpp \
|
2009-12-09 11:05:18 +01:00
|
|
|
statusbarmanager.cpp \
|
2008-12-02 12:01:29 +01:00
|
|
|
versiondialog.cpp \
|
|
|
|
|
editormanager/editormanager.cpp \
|
2009-01-16 17:34:34 +01:00
|
|
|
editormanager/editorview.cpp \
|
2013-07-05 16:08:38 +02:00
|
|
|
editormanager/documentmodel.cpp \
|
2008-12-02 12:01:29 +01:00
|
|
|
editormanager/openeditorsview.cpp \
|
|
|
|
|
editormanager/openeditorswindow.cpp \
|
2012-04-19 16:41:51 +02:00
|
|
|
editormanager/ieditorfactory.cpp \
|
2009-05-19 14:54:52 +02:00
|
|
|
editormanager/iexternaleditor.cpp \
|
2008-12-02 12:01:29 +01:00
|
|
|
actionmanager/actionmanager.cpp \
|
|
|
|
|
actionmanager/command.cpp \
|
2012-07-09 15:53:16 +04:00
|
|
|
actionmanager/commandbutton.cpp \
|
2008-12-02 12:01:29 +01:00
|
|
|
actionmanager/actioncontainer.cpp \
|
|
|
|
|
actionmanager/commandsfile.cpp \
|
|
|
|
|
dialogs/saveitemsdialog.cpp \
|
|
|
|
|
dialogs/newdialog.cpp \
|
|
|
|
|
dialogs/settingsdialog.cpp \
|
2010-03-10 11:21:56 +01:00
|
|
|
actionmanager/commandmappings.cpp \
|
2008-12-02 12:01:29 +01:00
|
|
|
dialogs/shortcutsettings.cpp \
|
2012-10-15 11:53:22 +02:00
|
|
|
dialogs/readonlyfilesdialog.cpp \
|
2008-12-02 12:01:29 +01:00
|
|
|
dialogs/openwithdialog.cpp \
|
|
|
|
|
progressmanager/progressmanager.cpp \
|
|
|
|
|
progressmanager/progressview.cpp \
|
2010-02-25 18:53:42 +01:00
|
|
|
progressmanager/progressbar.cpp \
|
2008-12-02 12:01:29 +01:00
|
|
|
progressmanager/futureprogress.cpp \
|
2009-12-08 19:14:39 +01:00
|
|
|
statusbarwidget.cpp \
|
2008-12-02 12:01:29 +01:00
|
|
|
coreplugin.cpp \
|
|
|
|
|
variablemanager.cpp \
|
|
|
|
|
modemanager.cpp \
|
|
|
|
|
basefilewizard.cpp \
|
2011-09-12 16:52:54 +02:00
|
|
|
generatedfile.cpp \
|
2008-12-02 12:01:29 +01:00
|
|
|
plugindialog.cpp \
|
|
|
|
|
inavigationwidgetfactory.cpp \
|
|
|
|
|
navigationwidget.cpp \
|
|
|
|
|
manhattanstyle.cpp \
|
|
|
|
|
minisplitter.cpp \
|
|
|
|
|
styleanimator.cpp \
|
|
|
|
|
findplaceholder.cpp \
|
|
|
|
|
rightpane.cpp \
|
|
|
|
|
sidebar.cpp \
|
|
|
|
|
fileiconprovider.cpp \
|
2009-01-12 14:41:24 +01:00
|
|
|
mimedatabase.cpp \
|
2009-04-24 16:00:19 +02:00
|
|
|
icore.cpp \
|
2011-05-06 12:48:44 +02:00
|
|
|
infobar.cpp \
|
2009-04-24 16:00:19 +02:00
|
|
|
editormanager/ieditor.cpp \
|
2009-05-07 15:50:26 +02:00
|
|
|
dialogs/ioptionspage.cpp \
|
2009-05-19 19:20:53 +02:00
|
|
|
dialogs/iwizard.cpp \
|
2009-07-31 16:49:26 +02:00
|
|
|
settingsdatabase.cpp \
|
2010-02-22 14:28:37 +01:00
|
|
|
imode.cpp \
|
2010-02-26 11:08:17 +01:00
|
|
|
editormanager/systemeditor.cpp \
|
2010-03-09 09:42:22 +01:00
|
|
|
designmode.cpp \
|
2010-04-26 11:43:25 +02:00
|
|
|
editortoolbar.cpp \
|
2010-07-12 09:33:22 +02:00
|
|
|
helpmanager.cpp \
|
2010-09-16 12:26:28 +02:00
|
|
|
outputpanemanager.cpp \
|
|
|
|
|
navigationsubwidget.cpp \
|
2010-09-24 17:30:10 +02:00
|
|
|
sidebarwidget.cpp \
|
2011-01-06 18:26:09 +01:00
|
|
|
externaltool.cpp \
|
|
|
|
|
dialogs/externaltoolconfig.cpp \
|
2011-02-10 20:58:17 +01:00
|
|
|
toolsettings.cpp \
|
2011-02-22 15:11:50 +01:00
|
|
|
variablechooser.cpp \
|
|
|
|
|
mimetypemagicdialog.cpp \
|
2011-04-15 11:27:15 +02:00
|
|
|
mimetypesettings.cpp \
|
2011-08-16 18:55:23 +02:00
|
|
|
dialogs/promptoverwritedialog.cpp \
|
2011-08-25 12:54:20 +02:00
|
|
|
fileutils.cpp \
|
2012-02-14 16:43:51 +01:00
|
|
|
featureprovider.cpp \
|
|
|
|
|
idocument.cpp \
|
|
|
|
|
textdocument.cpp \
|
2012-07-18 13:41:13 +04:00
|
|
|
documentmanager.cpp \
|
2012-09-04 14:52:52 +03:00
|
|
|
removefiledialog.cpp \
|
2013-06-14 00:03:27 +02:00
|
|
|
iversioncontrol.cpp \
|
2013-09-27 10:44:32 +02:00
|
|
|
dialogs/addtovcsdialog.cpp \
|
2013-12-11 15:37:48 +01:00
|
|
|
icorelistener.cpp \
|
|
|
|
|
ioutputpane.cpp
|
2010-02-26 11:08:17 +01:00
|
|
|
|
2008-12-02 12:01:29 +01:00
|
|
|
HEADERS += mainwindow.h \
|
|
|
|
|
editmode.h \
|
|
|
|
|
tabpositionindicator.h \
|
|
|
|
|
fancyactionbar.h \
|
|
|
|
|
fancytabwidget.h \
|
|
|
|
|
generalsettings.h \
|
2011-09-05 16:10:37 +02:00
|
|
|
id.h \
|
2008-12-02 12:01:29 +01:00
|
|
|
messagemanager.h \
|
|
|
|
|
messageoutputwindow.h \
|
|
|
|
|
outputpane.h \
|
2011-04-21 13:42:17 +02:00
|
|
|
outputwindow.h \
|
2008-12-02 12:01:29 +01:00
|
|
|
vcsmanager.h \
|
2009-12-09 11:05:18 +01:00
|
|
|
statusbarmanager.h \
|
2008-12-02 12:01:29 +01:00
|
|
|
editormanager/editormanager.h \
|
2009-01-16 17:34:34 +01:00
|
|
|
editormanager/editorview.h \
|
2013-07-05 16:08:38 +02:00
|
|
|
editormanager/documentmodel.h \
|
2008-12-02 12:01:29 +01:00
|
|
|
editormanager/openeditorsview.h \
|
|
|
|
|
editormanager/openeditorswindow.h \
|
|
|
|
|
editormanager/ieditor.h \
|
2009-05-19 14:54:52 +02:00
|
|
|
editormanager/iexternaleditor.h \
|
2008-12-02 12:01:29 +01:00
|
|
|
editormanager/ieditorfactory.h \
|
2009-01-14 12:39:59 +01:00
|
|
|
actionmanager/actioncontainer.h \
|
2009-01-13 13:39:31 +01:00
|
|
|
actionmanager/actionmanager.h \
|
2009-01-14 13:17:53 +01:00
|
|
|
actionmanager/command.h \
|
2012-07-09 15:53:16 +04:00
|
|
|
actionmanager/commandbutton.h \
|
2009-01-13 13:07:29 +01:00
|
|
|
actionmanager/actionmanager_p.h \
|
2009-01-14 12:58:06 +01:00
|
|
|
actionmanager/command_p.h \
|
2009-01-14 12:25:54 +01:00
|
|
|
actionmanager/actioncontainer_p.h \
|
2008-12-02 12:01:29 +01:00
|
|
|
actionmanager/commandsfile.h \
|
|
|
|
|
dialogs/saveitemsdialog.h \
|
|
|
|
|
dialogs/newdialog.h \
|
|
|
|
|
dialogs/settingsdialog.h \
|
2010-03-10 11:21:56 +01:00
|
|
|
actionmanager/commandmappings.h \
|
2012-10-15 11:53:22 +02:00
|
|
|
dialogs/readonlyfilesdialog.h \
|
2008-12-02 12:01:29 +01:00
|
|
|
dialogs/shortcutsettings.h \
|
|
|
|
|
dialogs/openwithdialog.h \
|
|
|
|
|
dialogs/iwizard.h \
|
|
|
|
|
dialogs/ioptionspage.h \
|
2009-01-13 13:54:45 +01:00
|
|
|
progressmanager/progressmanager_p.h \
|
2008-12-02 12:01:29 +01:00
|
|
|
progressmanager/progressview.h \
|
2010-02-25 18:53:42 +01:00
|
|
|
progressmanager/progressbar.h \
|
2008-12-02 12:01:29 +01:00
|
|
|
progressmanager/futureprogress.h \
|
2009-01-13 14:16:36 +01:00
|
|
|
progressmanager/progressmanager.h \
|
2008-12-02 12:01:29 +01:00
|
|
|
icontext.h \
|
|
|
|
|
icore.h \
|
2011-05-06 12:48:44 +02:00
|
|
|
infobar.h \
|
2008-12-02 12:01:29 +01:00
|
|
|
imode.h \
|
|
|
|
|
ioutputpane.h \
|
|
|
|
|
coreconstants.h \
|
|
|
|
|
iversioncontrol.h \
|
|
|
|
|
ifilewizardextension.h \
|
|
|
|
|
icorelistener.h \
|
|
|
|
|
versiondialog.h \
|
|
|
|
|
core_global.h \
|
2009-12-08 19:14:39 +01:00
|
|
|
statusbarwidget.h \
|
2008-12-02 12:01:29 +01:00
|
|
|
coreplugin.h \
|
|
|
|
|
variablemanager.h \
|
|
|
|
|
modemanager.h \
|
|
|
|
|
basefilewizard.h \
|
2011-09-12 16:52:54 +02:00
|
|
|
generatedfile.h \
|
2008-12-02 12:01:29 +01:00
|
|
|
plugindialog.h \
|
|
|
|
|
inavigationwidgetfactory.h \
|
|
|
|
|
navigationwidget.h \
|
|
|
|
|
manhattanstyle.h \
|
|
|
|
|
minisplitter.h \
|
|
|
|
|
styleanimator.h \
|
|
|
|
|
findplaceholder.h \
|
|
|
|
|
rightpane.h \
|
|
|
|
|
sidebar.h \
|
|
|
|
|
fileiconprovider.h \
|
2009-05-19 19:20:53 +02:00
|
|
|
mimedatabase.h \
|
2009-07-31 16:49:26 +02:00
|
|
|
settingsdatabase.h \
|
2010-02-26 11:08:17 +01:00
|
|
|
editormanager/systemeditor.h \
|
2010-03-09 09:42:22 +01:00
|
|
|
designmode.h \
|
2010-04-26 11:43:25 +02:00
|
|
|
editortoolbar.h \
|
2010-07-12 09:33:22 +02:00
|
|
|
helpmanager.h \
|
2010-09-16 12:26:28 +02:00
|
|
|
outputpanemanager.h \
|
|
|
|
|
navigationsubwidget.h \
|
2010-09-24 17:30:10 +02:00
|
|
|
sidebarwidget.h \
|
2011-01-06 18:26:09 +01:00
|
|
|
externaltool.h \
|
|
|
|
|
dialogs/externaltoolconfig.h \
|
2011-02-10 20:58:17 +01:00
|
|
|
toolsettings.h \
|
2011-02-22 15:11:50 +01:00
|
|
|
variablechooser.h \
|
|
|
|
|
mimetypemagicdialog.h \
|
2011-04-15 11:27:15 +02:00
|
|
|
mimetypesettings.h \
|
2011-08-16 18:55:23 +02:00
|
|
|
dialogs/promptoverwritedialog.h \
|
2011-08-17 12:54:58 +02:00
|
|
|
fileutils.h \
|
2011-08-25 12:54:20 +02:00
|
|
|
externaltoolmanager.h \
|
2012-01-18 13:50:14 +01:00
|
|
|
generatedfile.h \
|
2012-02-14 16:43:51 +01:00
|
|
|
featureprovider.h \
|
|
|
|
|
idocument.h \
|
|
|
|
|
idocumentfactory.h \
|
|
|
|
|
textdocument.h \
|
2012-07-18 13:41:13 +04:00
|
|
|
documentmanager.h \
|
2013-06-14 00:03:27 +02:00
|
|
|
removefiledialog.h \
|
|
|
|
|
dialogs/addtovcsdialog.h
|
2010-02-26 11:08:17 +01:00
|
|
|
|
2008-12-02 12:01:29 +01:00
|
|
|
FORMS += dialogs/newdialog.ui \
|
|
|
|
|
dialogs/saveitemsdialog.ui \
|
2012-10-15 11:53:22 +02:00
|
|
|
dialogs/readonlyfilesdialog.ui \
|
2008-12-02 12:01:29 +01:00
|
|
|
dialogs/openwithdialog.ui \
|
2011-01-06 18:26:09 +01:00
|
|
|
generalsettings.ui \
|
2011-02-10 20:58:17 +01:00
|
|
|
dialogs/externaltoolconfig.ui \
|
2011-02-22 15:11:50 +01:00
|
|
|
variablechooser.ui \
|
|
|
|
|
mimetypesettingspage.ui \
|
2012-07-18 13:41:13 +04:00
|
|
|
mimetypemagicdialog.ui \
|
2013-06-14 00:03:27 +02:00
|
|
|
removefiledialog.ui \
|
2014-01-13 16:17:34 +01:00
|
|
|
dialogs/addtovcsdialog.ui
|
2011-02-22 15:11:50 +01:00
|
|
|
|
2008-12-02 12:01:29 +01:00
|
|
|
RESOURCES += core.qrc \
|
|
|
|
|
fancyactionbar.qrc
|
2009-11-26 15:51:10 +01:00
|
|
|
|
2014-01-13 16:17:34 +01:00
|
|
|
include(find/find.pri)
|
|
|
|
|
include(locator/locator.pri)
|
|
|
|
|
|
2009-11-26 15:51:10 +01:00
|
|
|
win32 {
|
|
|
|
|
SOURCES += progressmanager/progressmanager_win.cpp
|
2012-05-09 14:56:55 +02:00
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += gui-private # Uses QPlatformNativeInterface.
|
2012-07-30 12:27:11 +02:00
|
|
|
LIBS += -lole32 -luser32
|
2009-11-26 15:51:10 +01:00
|
|
|
}
|
|
|
|
|
else:macx {
|
2012-03-15 19:41:18 +01:00
|
|
|
HEADERS += macfullscreen.h
|
|
|
|
|
OBJECTIVE_SOURCES += \
|
|
|
|
|
progressmanager/progressmanager_mac.mm \
|
|
|
|
|
macfullscreen.mm
|
2009-11-26 15:51:10 +01:00
|
|
|
LIBS += -framework AppKit
|
|
|
|
|
}
|
|
|
|
|
else:unix {
|
|
|
|
|
SOURCES += progressmanager/progressmanager_x11.cpp
|
|
|
|
|
|
2011-05-23 12:29:43 +02:00
|
|
|
IMAGE_SIZE_LIST = 16 24 32 48 64 128 256 512
|
|
|
|
|
|
|
|
|
|
for(imagesize, IMAGE_SIZE_LIST) {
|
2012-10-08 16:11:06 +02:00
|
|
|
eval(image$${imagesize}.files = images/logo/$${imagesize}/QtProject-qtcreator.png)
|
2012-09-03 18:24:02 +02:00
|
|
|
eval(image$${imagesize}.path = $$QTC_PREFIX/share/icons/hicolor/$${imagesize}x$${imagesize}/apps)
|
2011-05-23 12:29:43 +02:00
|
|
|
INSTALLS += image$${imagesize}
|
|
|
|
|
}
|
2009-01-23 14:00:41 +01:00
|
|
|
}
|
2011-08-30 15:57:00 +02:00
|
|
|
OTHER_FILES += editormanager/BinFiles.mimetypes.xml
|
2013-08-19 11:49:13 +02:00
|
|
|
|
|
|
|
|
equals(TEST, 1) {
|
2013-10-08 13:02:52 +03:00
|
|
|
SOURCES += testdatadir.cpp
|
|
|
|
|
HEADERS += testdatadir.h
|
2013-08-19 11:49:13 +02:00
|
|
|
}
|