Skip to content
Snippets Groups Projects
Commit 79272269 authored by Kai Koehne's avatar Kai Koehne
Browse files

Allow apps to statically compile contents of src/lib/utils

Add utils-lib.pri, along the lines of e.g. cplusplus-lib.pri
parent a9e980c0
No related branches found
No related tags found
No related merge requests found
DEFINES += QTCREATOR_UTILS_LIB
INCLUDEPATH += $$PWD
SOURCES += $$PWD/reloadpromptutils.cpp \
$$PWD/stringutils.cpp \
$$PWD/filesearch.cpp \
$$PWD/pathchooser.cpp \
$$PWD/pathlisteditor.cpp \
$$PWD/wizard.cpp \
$$PWD/filewizardpage.cpp \
$$PWD/filewizarddialog.cpp \
$$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 \
$$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/welcomemodetreewidget.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 \
$$PWD/crumblepath.cpp
win32 {
SOURCES += $$PWD/abstractprocess_win.cpp \
$$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
}
HEADERS += $$PWD/utils_global.h \
$$PWD/reloadpromptutils.h \
$$PWD/stringutils.h \
$$PWD/filesearch.h \
$$PWD/listutils.h \
$$PWD/pathchooser.h \
$$PWD/pathlisteditor.h \
$$PWD/wizard.h \
$$PWD/filewizardpage.h \
$$PWD/filewizarddialog.h \
$$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/abstractprocess.h \
$$PWD/consoleprocess.h \
$$PWD/synchronousprocess.h \
$$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/welcomemodetreewidget.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 \
$$PWD/crumblepath.h
FORMS += $$PWD/filewizardpage.ui \
$$PWD/projectintropage.ui \
$$PWD/newclasswidget.ui \
$$PWD/submiteditorwidget.ui \
$$PWD/checkablemessagebox.ui
RESOURCES += $$PWD/utils.qrc
......@@ -2,107 +2,7 @@ TEMPLATE = lib
TARGET = Utils
QT += gui \
network
DEFINES += QTCREATOR_UTILS_LIB
include(../../qtcreatorlibrary.pri)
SOURCES += reloadpromptutils.cpp \
stringutils.cpp \
filesearch.cpp \
pathchooser.cpp \
pathlisteditor.cpp \
wizard.cpp \
filewizardpage.cpp \
filewizarddialog.cpp \
projectintropage.cpp \
basevalidatinglineedit.cpp \
filenamevalidatinglineedit.cpp \
projectnamevalidatinglineedit.cpp \
codegeneration.cpp \
newclasswidget.cpp \
classnamevalidatinglineedit.cpp \
linecolumnlabel.cpp \
fancylineedit.cpp \
qtcolorbutton.cpp \
savedaction.cpp \
submiteditorwidget.cpp \
synchronousprocess.cpp \
submitfieldwidget.cpp \
consoleprocess.cpp \
uncommentselection.cpp \
parameteraction.cpp \
treewidgetcolumnstretcher.cpp \
checkablemessagebox.cpp \
styledbar.cpp \
stylehelper.cpp \
welcomemodetreewidget.cpp \
iwelcomepage.cpp \
fancymainwindow.cpp \
detailsbutton.cpp \
detailswidget.cpp \
changeset.cpp \
filterlineedit.cpp \
faketooltip.cpp \
htmldocextractor.cpp \
navigationtreeview.cpp \
crumblepath.cpp
win32 {
SOURCES += abstractprocess_win.cpp \
consoleprocess_win.cpp \
winutils.cpp
HEADERS += winutils.h
}
else:SOURCES += consoleprocess_unix.cpp
unix:!macx {
HEADERS += unixutils.h
SOURCES += unixutils.cpp
}
HEADERS += utils_global.h \
reloadpromptutils.h \
stringutils.h \
filesearch.h \
listutils.h \
pathchooser.h \
pathlisteditor.h \
wizard.h \
filewizardpage.h \
filewizarddialog.h \
projectintropage.h \
basevalidatinglineedit.h \
filenamevalidatinglineedit.h \
projectnamevalidatinglineedit.h \
codegeneration.h \
newclasswidget.h \
classnamevalidatinglineedit.h \
linecolumnlabel.h \
fancylineedit.h \
qtcolorbutton.h \
savedaction.h \
submiteditorwidget.h \
abstractprocess.h \
consoleprocess.h \
synchronousprocess.h \
submitfieldwidget.h \
uncommentselection.h \
parameteraction.h \
treewidgetcolumnstretcher.h \
checkablemessagebox.h \
qtcassert.h \
styledbar.h \
stylehelper.h \
welcomemodetreewidget.h \
iwelcomepage.h \
fancymainwindow.h \
detailsbutton.h \
detailswidget.h \
changeset.h \
filterlineedit.h \
faketooltip.h \
htmldocextractor.h \
navigationtreeview.h \
crumblepath.h
FORMS += filewizardpage.ui \
projectintropage.ui \
newclasswidget.ui \
submiteditorwidget.ui \
checkablemessagebox.ui
RESOURCES += utils.qrc
include($$PWD/../../qtcreatorlibrary.pri)
include(utils-lib.pri)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment