summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/gcctoolchain.cpp
Commit message (Collapse)AuthorAgeFilesLines
* GccToolChain: Redetect ABIs if the targetAbi is invalidTobias Hunger2016-09-121-6/+7
| | | | | | | | | Fixes issues with broken ABIs in the settings, like you get when going from QtCreator 4.2 to 4.1 and back. Task-number: QTCREATORBUG-16823 Change-Id: Ibcab5d3bc8255dfeb647e512f5db1d94155f9d9a Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Gcc: Cache macros after arguments are cleaned upTobias Hunger2016-07-211-5/+6
| | | | | | Task-number: QTCREATORBUG-16422 Change-Id: I0b8bd7cbaf01be98ff8032dd53208db1a1919ed3 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* ToolChains: Trigger ToolChainManager::toolChainChanged signalTobias Hunger2016-07-061-0/+9
| | | | | | | | | Trigger ToolChainManager::toolChainChanged signal when something changes. This was apparently missing in quite a few places of some of the tool chains. Change-Id: Ic94c6559e6267f4ff22dc74cc5b0865fb7aeac63 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Toolchain: Fix -std=gnu++XX gcc/clang option parsingAntoine Poliakov2016-06-201-1/+7
| | | | | | | | | | | | Now -std=gnu++XX is handled like -std=c++XX In particular, gnu++1y is correctly mapped to StandardCxx14 instead of StandardCxx11, and gnu++14, gnu++17 and gnu++1z are recognized. This makes clang static analyzer plugin for for C++14/17 code bases. Task-number: QTCREATORBUG-16290 Change-Id: I2018b9a365bb0a9cae7573b4e4f74deb830a7758 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io> Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* Don't show wait cursor when doing lots of fast operationsBogDan Vatra2016-06-101-1/+1
| | | | | | Change-Id: I430530d78cadb09a2445ad146a7c644414e64587 Reviewed-by: hjk <hjk@theqtcompany.com> Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* Fix up QProcess::waitForFinished()Tobias Hunger2016-05-111-32/+8
| | | | | | | | waitForFinish returns false if the process is no longer running at the time of the call. Handle that throughout the codebase. Change-Id: Ia7194095454e82efbd4eb88f2d55926bdd09e094 Reviewed-by: hjk <hjk@theqtcompany.com>
* Projectexplorer: Modernize codebaseTobias Hunger2016-04-151-9/+7
| | | | | | Change-Id: I4793b58aa77bcd46af99f8b843c0f7439cdc9269 Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com> Reviewed-by: Vikas Pachdha <vikas.pachdha@theqtcompany.com>
* Merge remote-tracking branch 'origin/4.0'Eike Ziller2016-04-121-0/+2
|\ | | | | | | | | | | | | Conflicts: src/plugins/qmldesigner/components/propertyeditor/propertyeditorqmlbackend.cpp Change-Id: I6ae2d37290643d69390f679a54f7596782f3d97f
| * ProjectExplorer: Ensure valid target triple for known gcc toolchainsNikolai Kosjar2016-04-061-0/+2
| | | | | | | | | | Change-Id: I4c51f05fcef727505ba0df252d1c4b71e6dc1e6d Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* | Set LC_MESSAGES instead of LC_ALL for parsing the error outputJarek Kobus2016-04-111-2/+1
|/ | | | | | | Task-number: QTCREATORBUG-15855 Change-Id: I05aa83acb356840cfdacc92796b190fb8754ada0 Reviewed-by: hjk <hjk@theqtcompany.com> Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* ProjectExplorer: Retain original target triple for gcc toolchainsNikolai Kosjar2016-03-301-12/+36
| | | | | | | The target triple will be used by the Clang Static Analyzer. Change-Id: Ibf33fef286a4d3ad3f40be4d6d5c9f35881d3d46 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* ProjectExplorer: Use Qt5-style connectsOrgad Shaneh2016-02-011-4/+7
| | | | | | | The heavy lifting was done by clazy. Change-Id: I619db09a79760186b72e7662490ed1205155c1a7 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* CppTools: Remove all references to the tool chain in the project partMarco Bubke2016-02-011-35/+29
| | | | | | Change-Id: I5fd55eadf94c8a185c2082b93b27bf4432e5cabf Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com> Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* Update License according to agreement with Free Qt FoundationTobias Hunger2016-01-191-17/+12
| | | | | | | * Update files in src/plugins Change-Id: Ia5d77fad7d19d4bb3498e78661982f68729adb22 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* Consistently use Utils::FileNameListTobias Hunger2015-11-161-22/+22
| | | | | | | Consistently use Utils::FileNameList in favor of QList<Utils::FileName> Change-Id: Iafbb466c882bfd91c25c9e78f107d401bfdb6d55 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
* ToolChains: Check typeId first before doing expensive checksTobias Hunger2015-10-301-7/+17
| | | | | | | This should speed up toolchain auto-detection a lot. Change-Id: Id732ed359a4c9de1d49cb658cc91c2e7c9d1b7a6 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* ToolChainManager: Refactor toolchain restorationTobias Hunger2015-10-271-1/+2
| | | | | | | | | | | | | | | This should be simpler to follow now. Fix autodetection to return not only the newly detected toolchains, but also those that are re-detected (taking their definition from the alreadyKnown list passed to the autodetect method where possible). This avoids running lots of toolchains during start-up, but still enables us to fix QTCREATORBUG-12751 Task-number: QTCREATORBUG-12751 Change-Id: Ie74e7cffb2b014a6132cc8559db232397344f2f1 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
* MingwToolChain: Avoid double call of hostAbi()Orgad Shaneh2015-10-141-2/+2
| | | | | Change-Id: Ie10bf134841b747b219756f6b986fe49eb443f52 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* MingwToolChain: Do not use uninitialized valueTobias Hunger2015-10-141-1/+1
| | | | | Change-Id: I0b57382e75b5cc71018009907e1b8e9bfdd5e238 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* ProjectExplorer: Avoid execution of g++ on startupOrgad Shaneh2015-10-141-14/+17
| | | | | Change-Id: I53719f58714b3dd0fcf21d8c7b1deb8d86190408 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* ToolChains: Fix theoretically possible null pointer accessTobias Hunger2015-10-141-1/+1
| | | | | | | | This can not be triggered right now, but somebody might run into this later. Change-Id: Ibc635e7dca1db7ab77376b5373db67dcdd2bb46e Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* ToolchainFactory: Remove unused typeidTobias Hunger2015-10-081-4/+0
| | | | | Change-Id: Id13787d549312251fbe806076b9ad594ab16c2d2 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
* Utils: Rename PathChooser::changed() signal.Christian Kandeler2015-09-031-1/+1
| | | | | | | | | The name is overly generic, particularly with a pathChanged() signal also present. Rename to "rawPathChanged", which adequately describes the semantics. Change-Id: Ia62b8b0a97a794cb6d5ad6b8ce0abcd36b5f5cdb Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
* Merge remote-tracking branch 'origin/3.5'Eike Ziller2015-09-011-1/+2
|\ | | | | | | Change-Id: Iebaabfc2f724cd493b7cab025406531cea5cd2dc
| * GccToolChain: Support -D fooDaniel Teske2015-08-311-1/+2
| | | | | | | | | | | | Change-Id: I733e7d308720b23c1cf4226335cc96ad6d89feb9 Task-number: QTCREATORBUG-14792 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* | ToolChainFactories: Remove some code that is not necessaryTobias Hunger2015-07-141-59/+2
| | | | | | | | | | Change-Id: I2cd3940960bad385bc2bf70959df57847dcd101f Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
* | Rename toolchain type constants in ProjectExplorerTobias Hunger2015-07-141-12/+12
| | | | | | | | | | Change-Id: I56f5b7373846bb091456c050eb1ff3495ca2dd72 Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
* | ToolChain: Get rid of type() in favor of typeId()Tobias Hunger2015-07-141-20/+0
| | | | | | | | | | Change-Id: I8fc68c266acb55a7c3e014697a7b526784914f7a Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
* | ToolChainFactory: Rename id() to typeId()Tobias Hunger2015-07-141-4/+4
| | | | | | | | | | | | | | | | This is the same as ToolChain::typeId(), so it should have the same name. Change-Id: Ifd344825be801aff3dab96bfe924a1984a77bbee Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
* | ToolChainFactory: Add typeIdFromMap and use it in factoriesTobias Hunger2015-07-141-5/+4
| | | | | | | | | | Change-Id: Id3254bcb3a5c426540bbab49dc61545031af6826 Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
* | ToolChain: Introduce typeId() and shorten id()Tobias Hunger2015-07-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | Split up the toolchain id() into a part that is unique per type of toolchain and call that typeId(). Leave the part that is unique per toolchain in id(). Add some mapping code for compatibility old settings. Change-Id: I770881b3274ac5224edc8165b484fec6b0d4d2c6 Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
* | GccToolChain: Use default copy constructorTobias Hunger2015-07-091-10/+0
| | | | | | | | | | | | | | This copies members that were previously forgotten. Change-Id: I363e8c55cfb20266c744eb614b217e3905cd91a2 Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
* | ToolChain: Turn id into a QByteArrayTobias Hunger2015-07-091-10/+10
|/ | | | | | | | That should take a couple of bytes less to store. Make sure this change is invisible to the configuration files. Change-Id: If5e73b52493c9164de9e342021d8153d274b350f Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
* Toolchains: Add C++98 as a language standard.Christian Kandeler2015-04-141-0/+1
| | | | | | | | | | This was curiously missing from the CompilerFlag enum, so e.g. setting "QMAKE_CXXFLAGS += -std=c++98" in a .pro file did not have the desired effect on higher-level code such as the code model. Change-Id: Ia4323b699a2ccea9d3cbde10b05affe87d955277 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com> Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* Merge commit '3c85058694ee2e41658d17f524fb48f0b187d2fe'Eike Ziller2015-02-121-6/+6
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/libs/utils/tooltip/tipcontents.cpp src/libs/utils/tooltip/tipcontents.h src/plugins/android/androiddeployqtstep.cpp src/plugins/baremetal/baremetalconstants.h src/plugins/baremetal/baremetaldevice.cpp src/plugins/baremetal/baremetaldevice.h src/plugins/baremetal/baremetaldeviceconfigurationwidget.cpp src/plugins/baremetal/baremetaldeviceconfigurationwidget.h src/plugins/baremetal/baremetaldeviceconfigurationwizard.cpp src/plugins/baremetal/baremetaldeviceconfigurationwizardpages.cpp src/plugins/baremetal/baremetaldeviceconfigurationwizardpages.h src/plugins/baremetal/baremetalplugin.cpp src/plugins/baremetal/baremetalplugin.h src/plugins/baremetal/baremetalruncontrolfactory.cpp src/plugins/baremetal/baremetalruncontrolfactory.h src/plugins/cppeditor/cppcodemodelinspectordialog.cpp src/plugins/cppeditor/cppdoxygen_test.cpp src/plugins/cppeditor/cppdoxygen_test.h src/plugins/debugger/breakpointmarker.cpp src/plugins/debugger/debuggeritemmodel.cpp src/plugins/debugger/debuggeritemmodel.h src/plugins/debugger/loadcoredialog.cpp src/plugins/genericprojectmanager/cppmodelmanagerhelper.cpp src/plugins/projectexplorer/addnewmodel.cpp src/plugins/projectexplorer/addnewmodel.h src/plugins/projectexplorer/jsonwizard/jsonfieldpage.cpp src/plugins/qmlprofiler/abstracttimelinemodel.cpp src/plugins/qmlprofiler/abstracttimelinemodel.h src/plugins/qmlprofiler/notesmodel.cpp src/plugins/qmlprofiler/qml/CategoryLabel.qml src/plugins/qmlprofiler/qml/MainView.qml src/plugins/qmlprofiler/qml/Overview.js src/plugins/qmlprofiler/qml/Overview.qml src/plugins/qmlprofiler/qml/TimeDisplay.qml src/plugins/qmlprofiler/qml/TimeMarks.qml src/plugins/qmlprofiler/qmlprofilertimelinemodelproxy.cpp src/plugins/qmlprofiler/sortedtimelinemodel.cpp src/plugins/qmlprofiler/sortedtimelinemodel.h src/plugins/qmlprofiler/timelinemodelaggregator.cpp src/plugins/qmlprofiler/timelinemodelaggregator.h src/plugins/qmlprofiler/timelinerenderer.cpp src/plugins/qmlprofiler/timelinerenderer.h src/plugins/qmlprojectmanager/QmlProjectManager.json.in src/plugins/texteditor/findinfiles.cpp src/plugins/vcsbase/vcsconfigurationpage.cpp src/shared/qbs src/shared/scriptwrapper/interface_wrap_helpers.h src/shared/scriptwrapper/wrap_helpers.h tests/auto/qmlprofiler/abstracttimelinemodel/tst_abstracttimelinemodel.cpp tests/system/suite_debugger/tst_debug_empty_main/test.py tests/system/suite_debugger/tst_qml_js_console/test.py tests/system/suite_debugger/tst_qml_locals/test.py Change-Id: I67540b648f8b162496f4aa606b04d50c7c9125c6
| * Update LicenseEike Ziller2015-01-161-6/+6
| | | | | | | | | | Change-Id: I711d5fb475ef814a1dc9d2822740e827f3f67125 Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
* | ProjectExplorer: Remove unneeded qualificationsOrgad Shaneh2015-02-061-10/+10
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | Mostly done using the following ruby script: Dir.glob('**/*.cpp').each { |file| next if file =~ %r{src/shared/qbs|/qmljs/} s = File.read(file) s.scan(/^using namespace (.*);$/) { ns = $1 t = s.gsub(/^(.*)\b#{ns}::((?!Const)[A-Z])/) { |m| before = $1 char = $2 if before =~ /"|\/\/|\\|using|SIGNAL|SLOT|Q_/ m else before + char end } if t != s puts file File.open(file, 'w').write(t) end } } Change-Id: I1d05d48b23f44e3d589cc2a790803714786b57d2 Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com> Reviewed-by: hjk <hjk@theqtcompany.com>
* ProjectExplorer: Normale newlines of gcc outputNikolai Kosjar2014-10-311-2/+4
| | | | | | | | ...otherwise the ClangCodeModel might pass on "-DHELLO=1\r" if MingwToolChain is used. Change-Id: I073ba5409822fed75ee30079ef985170acf98f13 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* GccToolchain: Fix language variant detectionTobias Hunger2014-10-241-6/+7
| | | | | | | | We got new C++ variants and need to adapt the logic to handle those. Change-Id: I507628de8762f92894cbdb74244e915ea0ac4c64 Reviewed-by: Daniel Teske <daniel.teske@digia.com> Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* Merge remote-tracking branch 'origin/3.2'Eike Ziller2014-10-141-7/+8
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * License updateEike Ziller2014-10-091-7/+8
| | | | | | | | | | Change-Id: I3c22ef2685d7aa589f5d0ab74d693653a4c32082 Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
* | C++: remove C/C++ distinction from ProjectPart fields.Erik Verbruggen2014-09-161-1/+7
| | | | | | | | | | | | | | | | | | | | .. because they now hold only files for a single language+extensions combination. Task-number: QTCREATORBUG-11709 Task-number: QTCREATORBUG-12818 Change-Id: If294f6de07d60126be733d98de12b89b8af3efce Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
* | Do not use deprecated Qt functionality.Christian Kandeler2014-08-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace all* remaining deprecated Qt 4 functions with their Qt 5 counterparts. This means we no longer need to define the QT_DISABLE_DEPRECATED_BEFORE macro. This patch is relatively small because most source-compatible changes of this kind have been done before. * The one exception is the QmlDesigner, which uses QWeakPointer in a deprecated way all over the place. Change-Id: Id4b839c6685f3b5bdf2b89137f95231758ec53c7 Reviewed-by: Eike Ziller <eike.ziller@digia.com> Reviewed-by: hjk <hjk121@nokiamail.com>
* | Use Qt 5's QStringList::join(QChar)hjk2014-08-251-1/+1
| | | | | | | | | | | | | | Less typing and less cycles than join(QString) where appropriate Change-Id: I6ebc0e17e4d7fd9845864dd95b7de4ba4dad6906 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* | ToolChain: Do not rerun compiler when creating a widget for itTobias Hunger2014-07-211-1/+0
| | | | | | | | | | | | | | I see no reason why we need to do that. Change-Id: Ie868063dc35bc8d56f066a4e9826b471773fe0fc Reviewed-by: Daniel Teske <daniel.teske@digia.com>
* | ToolChain: Do not run compiler when setting up a toolchainTobias Hunger2014-07-211-2/+17
| | | | | | | | | | | | | | | | | | | | | | | | Do not rerun the compiler when setting up a new tool chain. All the necessary data is already there, so there is no need to re-get it. This reduces the number of gcc runs at startup from 10 to 6 in my settup (g++ and clang available on Linux). Change-Id: Id02e79f52ab7a69d5edf84b711ab148d7bc43f21 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
* | Even more algorithm usage in ProjectExplorerDaniel Teske2014-07-161-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | Add Utils::transform and anyOf that take a member function pointer. Remove bestElementOr it's unused. Use declval<T> in transform's return type, because msvc does evaluate T() and for types that don't have simple constructor this fails. Add std::remove_reference since decltype returns a reference for lvalues. Change-Id: I22248b226748eeb27af0d300182d574438d7f756 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* | Some QString -> FileName transformationOrgad Shaneh2014-07-161-7/+7
|/ | | | | Change-Id: I4a8a8f68bb1e52750380218793ec3029b488c01f Reviewed-by: Daniel Teske <daniel.teske@digia.com>
* Unify read-only path choosers in Build & Run settingsOrgad Shaneh2014-07-031-1/+1
| | | | | Change-Id: I56725255380eed83de6dd1c0f07d4b6e63e48b75 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* ProjectExplorer: Remove unused local variableOrgad Shaneh2014-05-061-1/+0
| | | | | Change-Id: I268636f4f9c622868a94c68cc1d7be411899bfac Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>