... after converting the enum-based parser selection to
a string-based system. The upgrade path has been available
for four major Creator versions.
Introduced by 2ff642d8e4
Change-Id: I0c7ef9794f56d9a1a663cc4bd4a7eeacf3847834
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
QMenu::addMenu does not take ownership, and QMenu::popup doesn't delete
the menu either.
Change-Id: Ia11170db6538c1019d06b3fd84bb79b1241b0b9d
Reviewed-by: hjk <hjk@qt.io>
Change-Id: I6f5a5eb2dc9f12691e14ff4dac3da5aa732d96ab
Reviewed-by: André Hartmann <aha_1980@gmx.de>
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
We did set our own delegate, but QCompleter overrode that with its own
when setting the popup widget. So we have to override it after setting
the popup widget.
Also fix the icon painting on HiDPI screens.
Task-number: QTCREATORBUG-16037
Change-Id: Ibd06e945c75f2bceb02c0b5a23a9810d83b4b5e1
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
All the functionality to guess local files from remote paths is already
there.
Change-Id: I5bffeb0f126efef99edbaf152e1a5e9e1d244699
Task-number: QTCREATORBUG-12008
Reviewed-by: hjk <hjk@qt.io>
This still require each backends to connect to the signal and pass
their host url like this:
connect(this, &NetworkProtocol::authenticationRequired,
this, [this](QNetworkReply *reply,
QAuthenticator *authenticator) {
requestAuthentication(QUrl(QString::fromLatin1(PASTEBIN_BASE)),
reply, authenticator);
});
Change-Id: Ia07e74f390b13f39c4f50c7514af03e9a39ac168
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
If cpaster is used from command line and KDE
paster is used as protocol we have no appropriate
way to specify the credentials yet.
Emit a signal to avoid letting the application
wait infinitely.
Change-Id: I7895d5211f1573fae0f69d2ea76532dec53b8d98
Reviewed-by: Filipe Azevedo <filipe.azevedo@kdab.com>
Reviewed-by: hjk <hjk@qt.io>
Adjust to changed message - otherwise we get millions
of fails on macOS. Amends 0f2febd784.
Change-Id: If9a4c453ae952e708c873c4b11f550aa6632bbd5
Reviewed-by: hjk <hjk@qt.io>
On debian testing it is easy to have version 3 to 6 installed
simultanouesly. Using llvm-config will fail to detect the desired
version. If available use llvm-config-6.0 instead of llvm-config.
Task-number: QTCREATORBUG-20525
Change-Id: I91d08674cf0d85555b8fc2ba14014e39e769b9bb
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
Hide the build/runconfigurations of invalid kits in Project mode.
This keeps the custom information around for the time being, and also
provides for a nicer UI than what we had before.
Change-Id: Id43e6be8b964665bcbc8b2e3e4be9c41cc52c92c
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
To avoid name clashes in the AndroidBuildApkWidget area in
preperation of moving more build-system agnostic code over to
the Android
Change-Id: I259bb8b57f96ca87c22373f8ca23ad2586f64a16
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
Some build system specific stanzas were repeating.
Change-Id: Icfcd89f9e58e4c415322d07a6102a39798f6ab00
Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
If the last run used global settings do not forget
the custom configuration.
Change-Id: Ie8e0eefb18eed60fd5f6bf07392e5a0d1474c549
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
Resource files would not get the handling like files do, because they
are folder nodes.
For folders, if they provide the rename functionality at all, the file
extension can have similar influence on the type of folder like it does
for files (e.g. ".app", ".framework"), so just remove that restriction.
Task-number: QTCREATORBUG-20057
Change-Id: I3802f17695da9d323d4d60c14ecef5c39aeef576
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
QmakeAndroidBuildApkStep::proFilePathForInputFile() did not do anything
depending on the build step at all, so move it to its user.
Also use (soft) asserts instead of plain if + comment.
Change-Id: I263ed8ec6e61c72a125c2202e06bfd3b2cf3cb56
Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
When building a sub-project using the context menu -> Build, qmake was
executed every time, because the pro file in the Makefile was compared
against the root project instead of the sub-project.
Change-Id: Id76d7d23e3fa9a8e4c5c10cd10adcc945ff3b186
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Similar to BuildManager::addToOutputWindow.
This doesn't affect stdout/stderr output.
Change-Id: Iddee043aa46cc89860b4a2231fe075cb553b5ad3
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Handle cases where targets/projects are removed and then added again.
This is currently not done anywhere, but there should not be nasty
surprises when somebody decides to do that later.
Change-Id: I47f9b4a1577f2021bcee87ccdd5435e3628b2a95
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Clang uses mmap for system headers. This locks the header files on Windows.
If the project file is not in the root directory of the repository, and it
uses header files that are outside its directory, but in the repository,
Git operations like checkout, rebase etc. can fail because the header files
are locked.
Change-Id: If8a258234479fc70ca0a8384bf24c68d767dbeaa
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
The function hint proposal gets filled with pointers
it does not own. It does not notice when these pointers
will get deleted or modified, but as long the
hint is displayed it tries to access them.
If the document gets modified and the gls parser tries
to update the document's AST these pointers might vanish.
Only use the needed information on the proposal's side
to avoid null pointer access.
Trade off: updating the proposal hint of declarations
and definitions when document changes does
not work on the fly
Task-number: QTCREATORBUG-20570
Change-Id: I20253e92e1ca9822b1fc1f327c5c5e16b4fd91be
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
Making it a QWindow meant that Alt-Tab will lead to the main window and
right back to "System Information" because this is modal. This
incovenience outweighs the convenience of having a "Maximize" button.
This reverts a part of 40d7399755
Task-number: QTCREATORBUG-20513
Change-Id: Idcea54ee2f60f9f7efde7d25ce0c305b87f445dd
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
When triggering the context menu on the navigation treeview and
having a model editor open QC might not find a node at all.
Task-number: QTCREATORBUG-20559
Change-Id: I71bc3e7c3f405460dd2af0a2b0cc7f1e6d3b68b6
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
If the user used a macro, the Makefile will never match it, and qmake will
be executed on each build.
Change-Id: I2790db3a788ea7971145b475781a6193a1ed0842
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>