Tim Jenssen
78ed88552c
reduce strange code to what it does
...
- no behavior change
Change-Id: If8ef04b9f99c976cb5fb69936e5fd02600940b2c
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io >
2017-06-07 08:57:00 +00:00
Tobias Hunger
1050c8605c
Environment: Use range-based for loop
...
Change-Id: I80bd9c5fee00e8df47735e4c71694d7ac279e3b1
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io >
2017-04-20 09:45:54 +00:00
Tobias Hunger
d8533815de
Environment: Simplify code a bit
...
Move duplication check into class and do not duplicate that.
Change-Id: I6fa34fb2e39d47432e87e959d1e5f44d21287bad
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io >
2017-04-20 09:45:47 +00:00
Tobias Hunger
258faf3e96
Environment: Use std::function
...
Change-Id: Ifb2d3aa1459863d69a1e171eb5ff7d3b44b16377
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io >
2017-04-20 09:45:42 +00:00
Tobias Hunger
d1344588ac
Environment: Simplify code
...
Change-Id: I385cfcbd585a615f4d42b24fd359db876dcf8147
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io >
2017-04-20 09:45:36 +00:00
Tobias Hunger
e0d0c15f36
Environment: De-noise
...
Change-Id: I26e10daf8427367b598b3bc3d95a4715ced1bbb0
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io >
2017-04-20 09:45:31 +00:00
Tobias Hunger
d5f242f3d6
Qmake: Do not warn when a compiler misses an .exe on windows
...
Task-number: QTCREATORBUG-17489
Change-Id: I8fbbf48b41b84adf8905d81ae21ded4ed2fd541d
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io >
2017-03-24 09:45:52 +00:00
Eike Ziller
5b47c653c1
Merge remote-tracking branch 'origin/4.1' into 4.2
...
Change-Id: Ibe4cd5522e1d87d56d2aae7a429282b41bf18647
2016-10-12 16:02:47 +02:00
Thomas Epting
2d2db8312d
MSVC: Ensure the correct MSVC installation folder is detected
...
With this change, tools like Bullseye Coverage that wrap cl.exe are
disregarded. Only true MSVC installation folders are considered now,
which allows using Creator+Qbs with such tools again.
Task-number: QBS-1000
Change-Id: Ifb49b3c032359aa4ba1bc702de0dc3d30d3b6075
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io >
2016-10-10 17:28:50 +00:00
Orgad Shaneh
670e54345c
Remove use of deprecated Qt algorithms
...
Change-Id: Ib35cffa2d5762874feea9b1d4df7f569c0e5f496
Reviewed-by: Eike Ziller <eike.ziller@qt.io >
2016-08-09 13:41:25 +00:00
Jarek Kobus
3f19774c0f
Set LC_MESSAGES instead of LC_ALL for parsing the error output
...
Task-number: QTCREATORBUG-15855
Change-Id: I05aa83acb356840cfdacc92796b190fb8754ada0
Reviewed-by: hjk <hjk@theqtcompany.com >
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com >
2016-04-11 12:36:29 +00:00
Tobias Hunger
f72370f20a
Update License according to agreement with Free Qt Foundation
...
* Update remaining files in src
Change-Id: I1896f17fcf34f71c3310c87899fb5171b8e4afb1
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com >
2016-01-19 15:59:41 +00:00
Daniel Teske
c2ef849997
Environment::prependOrSetLibrarySearchPath: Set DYLD_LIBRARY_PATH on OS X
...
Change-Id: I25a86189b9308f5ac557a705b32bb4986f1b4519
Task-number: QTCREATORBUG-14022
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com >
2015-09-03 10:51:28 +00:00
Oswald Buddenhagen
ddea5994f3
Merge remote-tracking branch 'origin/3.5'
...
Conflicts:
scripts/deployqtHelper_mac.sh
Change-Id: Ia0d5fef8c28e0bfb3b0c703ad3652e2d70d9e7d1
2015-07-17 17:25:26 +02:00
hjk
503e4a08cb
Utils: Properly terminate loop in Environment::diff()
...
The iterator needs to be tested against the end() of
the same container.
Change-Id: Ia4d208650d922d529ea074d4cd0eac9f4ac76b87
Reviewed-by: BogDan Vatra <bogdan@kde.org >
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com >
2015-07-17 13:23:57 +00:00
Daniel Teske
ca8b43f6c8
Cmake: Fix autodetection of cmake on Windows
...
By using some of the infrastructure in Utils::Environment. Due to
wanting to find all cmake executables in PATH and not just the
first one, we need some custom code.
Change-Id: If3161d712b9f6e659450a3d0647f83344e68ba5d
Task-number: QTCREATORBUG-14740
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com >
Reviewed-by: Benjamin Zeller <benjamin.zeller@canonical.com >
Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com >
2015-07-17 10:25:25 +00:00
hjk
7a675e2d64
Utils: Make Environment::diff() result not contain common entries
...
The resulting diff contained all the items that were equal as well.
Since the function was unused so far, no real harm was done,
but the function would be useful to have in the debugger.
Change-Id: Ia0b0cea79cfc3ee5442aaf7bb392121590c0f338
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com >
Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com >
2015-07-16 13:09:51 +00:00
Eike Ziller
3c85058694
Update License
...
Change-Id: I711d5fb475ef814a1dc9d2822740e827f3f67125
Reviewed-by: Alessandro Portale <alessandro.portale@digia.com >
2015-01-16 12:37:56 +01:00
Eike Ziller
ea27143239
Merge remote-tracking branch 'origin/3.2'
...
Conflicts:
src/libs/utils/ipaddresslineedit.cpp
src/libs/utils/logging.h
src/plugins/analyzerbase/AnalyzerBase.pluginspec.in
src/plugins/android/Android.pluginspec.in
src/plugins/android/androiddeploystep.cpp
src/plugins/android/androiddeploystep.h
src/plugins/android/androiddeploystepfactory.cpp
src/plugins/android/androiddeploystepwidget.cpp
src/plugins/android/androidpackagecreationfactory.cpp
src/plugins/android/androidpackagecreationstep.cpp
src/plugins/android/androidpackagecreationstep.h
src/plugins/android/androidpackagecreationwidget.cpp
src/plugins/android/androidpackagecreationwidget.h
src/plugins/android/javafilewizard.cpp
src/plugins/autotoolsprojectmanager/AutotoolsProjectManager.pluginspec.in
src/plugins/baremetal/BareMetal.pluginspec.in
src/plugins/bazaar/Bazaar.pluginspec.in
src/plugins/beautifier/Beautifier.pluginspec.in
src/plugins/bineditor/BinEditor.pluginspec.in
src/plugins/bookmarks/Bookmarks.pluginspec.in
src/plugins/clangcodemodel/ClangCodeModel.pluginspec.in
src/plugins/clangcodemodel/clanghighlightingsupport.cpp
src/plugins/clangcodemodel/clangsymbolsearcher.cpp
src/plugins/classview/ClassView.pluginspec.in
src/plugins/clearcase/ClearCase.pluginspec.in
src/plugins/cmakeprojectmanager/CMakeProjectManager.pluginspec.in
src/plugins/cmakeprojectmanager/cmakeeditorfactory.cpp
src/plugins/cmakeprojectmanager/cmakehighlighter.cpp
src/plugins/coreplugin/Core.pluginspec.in
src/plugins/cpaster/CodePaster.pluginspec.in
src/plugins/cppeditor/CppEditor.pluginspec.in
src/plugins/cppeditor/cppfilewizard.cpp
src/plugins/cpptools/CppTools.pluginspec.in
src/plugins/cpptools/cpphighlightingsupportinternal.cpp
src/plugins/cpptools/cppmodelmanagerinterface.cpp
src/plugins/cpptools/cppmodelmanagerinterface.h
src/plugins/cvs/CVS.pluginspec.in
src/plugins/debugger/Debugger.pluginspec.in
src/plugins/designer/Designer.pluginspec.in
src/plugins/diffeditor/DiffEditor.pluginspec.in
src/plugins/emacskeys/EmacsKeys.pluginspec.in
src/plugins/fakevim/FakeVim.pluginspec.in
src/plugins/genericprojectmanager/GenericProjectManager.pluginspec.in
src/plugins/git/Git.pluginspec.in
src/plugins/git/gitorious/gitorious.cpp
src/plugins/git/gitorious/gitorious.h
src/plugins/git/gitorious/gitoriousclonewizard.cpp
src/plugins/git/gitorious/gitorioushostwidget.cpp
src/plugins/git/gitorious/gitorioushostwidget.h
src/plugins/git/gitorious/gitorioushostwizardpage.cpp
src/plugins/git/gitorious/gitoriousprojectwidget.cpp
src/plugins/git/gitorious/gitoriousprojectwidget.h
src/plugins/git/gitorious/gitoriousprojectwizardpage.cpp
src/plugins/git/gitorious/gitoriousprojectwizardpage.h
src/plugins/git/gitorious/gitoriousrepositorywizardpage.cpp
src/plugins/git/gitorious/gitoriousrepositorywizardpage.h
src/plugins/glsleditor/GLSLEditor.pluginspec.in
src/plugins/glsleditor/glsleditorfactory.cpp
src/plugins/glsleditor/glslfilewizard.cpp
src/plugins/helloworld/HelloWorld.pluginspec.in
src/plugins/help/Help.pluginspec.in
src/plugins/imageviewer/ImageViewer.pluginspec.in
src/plugins/ios/Ios.pluginspec.in
src/plugins/macros/Macros.pluginspec.in
src/plugins/mercurial/Mercurial.pluginspec.in
src/plugins/perforce/Perforce.pluginspec.in
src/plugins/projectexplorer/ProjectExplorer.pluginspec.in
src/plugins/pythoneditor/PythonEditor.pluginspec.in
src/plugins/pythoneditor/pythoneditorwidget.cpp
src/plugins/pythoneditor/wizard/pythonfilewizard.cpp
src/plugins/qbsprojectmanager/QbsProjectManager.pluginspec.in
src/plugins/qbsprojectmanager/defaultpropertyprovider.cpp
src/plugins/qmakeprojectmanager/QmakeProjectManager.pluginspec.in
src/plugins/qmakeprojectmanager/profileeditorfactory.cpp
src/plugins/qmldesigner/QmlDesigner.pluginspec.in
src/plugins/qmljseditor/QmlJSEditor.pluginspec.in
src/plugins/qmljseditor/qmljseditorfactory.cpp
src/plugins/qmljstools/QmlJSTools.pluginspec.in
src/plugins/qmlprofiler/QmlProfiler.pluginspec.in
src/plugins/qmlprojectmanager/QmlProjectManager.pluginspec.in
src/plugins/qnx/Qnx.pluginspec.in
src/plugins/qtsupport/QtSupport.pluginspec.in
src/plugins/remotelinux/RemoteLinux.pluginspec.in
src/plugins/resourceeditor/ResourceEditor.pluginspec.in
src/plugins/resourceeditor/resourcewizard.h
src/plugins/subversion/Subversion.pluginspec.in
src/plugins/tasklist/TaskList.pluginspec.in
src/plugins/texteditor/TextEditor.pluginspec.in
src/plugins/texteditor/basetexteditor_p.h
src/plugins/texteditor/basetextmark.cpp
src/plugins/texteditor/codeassist/basicproposalitemlistmodel.h
src/plugins/texteditor/codeassist/defaultassistinterface.h
src/plugins/texteditor/codeassist/iassistproposalitem.cpp
src/plugins/texteditor/itexteditor.cpp
src/plugins/texteditor/itexteditor.h
src/plugins/texteditor/itextmark.cpp
src/plugins/texteditor/plaintexteditor.cpp
src/plugins/texteditor/plaintexteditor.h
src/plugins/texteditor/texteditoractionhandler.cpp
src/plugins/todo/Todo.pluginspec.in
src/plugins/updateinfo/UpdateInfo.pluginspec.in
src/plugins/valgrind/Valgrind.pluginspec.in
src/plugins/vcsbase/VcsBase.pluginspec.in
src/plugins/welcome/Welcome.pluginspec.in
src/plugins/winrt/WinRt.pluginspec.in
tests/auto/debugger/temporarydir.h
Change-Id: I254af8be8119fe9855287909e17d4b8ca9d2fc2f
2014-10-14 15:36:16 +02:00
Eike Ziller
8295b503be
License update
...
Change-Id: I3c22ef2685d7aa589f5d0ab74d693653a4c32082
Reviewed-by: Alessandro Portale <alessandro.portale@digia.com >
2014-10-09 11:41:44 +02:00
Eike Ziller
e7ea94b688
Merge remote-tracking branch 'origin/3.2'
...
Conflicts:
src/plugins/git/gerrit/gerritparameters.cpp
src/plugins/git/gerrit/gerritplugin.h
src/plugins/git/gitclient.cpp
Change-Id: Ie7719cfe45489b72d64260e729dcce3760f33bec
2014-07-17 12:42:04 +02:00
Orgad Shaneh
62d98daa58
Utils: Remove unneeded namespace qualifications
...
Change-Id: Iacab8410ab4d3b63f96e7541b450e3cc729ab662
Reviewed-by: Daniel Teske <daniel.teske@digia.com >
Reviewed-by: hjk <hjk121@nokiamail.com >
2014-07-16 14:15:09 +02:00
Orgad Shaneh
71b56d2b9c
Some QString -> FileName transformation
...
Change-Id: I4a8a8f68bb1e52750380218793ec3029b488c01f
Reviewed-by: Daniel Teske <daniel.teske@digia.com >
2014-07-16 12:44:01 +02:00
Daniel Teske
e804700bcf
Utils::Environment support magic windows environment variables
...
The cmd shell on windows sets environment variables starting with
a '='.
Task-number: QTCREATORBUG-8716
Change-Id: I3bb5c15b543339f41a4f895c81ed55ac2701b95c
Reviewed-by: Daniel Teske <daniel.teske@digia.com >
2014-03-19 16:57:06 +01:00
Tobias Hunger
85d3cc84c7
Environment: Don't search the same directory repeatedly
...
Do not search the same directory repeatedly when looking for binaries.
Change-Id: I97a722cfa689224cb85cdadfd02e283247f96325
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
Reviewed-by: Daniel Teske <daniel.teske@digia.com >
2014-03-05 16:13:10 +01:00
Robert Loehning
746c5d8863
Incremented year in copyright info
...
Change-Id: Ib5423fdd064e4546f848c0b640b0ed0514c26d3a
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com >
Reviewed-by: Kai Koehne <kai.koehne@digia.com >
2014-01-08 08:29:47 +01:00
Christian Kandeler
02105ddf62
Utils: Untie the Environment class from the host system.
...
It is used e.g. in the RemoteLinux plugin
(via ProjectExplorer::EnvironmentAspect) and should
therefore not assume that it's meant for a host system process.
Change-Id: I9f44f862f133579b65951e43fc1e654c425fd3d7
Reviewed-by: Daniel Teske <daniel.teske@digia.com >
2013-08-16 10:22:30 +02:00
Christian Kandeler
6d68422026
Utils: Introduce new class OsSpecificAspects.
...
This is basically a generalization of HostOsInfo for
a system that might not be the host system. HostOsInfo
is now implemented in terms of the new class.
Prospective use case: Untie Utils::Environment from
the host system.
Change-Id: If333b96674652109fcb0ad79f75aaaf5e86e17e3
Reviewed-by: hjk <hjk121@nokiamail.com >
Reviewed-by: Daniel Teske <daniel.teske@digia.com >
2013-08-16 08:05:41 +02:00
Tobias Hunger
f5b112c6e0
Environment: Mark hasKey(...) method as const
...
Change-Id: I8f355e6ead9136741af199d08935a0f3e7446110
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-06-11 18:16:42 +02:00
Orgad Shaneh
05b3903b6a
Environment: Move isEmpty() test to beginning
...
No reason to initialize a QFileInfo for an empty string
Change-Id: I537fc98e1a5dd2283db9e5e60717eb8873c02b13
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com >
Reviewed-by: Daniel Teske <daniel.teske@digia.com >
2013-05-17 15:13:24 +02:00
Orgad Shaneh
a846605870
Environment: Support absolute file path without extension on Windows
...
Change-Id: I86045a4cd8a279ed0ee08730a6e8da2672884b09
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com >
2013-05-17 10:01:07 +02:00
Friedemann Kleint
aebf19eabd
Clean headers in Utils.
...
Forward-declare QGraphicsOpacityEffect in DetailsButton,
QProcessEnvironment in Environment, QFileInfo in fileutils,
QUrl in IWelcomePage, FancyLineEdit in PathChooser and
remove unneeded headers.
Change-Id: I7d5f273530dd2059bbdaf0899f0a3bc7e49e8482
Reviewed-by: hjk <hjk121@nokiamail.com >
2013-03-19 17:19:26 +01:00
Friedemann Kleint
056e8aa4c2
Fix some Krazy warnings about non-const ref iterator.
...
Change-Id: I1c78f5f5a7174002cd25bea109d5fe795530cdb5
Reviewed-by: Daniel Teske <daniel.teske@digia.com >
2013-03-11 17:31:07 +01:00
Oswald Buddenhagen
1fda2111d4
Merge remote-tracking branch 'origin/2.6'
...
Conflicts:
src/plugins/autotoolsprojectmanager/AutotoolsProjectManager.pluginspec.in
src/plugins/debugger/qtmessageloghandler.cpp
src/plugins/debugger/qtmessagelogwindow.cpp
src/plugins/madde/maemodeployconfigurationwidget.cpp
src/plugins/qmldesigner/components/integration/designdocumentcontroller.cpp
src/plugins/qmldesigner/designercore/include/widgetqueryview.h
src/plugins/qmldesigner/designercore/metainfo/metainfoparser.cpp
src/plugins/qmldesigner/designercore/model/modelnodecontextmenu.cpp
src/plugins/qmldesigner/designercore/model/modelnodecontextmenu.h
src/plugins/qmlprojectmanager/qmlprojectapplicationwizard.cpp
src/plugins/qnx/bardescriptormagicmatcher.h
src/plugins/qt4projectmanager/profilekeywords.cpp
src/plugins/remotelinux/deployablefilesperprofile.cpp
src/plugins/remotelinux/deployablefilesperprofile.h
src/plugins/remotelinux/deploymentinfo.cpp
src/plugins/remotelinux/deploymentsettingsassistant.cpp
src/plugins/remotelinux/profilesupdatedialog.cpp
tests/auto/icheckbuild/ichecklib.cpp
tests/auto/icheckbuild/parsemanager.cpp
tests/auto/icheckbuild/parsemanager.h
Change-Id: Ie465a578446a089e1c502d1cb1096e84ca058104
2013-01-31 16:25:33 +01:00
Robert Loehning
298531e370
Incremented year in copyright info
...
Change-Id: Ic6a9ff0359625021ebc061d22db6811814534205
Reviewed-by: Kai Koehne <kai.koehne@digia.com >
2013-01-29 16:27:03 +01:00
Tobias Hunger
92481f1bbb
Environment: Add method to convert to QProcessEnvironment
...
Change-Id: Id5e918183f26db568745261d0a1eee64ab0c3c29
Reviewed-by: Daniel Teske <daniel.teske@digia.com >
2013-01-15 15:06:09 +01:00
Daniel Teske
0cd5e277c1
Utils::Environment: Use systemEnvironment from QProcessEnvironment
...
The QProcessEnvironment::systemEnvironment() uses the function
GetEnvironmentStringsW(), which allows for retrieving values that can
not be encoded in the current locale.
Also see QTCREATORBUG-8184 for a related bug.
Change-Id: Id7c9b8c881db7ba2efd13f2fb241fbbdb9d2a7eb
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com >
Reviewed-by: Daniel Teske <daniel.teske@digia.com >
2013-01-14 15:03:12 +01:00
Orgad Shaneh
55948453cd
Utils: Compile with QT_NO_CAST_FROM_ASCII
...
Change-Id: Id600156bb3cef3aeea5d8b4d6bf879e77d755710
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com >
2012-12-07 13:46:11 +01:00
Nikolai Kosjar
a281dfd4b1
C++: Tools: Compile with QT_NO_CAST_FROM_ASCII
...
Change-Id: I9de2c7fe51fea7844813cecb7c68f9a85a8e1e62
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com >
2012-12-06 10:56:10 +01:00
Eike Ziller
6fd252b0a5
Merge remote-tracking branch 'origin/2.6'
...
Conflicts:
share/qtcreator/qml/qmlpuppet/commands/endpuppetcommand.cpp
share/qtcreator/qml/qmlpuppet/commands/endpuppetcommand.h
src/plugins/debugger/qtmessageloghandler.cpp
src/plugins/debugger/qtmessageloghandler.h
src/plugins/debugger/qtmessagelogwindow.cpp
src/plugins/madde/maemodeployconfigurationwidget.cpp
src/plugins/madde/maemodeployconfigurationwidget.h
src/plugins/remotelinux/deployablefilesperprofile.cpp
src/plugins/remotelinux/deployablefilesperprofile.h
src/plugins/remotelinux/deploymentinfo.cpp
src/plugins/remotelinux/deploymentinfo.h
src/plugins/remotelinux/deploymentsettingsassistant.cpp
src/plugins/remotelinux/profilesupdatedialog.cpp
src/plugins/remotelinux/remotelinuxdeploymentdatamodel.h
tests/auto/icheckbuild/ichecklib.cpp
tests/auto/icheckbuild/ichecklib_global.h
tests/auto/icheckbuild/parsemanager.cpp
tests/auto/icheckbuild/parsemanager.h
tests/manual/ssh/tunnel/tunnel.h
Change-Id: I04d7761df6bd936ad00e0547974284c967d39580
2012-10-05 21:20:50 +02:00
hjk
386ca7c8dd
Adjust license headers
...
Change-Id: Ice592c6de9951ee3b2c4cb52ed0bb3b6770e0825
Reviewed-by: Eike Ziller <eike.ziller@digia.com >
2012-10-05 17:12:56 +02:00
Oswald Buddenhagen
e730e2bb8a
Merge remote-tracking branch 'gerrit/2.6'
...
Conflicts:
src/libs/utils/environment.cpp
src/plugins/android/androidtoolchain.cpp
src/plugins/projectexplorer/gcctoolchain.cpp
src/plugins/qt4projectmanager/qt4buildconfiguration.cpp
src/plugins/qtsupport/baseqtversion.cpp
src/shared/proparser/qmakeevaluator.cpp
Change-Id: I554e96445a4d2b9ba0cc173ecd766091ee921aa2
2012-09-12 17:27:37 +02:00
Daniel Teske
69697c5aff
Fix searchInPath
...
Change-Id: I38f27a36891210d99f576fd7f57cd44854a14d8a
Reviewed-by: Daniel Teske <daniel.teske@nokia.com >
2012-09-11 16:39:25 +02:00
Daniel Teske
d02d67d58c
Fix searchInPath in various ways
...
Search in path order not in extension order. That is prefer exec.bat to
exec.exe if exec.bat is earlier in the path.
On Windows only append extensions if the executable has none. (That's
how the shell works.)
Change-Id: I4774f47e5d8e71efccbce49f3facc360eb2a193e
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com >
2012-09-11 16:02:24 +02:00
Christian Kandeler
3c6f76d16c
HostOsInfo: Add some more useful abstractions.
...
Namely:
- path list separator
- executable suffix
- file name case sensitivity
All of these are duplicated in various places in the current Creator
code.
Change-Id: I86eb4662fa3c2071759bd728cae1aaf7111ae686
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com >
2012-09-05 13:54:48 +02:00
Christian Kandeler
b7a1e87cf4
Utils: Add user name accessor to the Environnment class.
...
Change-Id: Ic67381ab185525552eef948af602d00d3800b653
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com >
2012-08-31 19:26:16 +02:00
Christian Kandeler
e669f05406
Utils: Introduce HostOsInfo class.
...
The class' member functions are intended to be used
instead of the Q_OS_* macros in all contexts where
the latter are not syntactically required.
This lowers the likelihood of changes made on one
platform breaking the build on another, e.g. due to
the code model missing symbols in #ifdef'ed out code
when refactoring.
Change-Id: I4a54788591b4c8f8d589b8368a6c683d4155c9fa
Reviewed-by: hjk <qthjk@ovi.com >
2012-08-27 17:00:03 +02:00
Eike Ziller
e0e8cf3ada
Contact -> qt-project.org
...
Change-Id: I7134d7de30bcf9f9dcfad42520dd45ee083a852d
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com >
2012-07-19 13:23:21 +02:00
Daniel Teske
f3d49692eb
Sanitize environment for buildsteps
...
Remove the paths that qtcreator.sh adds to LD_LIBRARY_PATH.
The linker uses LD_LIBRARY_PATH as a fall-back to find libraries,
leading to confussing error messages.
Task-number: QTCREATORBUG-7285
Change-Id: I1a2ba86e39f4c417b192d4faea4714165fdb4aac
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com >
2012-05-02 12:21:01 +02:00
Tobias Hunger
e9e804888e
Win: Avoid long creator startup times with '\' in PATH
...
Task-number: QTCREATORBUG-6501
Change-Id: Idfe050486db2d486e895bf6670cad3084871c44a
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com >
2012-03-22 11:31:42 +01:00