In debug mode. Mixing debug and release is not supported in all
configurations, so just enable code optimization flags in debug.
Change-Id: Iafa8c49825e02c35a9998bf84832710964ae7601
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Show an info bar entry with a one click solution to setup a language
server if the python which is most likely to be used for this file
has an installed language server.
Change-Id: Ia52bb043b543699527740951f68cc6be546833df
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
When dragging a timeline bar item or one of its edges, confine edges
so that they do not go beyond the timeline limits.
Task-number: QDS-1074
Change-Id: I029cfbe02cf07d1f9e5e5119283d2b94fca2b2f6
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
designerintegrationv2 needs to depend on Qt5::Widgets so that it will
get the Widgets PCH, which will not cause linker errors at Designer.dll
Change-Id: Id8a4847c5bf3fc235ca980282fb6497acc84b66f
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Tweak handling for LLDB provided by Xcode 11 slightly,
as the state handling of the process went astray when
using the debugger Python 3 based.
Task-number: QTCREATORBUG-22955
Change-Id: Ie070049d210a570993507ed940d141237aab89ce
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Allow detection of gcc compilers with .exe suffix.
Change-Id: I15e1050e872be0bac8934ecd4aa81914644948b5
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
As of commit aaa8beab88, template files for XML wizards go through
Utils::TemplateEngine::processText and thus need to have their
backlashes escaped.
Fixes: QTCREATORBUG-22945
Change-Id: I33aaa73b66be065f0ba3ed9b45cb8c9558f70d31
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
A bit closer to where the functions are used. No real change.
Change-Id: Icbad68bd31d85caa59980316537ee532faf2d7ef
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
std::string::size is returning byte-count, not character count, in
contrast to QString::size. Do not mix.
Fixes: QTCREATORBUG-22970
Change-Id: I865ca0c13a08fb500b6526ba6ee3207359e75107
Reviewed-by: hjk <hjk@qt.io>
It's owned by the HelpWidget now, and should be accessed through that.
Task-number: QTCREATORBUG-20558
Change-Id: I99118bb966922e6b4d356cf892d7604365357785
Reviewed-by: hjk <hjk@qt.io>
After resizing/zooming scroll to the position of the top element before
the resize. This allows us to remove the hack that delays jumping to the
anchor of an URL as well.
Fixes: QTCREATORBUG-4756
Change-Id: Ife29ba1cd0ad60448052b4d06a5dce7cc6bdf4ed
Reviewed-by: hjk <hjk@qt.io>
The arguments passed to libclang were only passed to std::cerr,
which and never reached Windows logging.
On Windows the clang*.exe have a qMessageHandler which forwards
the message to windows logging and std::cerr.
Change-Id: I97b0856ae2b3f44a991c9d292a15db9f3b071a0d
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
... on runcontrol creation to prevent later access. Adapt some users.
There are more to come.
Change-Id: I2a3fe5eea0ada4eff7d08b79a6f49694e6962c8a
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Qbs has QtScript nowadays bundled as submodule. Use it
for qmake builds as well if the used Qt does not have QtScript
present.
Change-Id: I4eabdbe7ea502953b0213ad39c8b72220f2d966f
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Wizard authors can now provide a persistence key to values where that
makes sense.
For now, we make use of it for the build system type in all wizards and
the minimum Qt version as well as the virtual keyboard settings in the
QtQuick wizards.
Fixes: QTCREATORBUG-16657
Change-Id: I179930665bd163b1cf198467ab8b43bc72f8ec4a
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
These are the arguments provided by the user. Full make argument may
contain also some automatic ones, such as job count and Makefile.
Change-Id: Ief03623daa9c9bbc54ca6ad2dcf1492510fe531b
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
If the project has MAKEFILE = Makefile.$$VAR it wasn't reflected when
VAR was set in Qmake arguments.
Change-Id: Ieb1cbfee9a0def89a5c9b6259e8acc87751b0f3a
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
The possibility to store passwords was removed in
Creator 4.9.
Change-Id: I21e417041077f15fbb364b64f4a5c4e62e92f46a
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This adds the possibility to configure language servers
from other plugins.
Change-Id: I33c7d637ddd73dcfc0d02c366b8b9749ac1c2b98
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
After settings are applied in the manager make sure to assign all
open documents to the newly created clients if the document filter
accepts them.
Change-Id: I30e06e37bc4fde0bc7bab34a2de564a7df043edf
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Amends 5273ef2a8a
Use cases mentioned there should still work.
Fixes: QTCREATORBUG-22938
Fixes: QTCREATORBUG-22286
Change-Id: Ie7bb6b7ea6d05a94cbeeb5b8021dc638548778d9
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
(cherry picked from commit e9c0ba9997)
Reviewed-by: Eike Ziller <eike.ziller@qt.io>