utils-lib.pri 4.78 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 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 42
    $$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 \
43
    $$PWD/savefile.cpp \
44
    $$PWD/fileutils.cpp \
45
    $$PWD/textfileformat.cpp \
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
    $$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 \
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 81
    $$PWD/qtcassert.cpp \
    $$PWD/elfreader.cpp
82

83
win32 {
84
    SOURCES += \
85 86 87 88 89 90 91 92 93 94
        $$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
}
95 96
HEADERS += \
    $$PWD/environment.h \
97
    $$PWD/environmentmodel.h \
Oswald Buddenhagen's avatar
Oswald Buddenhagen committed
98
    $$PWD/qtcprocess.h \
99
    $$PWD/utils_global.h \
100
    $$PWD/reloadpromptutils.h \
101
    $$PWD/settingsselector.h \
102 103 104 105 106 107 108 109
    $$PWD/stringutils.h \
    $$PWD/filesearch.h \
    $$PWD/listutils.h \
    $$PWD/pathchooser.h \
    $$PWD/pathlisteditor.h \
    $$PWD/wizard.h \
    $$PWD/filewizardpage.h \
    $$PWD/filewizarddialog.h \
110
    $$PWD/filesystemwatcher.h \
111 112 113 114 115 116 117 118 119 120 121 122 123
    $$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 \
124
    $$PWD/consoleprocess_p.h \
125
    $$PWD/synchronousprocess.h \
126
    $$PWD/savefile.h \
127
    $$PWD/fileutils.h \
128
    $$PWD/textfileformat.h \
129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145
    $$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 \
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 166
    $$PWD/basetreeview.h \
    $$PWD/elfreader.h
167

168 169 170
FORMS += $$PWD/filewizardpage.ui \
    $$PWD/projectintropage.ui \
    $$PWD/newclasswidget.ui \
171
    $$PWD/submiteditorwidget.ui
172

173
RESOURCES += $$PWD/utils.qrc