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

Christian Kandeler's avatar
Christian Kandeler committed
7
INCLUDEPATH += $$PWD
8
QT += script network
9

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

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

17
SOURCES += $$PWD/environment.cpp \
18
    $$PWD/environmentmodel.cpp \
Oswald Buddenhagen's avatar
Oswald Buddenhagen committed
19
    $$PWD/qtcprocess.cpp \
20
    $$PWD/reloadpromptutils.cpp \
21
    $$PWD/settingsselector.cpp \
22 23 24 25 26 27 28
    $$PWD/stringutils.cpp \
    $$PWD/filesearch.cpp \
    $$PWD/pathchooser.cpp \
    $$PWD/pathlisteditor.cpp \
    $$PWD/wizard.cpp \
    $$PWD/filewizardpage.cpp \
    $$PWD/filewizarddialog.cpp \
29
    $$PWD/filesystemwatcher.cpp \
30 31 32 33 34 35 36 37 38 39 40 41
    $$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/synchronousprocess.cpp \
42
    $$PWD/savefile.cpp \
43
    $$PWD/fileutils.cpp \
44
    $$PWD/textfileformat.cpp \
45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
    $$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
    $$PWD/outputformatter.cpp \
69
    $$PWD/flowlayout.cpp \
Jarek Kobus's avatar
Jarek Kobus committed
70
    $$PWD/networkaccessmanager.cpp \
71
    $$PWD/persistentsettings.cpp \
Leandro Melo's avatar
Leandro Melo committed
72
    $$PWD/completingtextedit.cpp \
Kai Koehne's avatar
Kai Koehne committed
73
    $$PWD/json.cpp \
Kai Koehne's avatar
Kai Koehne committed
74
    $$PWD/portlist.cpp \
75
    $$PWD/tcpportsgatherer.cpp \
76
    $$PWD/appmainwindow.cpp \
77
    $$PWD/basetreeview.cpp \
78
    $$PWD/qtcassert.cpp \
79
    $$PWD/elfreader.cpp \
80
    $$PWD/bracematcher.cpp \
81 82
    $$PWD/proxyaction.cpp \
    $$PWD/elidinglabel.cpp \
83
    $$PWD/hostosinfo.cpp \
84 85 86
    $$PWD/tooltip/tooltip.cpp \
    $$PWD/tooltip/tips.cpp \
    $$PWD/tooltip/tipcontents.cpp \
87
    $$PWD/unixutils.cpp
88

89
win32 {
90
    SOURCES += \
91 92 93 94 95 96
        $$PWD/consoleprocess_win.cpp \
        $$PWD/winutils.cpp
    HEADERS += $$PWD/winutils.h
}
else:SOURCES += $$PWD/consoleprocess_unix.cpp

97 98
HEADERS += \
    $$PWD/environment.h \
99
    $$PWD/environmentmodel.h \
Oswald Buddenhagen's avatar
Oswald Buddenhagen committed
100
    $$PWD/qtcprocess.h \
101
    $$PWD/utils_global.h \
102
    $$PWD/reloadpromptutils.h \
103
    $$PWD/settingsselector.h \
104 105 106 107 108 109 110 111
    $$PWD/stringutils.h \
    $$PWD/filesearch.h \
    $$PWD/listutils.h \
    $$PWD/pathchooser.h \
    $$PWD/pathlisteditor.h \
    $$PWD/wizard.h \
    $$PWD/filewizardpage.h \
    $$PWD/filewizarddialog.h \
112
    $$PWD/filesystemwatcher.h \
113 114 115 116 117 118 119 120 121 122 123 124
    $$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/consoleprocess.h \
125
    $$PWD/consoleprocess_p.h \
126
    $$PWD/synchronousprocess.h \
127
    $$PWD/savefile.h \
128
    $$PWD/fileutils.h \
129
    $$PWD/textfileformat.h \
130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145
    $$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 \
146
    $$PWD/crumblepath.h \
147
    $$PWD/historycompleter.h \
148
    $$PWD/buildablehelperlibrary.h \
149
    $$PWD/annotateditemdelegate.h \
150
    $$PWD/fileinprojectfinder.h \
151
    $$PWD/ipaddresslineedit.h \
con's avatar
con committed
152 153
    $$PWD/statuslabel.h \
    $$PWD/outputformatter.h \
154
    $$PWD/outputformat.h \
155
    $$PWD/flowlayout.h \
Jarek Kobus's avatar
Jarek Kobus committed
156
    $$PWD/networkaccessmanager.h \
157
    $$PWD/persistentsettings.h \
Leandro Melo's avatar
Leandro Melo committed
158
    $$PWD/completingtextedit.h \
159 160
    $$PWD/json.h \
    $$PWD/multitask.h \
Kai Koehne's avatar
Kai Koehne committed
161
    $$PWD/runextensions.h \
Kai Koehne's avatar
Kai Koehne committed
162
    $$PWD/portlist.h \
163
    $$PWD/tcpportsgatherer.h \
164
    $$PWD/appmainwindow.h \
165
    $$PWD/basetreeview.h \
166
    $$PWD/elfreader.h \
167 168
    $$PWD/bracematcher.h \
    $$PWD/proxyaction.h \
169
    $$PWD/hostosinfo.h \
170 171 172 173 174 175
    $$PWD/elidinglabel.h \
    $$PWD/tooltip/tooltip.h \
    $$PWD/tooltip/tips.h \
    $$PWD/tooltip/tipcontents.h \
    $$PWD/tooltip/reuse.h \
    $$PWD/tooltip/effects.h \
Thomas Hartmann's avatar
Thomas Hartmann committed
176 177
    $$PWD/unixutils.h \
    $$PWD/qtcoverride.h
178

179 180
FORMS += $$PWD/filewizardpage.ui \
    $$PWD/projectintropage.ui \
181
    $$PWD/newclasswidget.ui
182

183
RESOURCES += $$PWD/utils.qrc