utils-lib.pri 6.45 KB
Newer Older
1 2 3 4 5
dll {
    DEFINES += QTCREATOR_UTILS_LIB
} else {
    DEFINES += QTCREATOR_UTILS_STATIC_LIB
}
6

7
QT += gui network qml
8

9 10
CONFIG += exceptions # used by portlist.cpp, textfileformat.cpp, and ssh/*

11 12 13 14
win32: LIBS += -luser32 -lshell32
# PortsGatherer
win32: LIBS += -liphlpapi -lws2_32

15
SOURCES += $$PWD/environment.cpp \
16
    $$PWD/environmentmodel.cpp \
Oswald Buddenhagen's avatar
Oswald Buddenhagen committed
17
    $$PWD/qtcprocess.cpp \
18
    $$PWD/reloadpromptutils.cpp \
Tobias Hunger's avatar
Tobias Hunger committed
19
    $$PWD/shellcommand.cpp \
20
    $$PWD/shellcommandpage.cpp \
21
    $$PWD/settingsselector.cpp \
22
    $$PWD/stringutils.cpp \
23
    $$PWD/templateengine.cpp \
24 25
    $$PWD/textfieldcheckbox.cpp \
    $$PWD/textfieldcombobox.cpp \
26 27 28 29
    $$PWD/filesearch.cpp \
    $$PWD/pathchooser.cpp \
    $$PWD/pathlisteditor.cpp \
    $$PWD/wizard.cpp \
30
    $$PWD/wizardpage.cpp \
31
    $$PWD/filewizardpage.cpp \
32
    $$PWD/filesystemwatcher.cpp \
33 34 35 36 37 38 39 40 41 42
    $$PWD/projectintropage.cpp \
    $$PWD/filenamevalidatinglineedit.cpp \
    $$PWD/codegeneration.cpp \
    $$PWD/newclasswidget.cpp \
    $$PWD/classnamevalidatinglineedit.cpp \
    $$PWD/linecolumnlabel.cpp \
    $$PWD/fancylineedit.cpp \
    $$PWD/qtcolorbutton.cpp \
    $$PWD/savedaction.cpp \
    $$PWD/synchronousprocess.cpp \
43
    $$PWD/savefile.cpp \
44
    $$PWD/fileutils.cpp \
45
    $$PWD/textfileformat.cpp \
46 47 48
    $$PWD/consoleprocess.cpp \
    $$PWD/uncommentselection.cpp \
    $$PWD/parameteraction.cpp \
49
    $$PWD/headerviewstretcher.cpp \
50 51 52 53 54 55 56 57 58 59
    $$PWD/checkablemessagebox.cpp \
    $$PWD/styledbar.cpp \
    $$PWD/stylehelper.cpp \
    $$PWD/fancymainwindow.cpp \
    $$PWD/detailsbutton.cpp \
    $$PWD/detailswidget.cpp \
    $$PWD/changeset.cpp \
    $$PWD/faketooltip.cpp \
    $$PWD/htmldocextractor.cpp \
    $$PWD/navigationtreeview.cpp \
60
    $$PWD/crumblepath.cpp \
61
    $$PWD/historycompleter.cpp \
62
    $$PWD/buildablehelperlibrary.cpp \
63
    $$PWD/annotateditemdelegate.cpp \
64
    $$PWD/fileinprojectfinder.cpp \
65
    $$PWD/statuslabel.cpp \
66
    $$PWD/outputformatter.cpp \
67
    $$PWD/flowlayout.cpp \
Jarek Kobus's avatar
Jarek Kobus committed
68
    $$PWD/networkaccessmanager.cpp \
69
    $$PWD/persistentsettings.cpp \
Leandro Melo's avatar
Leandro Melo committed
70
    $$PWD/completingtextedit.cpp \
Kai Koehne's avatar
Kai Koehne committed
71
    $$PWD/json.cpp \
Kai Koehne's avatar
Kai Koehne committed
72
    $$PWD/portlist.cpp \
73
    $$PWD/appmainwindow.cpp \
Orgad Shaneh's avatar
Orgad Shaneh committed
74
    $$PWD/sleep.cpp \
75
    $$PWD/basetreeview.cpp \
76
    $$PWD/qtcassert.cpp \
77
    $$PWD/elfreader.cpp \
78
    $$PWD/bracematcher.cpp \
79 80
    $$PWD/proxyaction.cpp \
    $$PWD/elidinglabel.cpp \
81
    $$PWD/hostosinfo.cpp \
82 83
    $$PWD/tooltip/tooltip.cpp \
    $$PWD/tooltip/tips.cpp \
84
    $$PWD/unixutils.cpp \
Orgad Shaneh's avatar
Orgad Shaneh committed
85
    $$PWD/ansiescapecodehandler.cpp \
86
    $$PWD/execmenu.cpp \
hjk's avatar
hjk committed
87
    $$PWD/completinglineedit.cpp \
88
    $$PWD/winutils.cpp \
Daniel Teske's avatar
Daniel Teske committed
89
    $$PWD/itemviews.cpp \
hjk's avatar
hjk committed
90
    $$PWD/treemodel.cpp \
Kai Koehne's avatar
Kai Koehne committed
91
    $$PWD/treeviewcombobox.cpp \
92
    $$PWD/proxycredentialsdialog.cpp \
93
    $$PWD/macroexpander.cpp \
94
    $$PWD/theme/theme.cpp \
95
    $$PWD/progressindicator.cpp \
96
    $$PWD/fadingindicator.cpp \
97
    $$PWD/overridecursor.cpp \
98
    $$PWD/categorysortfiltermodel.cpp \
99
    $$PWD/dropsupport.cpp \
hjk's avatar
hjk committed
100
    $$PWD/icon.cpp \
101 102
    $$PWD/port.cpp \
    $$PWD/runextensions.cpp
103

hjk's avatar
hjk committed
104
win32:SOURCES += $$PWD/consoleprocess_win.cpp
105 106
else:SOURCES += $$PWD/consoleprocess_unix.cpp

107 108
HEADERS += \
    $$PWD/environment.h \
109
    $$PWD/environmentmodel.h \
Oswald Buddenhagen's avatar
Oswald Buddenhagen committed
110
    $$PWD/qtcprocess.h \
111
    $$PWD/utils_global.h \
112
    $$PWD/reloadpromptutils.h \
113
    $$PWD/settingsselector.h \
Tobias Hunger's avatar
Tobias Hunger committed
114
    $$PWD/shellcommand.h \
115
    $$PWD/shellcommandpage.h \
116
    $$PWD/stringutils.h \
117
    $$PWD/templateengine.h \
118 119
    $$PWD/textfieldcheckbox.h \
    $$PWD/textfieldcombobox.h \
120 121 122 123 124
    $$PWD/filesearch.h \
    $$PWD/listutils.h \
    $$PWD/pathchooser.h \
    $$PWD/pathlisteditor.h \
    $$PWD/wizard.h \
125
    $$PWD/wizardpage.h \
126
    $$PWD/filewizardpage.h \
127
    $$PWD/filesystemwatcher.h \
128 129 130 131 132 133 134 135 136 137
    $$PWD/projectintropage.h \
    $$PWD/filenamevalidatinglineedit.h \
    $$PWD/codegeneration.h \
    $$PWD/newclasswidget.h \
    $$PWD/classnamevalidatinglineedit.h \
    $$PWD/linecolumnlabel.h \
    $$PWD/fancylineedit.h \
    $$PWD/qtcolorbutton.h \
    $$PWD/savedaction.h \
    $$PWD/consoleprocess.h \
138
    $$PWD/consoleprocess_p.h \
139
    $$PWD/synchronousprocess.h \
140
    $$PWD/savefile.h \
141
    $$PWD/fileutils.h \
142
    $$PWD/textfileformat.h \
143 144
    $$PWD/uncommentselection.h \
    $$PWD/parameteraction.h \
145
    $$PWD/headerviewstretcher.h \
146 147 148 149 150 151 152 153 154 155 156
    $$PWD/checkablemessagebox.h \
    $$PWD/qtcassert.h \
    $$PWD/styledbar.h \
    $$PWD/stylehelper.h \
    $$PWD/fancymainwindow.h \
    $$PWD/detailsbutton.h \
    $$PWD/detailswidget.h \
    $$PWD/changeset.h \
    $$PWD/faketooltip.h \
    $$PWD/htmldocextractor.h \
    $$PWD/navigationtreeview.h \
157
    $$PWD/crumblepath.h \
158
    $$PWD/historycompleter.h \
159
    $$PWD/buildablehelperlibrary.h \
160
    $$PWD/annotateditemdelegate.h \
161
    $$PWD/fileinprojectfinder.h \
con's avatar
con committed
162 163
    $$PWD/statuslabel.h \
    $$PWD/outputformatter.h \
164
    $$PWD/outputformat.h \
165
    $$PWD/flowlayout.h \
Jarek Kobus's avatar
Jarek Kobus committed
166
    $$PWD/networkaccessmanager.h \
167
    $$PWD/persistentsettings.h \
Leandro Melo's avatar
Leandro Melo committed
168
    $$PWD/completingtextedit.h \
169
    $$PWD/json.h \
Kai Koehne's avatar
Kai Koehne committed
170
    $$PWD/runextensions.h \
Kai Koehne's avatar
Kai Koehne committed
171
    $$PWD/portlist.h \
172
    $$PWD/appmainwindow.h \
Orgad Shaneh's avatar
Orgad Shaneh committed
173
    $$PWD/sleep.h \
174
    $$PWD/basetreeview.h \
175
    $$PWD/elfreader.h \
176 177
    $$PWD/bracematcher.h \
    $$PWD/proxyaction.h \
178
    $$PWD/hostosinfo.h \
179
    $$PWD/osspecificaspects.h \
180 181 182 183 184
    $$PWD/elidinglabel.h \
    $$PWD/tooltip/tooltip.h \
    $$PWD/tooltip/tips.h \
    $$PWD/tooltip/reuse.h \
    $$PWD/tooltip/effects.h \
Thomas Hartmann's avatar
Thomas Hartmann committed
185
    $$PWD/unixutils.h \
Orgad Shaneh's avatar
Orgad Shaneh committed
186
    $$PWD/ansiescapecodehandler.h \
187
    $$PWD/execmenu.h \
188
    $$PWD/completinglineedit.h \
189
    $$PWD/winutils.h \
Daniel Teske's avatar
Daniel Teske committed
190
    $$PWD/itemviews.h \
hjk's avatar
hjk committed
191
    $$PWD/treemodel.h \
192
    $$PWD/treeviewcombobox.h \
193
    $$PWD/scopedswap.h \
194
    $$PWD/algorithm.h \
Kai Koehne's avatar
Kai Koehne committed
195
    $$PWD/QtConcurrentTools \
196
    $$PWD/proxycredentialsdialog.h \
197 198
    $$PWD/macroexpander.h \
    $$PWD/theme/theme.h \
199
    $$PWD/theme/theme_p.h \
200
    $$PWD/progressindicator.h \
201
    $$PWD/fadingindicator.h \
202
    $$PWD/executeondestruction.h \
203
    $$PWD/overridecursor.h \
204
    $$PWD/categorysortfiltermodel.h \
205 206
    $$PWD/dropsupport.h \
    $$PWD/utilsicons.h \
hjk's avatar
hjk committed
207
    $$PWD/icon.h \
208
    $$PWD/port.h \
209
    $$PWD/functiontraits.h \
210
    $$PWD/mapreduce.h \
Marco Bubke's avatar
Marco Bubke committed
211 212 213 214 215 216
    $$PWD/declarationmacros.h \
    $$PWD/smallstring.h \
    $$PWD/smallstringiterator.h \
    $$PWD/smallstringliteral.h \
    $$PWD/smallstringmemory.h \
    $$PWD/smallstringvector.h \
Marco Bubke's avatar
Marco Bubke committed
217 218
    $$PWD/smallstringlayout.h \
    $$PWD/sizedarray.h
219

220 221
FORMS += $$PWD/filewizardpage.ui \
    $$PWD/projectintropage.ui \
Kai Koehne's avatar
Kai Koehne committed
222 223
    $$PWD/newclasswidget.ui \
    $$PWD/proxycredentialsdialog.ui
224

225
RESOURCES += $$PWD/utils.qrc
Eike Ziller's avatar
Eike Ziller committed
226 227

osx {
228
    HEADERS += \
Eike Ziller's avatar
Eike Ziller committed
229
        $$PWD/fileutils_mac.h
Eike Ziller's avatar
Eike Ziller committed
230 231 232 233
    OBJECTIVE_SOURCES += \
        $$PWD/fileutils_mac.mm
    LIBS += -framework Foundation
}
Eike Ziller's avatar
Eike Ziller committed
234 235

include(mimetypes/mimetypes.pri)