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

INCLUDEPATH += $$PWD
8
QT += script network
9

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

12 13
DEFINES += QT_NO_CAST_FROM_ASCII

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

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

85
win32 {
86
    SOURCES += \
87 88 89 90 91 92
        $$PWD/consoleprocess_win.cpp \
        $$PWD/winutils.cpp
    HEADERS += $$PWD/winutils.h
}
else:SOURCES += $$PWD/consoleprocess_unix.cpp

93

94 95
    HEADERS += $$PWD/unixutils.h
    SOURCES += $$PWD/unixutils.cpp
96

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 169
    $$PWD/bracematcher.h \
    $$PWD/proxyaction.h \
    $$PWD/hostosinfo.h
170

171 172
FORMS += $$PWD/filewizardpage.ui \
    $$PWD/projectintropage.ui \
173
    $$PWD/newclasswidget.ui
174

175
RESOURCES += $$PWD/utils.qrc