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

INCLUDEPATH += $$PWD
Leandro Melo's avatar
Leandro Melo committed
8
QT += network script
9

10 11 12 13 14
win32-msvc* {
    # disable warnings caused by botan headers
    QMAKE_CXXFLAGS += -wd4250 -wd4290
}

15
SOURCES += $$PWD/environment.cpp \
16
    $$PWD/environmentmodel.cpp \
Oswald Buddenhagen's avatar
Oswald Buddenhagen committed
17
    $$PWD/qtcprocess.cpp \
18
    $$PWD/reloadpromptutils.cpp \
19
    $$PWD/settingsselector.cpp \
20 21 22 23 24 25 26
    $$PWD/stringutils.cpp \
    $$PWD/filesearch.cpp \
    $$PWD/pathchooser.cpp \
    $$PWD/pathlisteditor.cpp \
    $$PWD/wizard.cpp \
    $$PWD/filewizardpage.cpp \
    $$PWD/filewizarddialog.cpp \
27
    $$PWD/filesystemwatcher.cpp \
28 29 30 31 32 33 34 35 36 37 38 39 40
    $$PWD/projectintropage.cpp \
    $$PWD/basevalidatinglineedit.cpp \
    $$PWD/filenamevalidatinglineedit.cpp \
    $$PWD/projectnamevalidatinglineedit.cpp \
    $$PWD/codegeneration.cpp \
    $$PWD/newclasswidget.cpp \
    $$PWD/classnamevalidatinglineedit.cpp \
    $$PWD/linecolumnlabel.cpp \
    $$PWD/fancylineedit.cpp \
    $$PWD/qtcolorbutton.cpp \
    $$PWD/savedaction.cpp \
    $$PWD/submiteditorwidget.cpp \
    $$PWD/synchronousprocess.cpp \
41
    $$PWD/savefile.cpp \
42
    $$PWD/fileutils.cpp \
43
    $$PWD/textfileformat.cpp \
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
    $$PWD/submitfieldwidget.cpp \
    $$PWD/consoleprocess.cpp \
    $$PWD/uncommentselection.cpp \
    $$PWD/parameteraction.cpp \
    $$PWD/treewidgetcolumnstretcher.cpp \
    $$PWD/checkablemessagebox.cpp \
    $$PWD/styledbar.cpp \
    $$PWD/stylehelper.cpp \
    $$PWD/iwelcomepage.cpp \
    $$PWD/fancymainwindow.cpp \
    $$PWD/detailsbutton.cpp \
    $$PWD/detailswidget.cpp \
    $$PWD/changeset.cpp \
    $$PWD/filterlineedit.cpp \
    $$PWD/faketooltip.cpp \
    $$PWD/htmldocextractor.cpp \
    $$PWD/navigationtreeview.cpp \
61
    $$PWD/crumblepath.cpp \
62
    $$PWD/historycompleter.cpp \
63
    $$PWD/buildablehelperlibrary.cpp \
64
    $$PWD/annotateditemdelegate.cpp \
65
    $$PWD/fileinprojectfinder.cpp \
66
    $$PWD/ipaddresslineedit.cpp \
67
    $$PWD/statuslabel.cpp \
68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86
    $$PWD/ssh/sshsendfacility.cpp \
    $$PWD/ssh/sshremoteprocess.cpp \
    $$PWD/ssh/sshpacketparser.cpp \
    $$PWD/ssh/sshpacket.cpp \
    $$PWD/ssh/sshoutgoingpacket.cpp \
    $$PWD/ssh/sshkeygenerator.cpp \
    $$PWD/ssh/sshkeyexchange.cpp \
    $$PWD/ssh/sshincomingpacket.cpp \
    $$PWD/ssh/sshcryptofacility.cpp \
    $$PWD/ssh/sshconnection.cpp \
    $$PWD/ssh/sshchannelmanager.cpp \
    $$PWD/ssh/sshchannel.cpp \
    $$PWD/ssh/sshcapabilities.cpp \
    $$PWD/ssh/sftppacket.cpp \
    $$PWD/ssh/sftpoutgoingpacket.cpp \
    $$PWD/ssh/sftpoperation.cpp \
    $$PWD/ssh/sftpincomingpacket.cpp \
    $$PWD/ssh/sftpdefs.cpp \
    $$PWD/ssh/sftpchannel.cpp \
87
    $$PWD/ssh/sshremoteprocessrunner.cpp \
con's avatar
con committed
88
    $$PWD/ssh/sshconnectionmanager.cpp \
89
    $$PWD/ssh/sshkeypasswordretriever.cpp \
90
    $$PWD/ssh/sftpfilesystemmodel.cpp \
91
    $$PWD/ssh/sshkeycreationdialog.cpp \
92
    $$PWD/outputformatter.cpp \
93
    $$PWD/flowlayout.cpp \
Jarek Kobus's avatar
Jarek Kobus committed
94
    $$PWD/networkaccessmanager.cpp \
95
    $$PWD/persistentsettings.cpp \
Leandro Melo's avatar
Leandro Melo committed
96
    $$PWD/completingtextedit.cpp \
Kai Koehne's avatar
Kai Koehne committed
97
    $$PWD/json.cpp \
Kai Koehne's avatar
Kai Koehne committed
98 99
    $$PWD/portlist.cpp \
    $$PWD/tcpportsgatherer.cpp
100

101
win32 {
102
    SOURCES += \
103 104 105 106 107 108 109 110 111 112
        $$PWD/consoleprocess_win.cpp \
        $$PWD/winutils.cpp
    HEADERS += $$PWD/winutils.h
}
else:SOURCES += $$PWD/consoleprocess_unix.cpp

unix:!macx {
    HEADERS += $$PWD/unixutils.h
    SOURCES += $$PWD/unixutils.cpp
}
113 114
HEADERS += \
    $$PWD/environment.h \
115
    $$PWD/environmentmodel.h \
Oswald Buddenhagen's avatar
Oswald Buddenhagen committed
116
    $$PWD/qtcprocess.h \
117
    $$PWD/utils_global.h \
118
    $$PWD/reloadpromptutils.h \
119
    $$PWD/settingsselector.h \
120 121 122 123 124 125 126 127
    $$PWD/stringutils.h \
    $$PWD/filesearch.h \
    $$PWD/listutils.h \
    $$PWD/pathchooser.h \
    $$PWD/pathlisteditor.h \
    $$PWD/wizard.h \
    $$PWD/filewizardpage.h \
    $$PWD/filewizarddialog.h \
128
    $$PWD/filesystemwatcher.h \
129 130 131 132 133 134 135 136 137 138 139 140 141
    $$PWD/projectintropage.h \
    $$PWD/basevalidatinglineedit.h \
    $$PWD/filenamevalidatinglineedit.h \
    $$PWD/projectnamevalidatinglineedit.h \
    $$PWD/codegeneration.h \
    $$PWD/newclasswidget.h \
    $$PWD/classnamevalidatinglineedit.h \
    $$PWD/linecolumnlabel.h \
    $$PWD/fancylineedit.h \
    $$PWD/qtcolorbutton.h \
    $$PWD/savedaction.h \
    $$PWD/submiteditorwidget.h \
    $$PWD/consoleprocess.h \
142
    $$PWD/consoleprocess_p.h \
143
    $$PWD/synchronousprocess.h \
144
    $$PWD/savefile.h \
145
    $$PWD/fileutils.h \
146
    $$PWD/textfileformat.h \
147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163
    $$PWD/submitfieldwidget.h \
    $$PWD/uncommentselection.h \
    $$PWD/parameteraction.h \
    $$PWD/treewidgetcolumnstretcher.h \
    $$PWD/checkablemessagebox.h \
    $$PWD/qtcassert.h \
    $$PWD/styledbar.h \
    $$PWD/stylehelper.h \
    $$PWD/iwelcomepage.h \
    $$PWD/fancymainwindow.h \
    $$PWD/detailsbutton.h \
    $$PWD/detailswidget.h \
    $$PWD/changeset.h \
    $$PWD/filterlineedit.h \
    $$PWD/faketooltip.h \
    $$PWD/htmldocextractor.h \
    $$PWD/navigationtreeview.h \
164
    $$PWD/crumblepath.h \
165
    $$PWD/historycompleter.h \
166
    $$PWD/buildablehelperlibrary.h \
167
    $$PWD/annotateditemdelegate.h \
168
    $$PWD/fileinprojectfinder.h \
169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194
    $$PWD/ipaddresslineedit.h \
    $$PWD/ssh/sshsendfacility_p.h \
    $$PWD/ssh/sshremoteprocess.h \
    $$PWD/ssh/sshremoteprocess_p.h \
    $$PWD/ssh/sshpacketparser_p.h \
    $$PWD/ssh/sshpacket_p.h \
    $$PWD/ssh/sshoutgoingpacket_p.h \
    $$PWD/ssh/sshkeygenerator.h \
    $$PWD/ssh/sshkeyexchange_p.h \
    $$PWD/ssh/sshincomingpacket_p.h \
    $$PWD/ssh/sshexception_p.h \
    $$PWD/ssh/ssherrors.h \
    $$PWD/ssh/sshcryptofacility_p.h \
    $$PWD/ssh/sshconnection.h \
    $$PWD/ssh/sshconnection_p.h \
    $$PWD/ssh/sshchannelmanager_p.h \
    $$PWD/ssh/sshchannel_p.h \
    $$PWD/ssh/sshcapabilities_p.h \
    $$PWD/ssh/sshbotanconversions_p.h \
    $$PWD/ssh/sftppacket_p.h \
    $$PWD/ssh/sftpoutgoingpacket_p.h \
    $$PWD/ssh/sftpoperation_p.h \
    $$PWD/ssh/sftpincomingpacket_p.h \
    $$PWD/ssh/sftpdefs.h \
    $$PWD/ssh/sftpchannel.h \
    $$PWD/ssh/sftpchannel_p.h \
195
    $$PWD/ssh/sshremoteprocessrunner.h \
196
    $$PWD/ssh/sshconnectionmanager.h \
197
    $$PWD/ssh/sshpseudoterminal.h \
198
    $$PWD/ssh/sshkeypasswordretriever_p.h \
199
    $$PWD/ssh/sftpfilesystemmodel.h \
200
    $$PWD/ssh/sshkeycreationdialog.h \
con's avatar
con committed
201 202
    $$PWD/statuslabel.h \
    $$PWD/outputformatter.h \
203
    $$PWD/outputformat.h \
204
    $$PWD/flowlayout.h \
Jarek Kobus's avatar
Jarek Kobus committed
205
    $$PWD/networkaccessmanager.h \
206
    $$PWD/persistentsettings.h \
Leandro Melo's avatar
Leandro Melo committed
207
    $$PWD/completingtextedit.h \
208 209
    $$PWD/json.h \
    $$PWD/multitask.h \
Kai Koehne's avatar
Kai Koehne committed
210
    $$PWD/runextensions.h \
Kai Koehne's avatar
Kai Koehne committed
211 212
    $$PWD/portlist.h \
    $$PWD/tcpportsgatherer.h
213

214 215 216
FORMS += $$PWD/filewizardpage.ui \
    $$PWD/projectintropage.ui \
    $$PWD/newclasswidget.ui \
217 218
    $$PWD/submiteditorwidget.ui \
    $$PWD/ssh/sshkeycreationdialog.ui
219

220
RESOURCES += $$PWD/utils.qrc