2012-02-09 14:30:09 +01:00
|
|
|
import qbs.base 1.0
|
2012-04-01 19:21:05 +03:00
|
|
|
import "../QtcLibrary.qbs" as QtcLibrary
|
2012-02-09 14:30:09 +01:00
|
|
|
|
2012-04-01 19:21:05 +03:00
|
|
|
QtcLibrary {
|
|
|
|
|
name: "Utils"
|
2012-02-09 14:30:09 +01:00
|
|
|
|
2013-01-12 23:29:24 +02:00
|
|
|
cpp.defines: base.concat("QTCREATOR_UTILS_LIB")
|
2012-02-09 14:30:09 +01:00
|
|
|
|
|
|
|
|
Properties {
|
2013-06-20 14:43:33 +02:00
|
|
|
condition: qbs.targetOS.contains("windows")
|
2012-06-19 15:36:27 +08:00
|
|
|
cpp.dynamicLibraries: [
|
|
|
|
|
"user32",
|
|
|
|
|
"iphlpapi",
|
|
|
|
|
"ws2_32"
|
|
|
|
|
]
|
2012-02-09 14:30:09 +01:00
|
|
|
}
|
2012-05-16 11:30:28 +02:00
|
|
|
Properties {
|
2013-06-25 18:17:15 +02:00
|
|
|
condition: qbs.targetOS.contains("unix") && !qbs.targetOS.contains("osx")
|
2012-05-16 11:30:28 +02:00
|
|
|
cpp.dynamicLibraries: ["X11"]
|
|
|
|
|
}
|
2012-02-09 14:30:09 +01:00
|
|
|
|
2012-06-19 15:36:27 +08:00
|
|
|
Depends { name: "Qt"; submodules: ["widgets", "network", "script", "concurrent"] }
|
2012-02-09 14:30:09 +01:00
|
|
|
Depends { name: "app_version_header" }
|
|
|
|
|
|
|
|
|
|
files: [
|
|
|
|
|
"annotateditemdelegate.cpp",
|
|
|
|
|
"annotateditemdelegate.h",
|
2012-09-30 13:50:31 +02:00
|
|
|
"appmainwindow.cpp",
|
|
|
|
|
"appmainwindow.h",
|
2012-04-03 10:22:20 +02:00
|
|
|
"basetreeview.cpp",
|
|
|
|
|
"basetreeview.h",
|
2012-02-09 14:30:09 +01:00
|
|
|
"basevalidatinglineedit.cpp",
|
|
|
|
|
"basevalidatinglineedit.h",
|
2012-08-08 12:40:17 +04:00
|
|
|
"bracematcher.cpp",
|
|
|
|
|
"bracematcher.h",
|
2012-09-30 13:50:31 +02:00
|
|
|
"buildablehelperlibrary.cpp",
|
2012-02-09 14:30:09 +01:00
|
|
|
"buildablehelperlibrary.h",
|
|
|
|
|
"changeset.cpp",
|
|
|
|
|
"changeset.h",
|
2012-09-30 13:50:31 +02:00
|
|
|
"checkablemessagebox.cpp",
|
|
|
|
|
"checkablemessagebox.h",
|
2012-02-09 14:30:09 +01:00
|
|
|
"classnamevalidatinglineedit.cpp",
|
|
|
|
|
"classnamevalidatinglineedit.h",
|
|
|
|
|
"codegeneration.cpp",
|
|
|
|
|
"codegeneration.h",
|
|
|
|
|
"completingtextedit.cpp",
|
|
|
|
|
"completingtextedit.h",
|
|
|
|
|
"consoleprocess.cpp",
|
|
|
|
|
"consoleprocess.h",
|
|
|
|
|
"consoleprocess_p.h",
|
2012-09-30 13:50:31 +02:00
|
|
|
"crumblepath.cpp",
|
2012-02-09 14:30:09 +01:00
|
|
|
"crumblepath.h",
|
|
|
|
|
"detailsbutton.cpp",
|
|
|
|
|
"detailsbutton.h",
|
|
|
|
|
"detailswidget.cpp",
|
|
|
|
|
"detailswidget.h",
|
2012-06-01 12:52:16 +02:00
|
|
|
"elfreader.cpp",
|
|
|
|
|
"elfreader.h",
|
2013-01-11 11:22:36 +01:00
|
|
|
"elidinglabel.cpp",
|
|
|
|
|
"elidinglabel.h",
|
2012-09-30 13:50:31 +02:00
|
|
|
"environment.cpp",
|
2012-02-09 14:30:09 +01:00
|
|
|
"environment.h",
|
|
|
|
|
"environmentmodel.cpp",
|
|
|
|
|
"environmentmodel.h",
|
|
|
|
|
"faketooltip.cpp",
|
|
|
|
|
"faketooltip.h",
|
|
|
|
|
"fancylineedit.cpp",
|
|
|
|
|
"fancylineedit.h",
|
|
|
|
|
"fancymainwindow.cpp",
|
|
|
|
|
"fancymainwindow.h",
|
|
|
|
|
"fileinprojectfinder.cpp",
|
|
|
|
|
"fileinprojectfinder.h",
|
2012-09-30 13:50:31 +02:00
|
|
|
"filenamevalidatinglineedit.cpp",
|
2012-02-09 14:30:09 +01:00
|
|
|
"filenamevalidatinglineedit.h",
|
|
|
|
|
"filesearch.cpp",
|
|
|
|
|
"filesearch.h",
|
|
|
|
|
"filesystemwatcher.cpp",
|
|
|
|
|
"filesystemwatcher.h",
|
2012-09-30 13:50:31 +02:00
|
|
|
"fileutils.cpp",
|
2012-02-09 14:30:09 +01:00
|
|
|
"fileutils.h",
|
|
|
|
|
"filewizarddialog.cpp",
|
|
|
|
|
"filewizarddialog.h",
|
|
|
|
|
"filewizardpage.cpp",
|
|
|
|
|
"filewizardpage.h",
|
2012-09-30 13:50:31 +02:00
|
|
|
"filewizardpage.ui",
|
2012-02-09 14:30:09 +01:00
|
|
|
"filterlineedit.cpp",
|
|
|
|
|
"filterlineedit.h",
|
|
|
|
|
"flowlayout.cpp",
|
|
|
|
|
"flowlayout.h",
|
2013-08-19 16:14:54 +02:00
|
|
|
"function.cpp",
|
|
|
|
|
"function.h",
|
2012-09-30 13:50:31 +02:00
|
|
|
"historycompleter.cpp",
|
2012-02-09 14:30:09 +01:00
|
|
|
"historycompleter.h",
|
2012-09-30 13:50:31 +02:00
|
|
|
"hostosinfo.h",
|
2013-01-18 10:33:55 +01:00
|
|
|
"hostosinfo.cpp",
|
2012-02-09 14:30:09 +01:00
|
|
|
"htmldocextractor.cpp",
|
|
|
|
|
"htmldocextractor.h",
|
2012-09-30 13:50:31 +02:00
|
|
|
"ipaddresslineedit.cpp",
|
2012-02-09 14:30:09 +01:00
|
|
|
"ipaddresslineedit.h",
|
|
|
|
|
"iwelcomepage.cpp",
|
|
|
|
|
"iwelcomepage.h",
|
|
|
|
|
"json.cpp",
|
|
|
|
|
"json.h",
|
|
|
|
|
"linecolumnlabel.cpp",
|
|
|
|
|
"linecolumnlabel.h",
|
|
|
|
|
"listutils.h",
|
2012-09-30 13:50:31 +02:00
|
|
|
"multitask.h",
|
2012-02-09 14:30:09 +01:00
|
|
|
"navigationtreeview.cpp",
|
|
|
|
|
"navigationtreeview.h",
|
2012-09-30 13:50:31 +02:00
|
|
|
"networkaccessmanager.cpp",
|
2012-02-09 14:30:09 +01:00
|
|
|
"networkaccessmanager.h",
|
|
|
|
|
"newclasswidget.cpp",
|
|
|
|
|
"newclasswidget.h",
|
2012-09-30 13:50:31 +02:00
|
|
|
"newclasswidget.ui",
|
2013-08-15 16:08:16 +02:00
|
|
|
"osspecificaspects.h",
|
2012-02-09 14:30:09 +01:00
|
|
|
"outputformat.h",
|
|
|
|
|
"outputformatter.cpp",
|
|
|
|
|
"outputformatter.h",
|
|
|
|
|
"parameteraction.cpp",
|
|
|
|
|
"parameteraction.h",
|
|
|
|
|
"pathchooser.cpp",
|
|
|
|
|
"pathchooser.h",
|
2012-09-30 13:50:31 +02:00
|
|
|
"pathlisteditor.cpp",
|
2012-02-09 14:30:09 +01:00
|
|
|
"pathlisteditor.h",
|
2012-09-30 13:50:31 +02:00
|
|
|
"persistentsettings.cpp",
|
|
|
|
|
"persistentsettings.h",
|
|
|
|
|
"portlist.cpp",
|
|
|
|
|
"portlist.h",
|
2012-02-09 14:30:09 +01:00
|
|
|
"projectintropage.cpp",
|
|
|
|
|
"projectintropage.h",
|
2012-09-30 13:50:31 +02:00
|
|
|
"projectintropage.ui",
|
2012-02-09 14:30:09 +01:00
|
|
|
"projectnamevalidatinglineedit.cpp",
|
|
|
|
|
"projectnamevalidatinglineedit.h",
|
2012-09-30 13:50:31 +02:00
|
|
|
"proxyaction.cpp",
|
2012-02-09 14:30:09 +01:00
|
|
|
"proxyaction.h",
|
2012-04-17 08:01:25 +02:00
|
|
|
"qtcassert.cpp",
|
2012-09-30 13:50:31 +02:00
|
|
|
"qtcassert.h",
|
2012-02-09 14:30:09 +01:00
|
|
|
"qtcolorbutton.cpp",
|
|
|
|
|
"qtcolorbutton.h",
|
2012-09-30 13:50:31 +02:00
|
|
|
"qtcprocess.cpp",
|
2012-02-09 14:30:09 +01:00
|
|
|
"qtcprocess.h",
|
|
|
|
|
"reloadpromptutils.cpp",
|
|
|
|
|
"reloadpromptutils.h",
|
2012-09-30 13:50:31 +02:00
|
|
|
"runextensions.h",
|
|
|
|
|
"savedaction.cpp",
|
2012-02-09 14:30:09 +01:00
|
|
|
"savedaction.h",
|
|
|
|
|
"savefile.cpp",
|
|
|
|
|
"savefile.h",
|
|
|
|
|
"settingsselector.cpp",
|
2012-09-30 13:50:31 +02:00
|
|
|
"settingsselector.h",
|
2012-02-09 14:30:09 +01:00
|
|
|
"settingsutils.h",
|
|
|
|
|
"statuslabel.cpp",
|
|
|
|
|
"statuslabel.h",
|
|
|
|
|
"stringutils.cpp",
|
|
|
|
|
"stringutils.h",
|
|
|
|
|
"styledbar.cpp",
|
|
|
|
|
"styledbar.h",
|
2012-09-30 13:50:31 +02:00
|
|
|
"stylehelper.cpp",
|
2012-02-09 14:30:09 +01:00
|
|
|
"stylehelper.h",
|
|
|
|
|
"synchronousprocess.cpp",
|
|
|
|
|
"synchronousprocess.h",
|
2012-02-28 12:13:04 +01:00
|
|
|
"tcpportsgatherer.cpp",
|
|
|
|
|
"tcpportsgatherer.h",
|
2012-02-09 14:30:09 +01:00
|
|
|
"textfileformat.cpp",
|
|
|
|
|
"textfileformat.h",
|
2013-03-20 15:45:38 +01:00
|
|
|
"headerviewstretcher.cpp",
|
|
|
|
|
"headerviewstretcher.h",
|
2012-02-09 14:30:09 +01:00
|
|
|
"uncommentselection.cpp",
|
|
|
|
|
"uncommentselection.h",
|
2013-01-20 10:23:25 +02:00
|
|
|
"unixutils.cpp",
|
|
|
|
|
"unixutils.h",
|
2012-09-30 13:50:31 +02:00
|
|
|
"utils.qrc",
|
2012-02-09 14:30:09 +01:00
|
|
|
"utils_global.h",
|
|
|
|
|
"wizard.cpp",
|
|
|
|
|
"wizard.h",
|
|
|
|
|
"images/arrow.png",
|
|
|
|
|
"images/crumblepath-segment-end.png",
|
|
|
|
|
"images/crumblepath-segment-hover-end.png",
|
|
|
|
|
"images/crumblepath-segment-hover.png",
|
|
|
|
|
"images/crumblepath-segment-selected-end.png",
|
|
|
|
|
"images/crumblepath-segment-selected.png",
|
|
|
|
|
"images/crumblepath-segment.png",
|
|
|
|
|
"images/triangle_vert.png",
|
|
|
|
|
]
|
|
|
|
|
|
2013-01-10 15:07:17 +01:00
|
|
|
Group {
|
2013-06-06 09:08:16 +02:00
|
|
|
name: "Tooltip"
|
2013-01-10 15:07:17 +01:00
|
|
|
prefix: "tooltip/"
|
|
|
|
|
files: [
|
|
|
|
|
"effects.h",
|
|
|
|
|
"reuse.h",
|
|
|
|
|
"tipcontents.cpp",
|
|
|
|
|
"tipcontents.h",
|
|
|
|
|
"tips.cpp",
|
|
|
|
|
"tips.h",
|
|
|
|
|
"tooltip.cpp",
|
|
|
|
|
"tooltip.h",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2012-02-09 14:30:09 +01:00
|
|
|
Group {
|
2013-06-06 09:08:16 +02:00
|
|
|
name: "WindowsUtils"
|
2013-06-20 14:43:33 +02:00
|
|
|
condition: qbs.targetOS.contains("windows")
|
2012-02-09 14:30:09 +01:00
|
|
|
files: [
|
|
|
|
|
"consoleprocess_win.cpp",
|
|
|
|
|
"winutils.cpp",
|
|
|
|
|
"winutils.h",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Group {
|
2013-06-06 09:08:16 +02:00
|
|
|
name: "ConsoleProcess_unix"
|
2013-06-20 14:43:33 +02:00
|
|
|
condition: qbs.targetOS.contains("unix")
|
2012-02-09 14:30:09 +01:00
|
|
|
files: [
|
|
|
|
|
"consoleprocess_unix.cpp",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2013-05-24 15:58:33 +02:00
|
|
|
Export {
|
2012-05-18 10:49:35 +02:00
|
|
|
Depends { name: "Qt"; submodules: ["concurrent", "widgets" ] }
|
2012-04-10 15:57:24 +02:00
|
|
|
}
|
2012-02-09 14:30:09 +01:00
|
|
|
}
|
|
|
|
|
|