| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The project directory was removed from the additional include
directories passed to generated sources in
3746c90a3ee718342ce7f1f4415a07635c7cd1fc due to raising an error about
inconsistency of arguments passed to different CL tasks. However it is
necessary for the generated sources within the build directory to be
able to locate the pre-compiled header in the source directory. This
commit adds the project directory to all CL tasks, preventing the
warning as well as allowing access to the precompiled header.
Change-Id: Ia1cddbf89c258d0c2e43b90f355ea29a7bf4508d
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
Reviewed-by: Miguel Costa <miguel.costa@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
While working on the mentioned commit, certain sections of the
code has been temporarily commented out to make moving the code
easier. It seems I accidentally overlooked enabling these
sections afterwards.
Fixes: QTVSADDINBUG-1176
Change-Id: I7ae90fa1e7d82f03d1d0a0cb330154bb68ab8863
Reviewed-by: Ali Can Demiralp <ali.demiralp@qt.io>
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
Reviewed-by: Miguel Costa <miguel.costa@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Specified some additional auto-load contexts for the AsyncPackage, to
handle the case where VS is started with the option to immediately load
a solution/project.
Also, the wait-event that signals initialization complete is now static
and async. An await for initialization was added to the QML LSP client,
to avoid the consequences of race conditions between MEF and package
initialization.
Change-Id: Ib065e12be1ace5d6275bf178d5ce2e1fc504b7ec
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
|
|
|
|
|
|
|
| |
Fixes: QTVSADDINBUG-1171
Change-Id: I260d3c5689ac10cf4926886cd6a7bf83246b976e
Reviewed-by: Ali Can Demiralp <ali.demiralp@qt.io>
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Including:
* Encapsulated stream monitoring (to log exchanged LSP messages) in
utility class (QtVsTools.Core.Common.Utils.StreamMonitor).
* Disconnect from server when solution closes.
Change-Id: I84e8eacb43db498c1a081a22f17a28242e2990ad
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
|
|
|
|
|
|
|
| |
Fixes: QTVSADDINBUG-1160
Fixes: QTVSADDINBUG-1177
Change-Id: I238c71be48fe0ced82dc6688b1d0b077d37c4107
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
|
|
|
|
|
|
|
|
| |
... WITH Qt-GPL-exception.
Fixes: QTVSADDINBUG-1179
Change-Id: I74fe451eec352af13436548cfd9a28f832fc0757
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
|
|
|
|
|
| |
Change-Id: I2abd5f5f0aca0160a22b8b7489c86ca9e9498c69
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
|
|
|
|
|
|
|
|
|
| |
Prevent C4996: 'Qt::AA_EnableHighDpiScaling': High-DPI scaling is always
enabled. This attribute no longer has any effect.
Fixes: QTVSADDINBUG-1178
Change-Id: I1d2d308662a63d6b4348f6bdec8f747fc731d6c5
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Prevented QMake extra arguments from being escaped as this caused them
to be unrecognized. If a QMake call fails, the failed command is now
printed along with the error.
Fixes: QTVSADDINBUG-1158
Change-Id: I66cf54b13599b25ece5ae3f5251744f503fc2b78
Reviewed-by: Miguel Costa <miguel.costa@qt.io>
|
|
|
|
|
|
|
|
|
| |
The parameters for compilation of precompiled and regular sources are
made identical. Warning C4711 has been disabled for RCC generated files.
Fixes: QTVSADDINBUG-992
Change-Id: I125ff96b2ad211a1ce0e3666ba3aac9e20c8f9d6
Reviewed-by: Miguel Costa <miguel.costa@qt.io>
|
|
|
|
|
| |
Change-Id: Id65788cef693510ee29f412e3bced76ece6551a8
Reviewed-by: Miguel Costa <miguel.costa@qt.io>
|
|
|
|
|
| |
Change-Id: If4742a7872895270260d3ae86f27b2e2bf1979f8
Reviewed-by: Miguel Costa <miguel.costa@qt.io>
|
|
|
|
|
|
|
|
| |
We might miss the window activated event in case VS is configured
to start right into the main window or loads a solution on startup.
Change-Id: Iabb58850813ceb4282f17494702fd512285e1b28
Reviewed-by: Miguel Costa <miguel.costa@qt.io>
|
|
|
|
|
|
| |
Fixes: QTVSADDINBUG-1115
Change-Id: If8b45ad2188aaf4e1c7755e56c217607f4a5cfba
Reviewed-by: Miguel Costa <miguel.costa@qt.io>
|
|
|
|
|
|
| |
Fixes: QTVSADDINBUG-1055
Change-Id: I41df504e8286518b43bec59fa3ab2ed3d1b5ba86
Reviewed-by: Miguel Costa <miguel.costa@qt.io>
|
|
|
|
|
|
| |
Task-number: QTVSADDINBUG-1055
Change-Id: I158789253824b135cbb7bbfb50fc28b6e36ff571
Reviewed-by: Miguel Costa <miguel.costa@qt.io>
|
|
|
|
|
|
| |
Change-Id: Ie30b1deba53da7bec50941955497e04c12f80e24
Reviewed-by: Ali Can Demiralp <ali.demiralp@qt.io>
Reviewed-by: Miguel Costa <miguel.costa@qt.io>
|
|
|
|
|
|
|
|
|
| |
If VS is started with an project as startup argument, our extension
takes some time to get fully loaded. If the user is fast enough, he
can start a new Qt project wizard in the meantime and we will throw.
Change-Id: I9cc0225094db5c7a93af2d2cfb71585e63da0ed2
Reviewed-by: Miguel Costa <miguel.costa@qt.io>
|
|
|
|
|
| |
Change-Id: I59e6be847af54aec1c542c8cead8cfa35975604f
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
|
|
|
|
|
| |
Change-Id: I034155e7e6b2e258010c4605fff1155348bb0c91
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
|
|
|
|
|
| |
Change-Id: Idb3d9b1c03800b710db7a02b674a34864693f16f
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
|
|
|
|
|
| |
Change-Id: I3c841bd3e642e793cf691be5441c35044d64c812
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
|
|
|
|
|
|
|
|
|
| |
Fixed temp file parameter of RCC being ignored. Matched the order of
parameters in the RCC targets, xml and cs to the command line for easier
maintenance.
Change-Id: I7e07c47647824b8455b67c153473e5d3ca721546
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
|
|
|
|
|
| |
Change-Id: I43bdd43e4e508bc67ea7429e510afb01e42e81ea
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
|
|
|
|
|
| |
Change-Id: Ic2faec7ab52a3165786a318df682a009c74b166a
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
|
|
|
|
|
| |
Change-Id: I83a323c4586d13d0cdf17d031029c26b7c27264e
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
|
|
|
|
|
|
|
|
| |
This solves the issue where a Qt installation in user's path variables
may interfere with the deploy tool.
Change-Id: I14b413de90b1427bf53479e5d46017f86004a900
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
|
|
|
|
|
| |
Change-Id: Ic70ee26902e1deabdf557342b99178d06a10138d
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
|
|
|
|
|
|
| |
Fixes: QTVSADDINBUG-1170
Change-Id: I1f78105d63a90433dac30af9c5d23871ba1d697e
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
Several C++ and linker properties of projects created by the wizard
were missing or not identical to the properties created by the VS
internal project wizard. This is no longer the case.
Fixes: QTVSADDINBUG-807
Change-Id: I767a85050c5e008d397cc9ed73b20159f6d55fc5
Reviewed-by: Miguel Costa <miguel.costa@qt.io>
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
CMake projects created with the project wizard will now open their
primary source file on creation. Note that the "CMake Overview Pages"
page will still also open, in addition to the source file.
Fixes: QTVSADDINBUG-1160
Change-Id: I18658ae0ee99530f69cd29df5f0e784f372abdd3
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
|
|
|
|
|
|
| |
Fixes: QTVSADDINBUG-1159
Change-Id: Ib667004420093bca8ad4fefb58e02356aa3910cf
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
|
|
|
|
|
|
| |
Task-number: QTVSADDINBUG-1159
Change-Id: Ibe4a443a6df86b03f3dabf02c88ce311524f3096
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
|
|
|
|
|
|
| |
Task-number: QTVSADDINBUG-1159
Change-Id: Ifad13de417b03c7c873dc1fb09b5dbd101b4926f
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
|
|
|
|
|
| |
Change-Id: If0f3d4dbaecb2377c5e396052dada7ab0208d65d
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
* Remove duplicated Qt version checking
* Remove unused methods for Qt version checking
* Unite Qt version handling in one place
* Remove overloads taking a Registry hive
Change-Id: I9873227f2d49eba84913398e03e7af1bbb3e46b7
Reviewed-by: Miguel Costa <miguel.costa@qt.io>
|
|
|
|
|
|
|
| |
Writes an entry into the activity log if available.
Change-Id: Ia384ec009154caa2422bcb10e934f0b02165d741
Reviewed-by: Miguel Costa <miguel.costa@qt.io>
|
|
|
|
|
| |
Change-Id: Ia41b6c27cd86465fa1d70094a278e6fc78556fd5
Reviewed-by: Miguel Costa <miguel.costa@qt.io>
|
|
|
|
|
| |
Change-Id: I5251cf0e9b00b3e4fe3d019d608f592b6293d1f3
Reviewed-by: Miguel Costa <miguel.costa@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When a native debugger session is starting, check if QTDIR is defined as
environment variable and, if so, add a reference to it to PATH.
For CMake projects, this eliminates the need to set the PATH variable in
a preset, which in VS 2019 causes the compiler to not be found during
generation.
Fixes: QTVSADDINBUG-1164
Change-Id: Ib9b5fd263a49fd1b51147d710cd3ae837248eec1
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
|
|
|
|
|
| |
Change-Id: I7f42579a68b75e8e324ed38c68cd7f7ef149bd32
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Setting up a background task for "finalizing the initialization" is now
replaced with an override of OnAfterPackageLoadedAsync, which serves the
same purpose but is managed by VS, thus freeing the InitializeAsync of
that added overhead.
Change-Id: I81bf30394f65c564f7f04cf384c2389beb7f9024
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
|
|
|
|
|
| |
Change-Id: I83a5aa17d7bed65bba367795efa3fabdf64f3148
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
Follow the guidelines from the Microsoft Style Guide:
- Use "go to" for menus, commands, views, and tabs
- Avoid "you can"
- Avoid "field" and "checkbox" (talk about the actions, not the UI)
Change-Id: Ifa3903c455983480c7cb4340b8d287465cfea23a
Reviewed-by: Miguel Costa <miguel.costa@qt.io>
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Set a flag to copy keys only once. This commit amends commits
79c929 and 201cea, addressing the following issues:
Issue 1:
* Versions are copied to the new registry tree on start-up.
* Versions are deleted in the new tree from the Qt versions UI.
* Versions are copied again to the new tree on the next start-up.
Issue 2:
* Overwriting QtVsTools settings that might have changed between
the two trees on the next start-up.
Change-Id: Ie2cf1b7049fa34d76d4016ebf0ed6cd572e4cdf1
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Reviewed-by: Miguel Costa <miguel.costa@qt.io>
|
|
|
|
|
| |
Change-Id: I34b11ee8a252ec5c34b4fc5885a4c8ab441cc318
Reviewed-by: Miguel Costa <miguel.costa@qt.io>
|
|
|
|
|
|
|
| |
Change-Id: I4ea95cb09d76576f111d5210a7bfc6c30d90d10b
Fixes: QTVSADDINBUG-1161
Reviewed-by: Ali Can Demiralp <ali.demiralp@qt.io>
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
|
|
|
|
|
|
|
|
| |
Task-number: QTVSADDINBUG-1163
Change-Id: Ib3fcaa607f5ce191b981dc7d7357b430f75adffe
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Reviewed-by: Ali Can Demiralp <ali.demiralp@qt.io>
Reviewed-by: Miguel Costa <miguel.costa@qt.io>
|
|
|
|
|
| |
Change-Id: I6a4fe0aedeafa619b30d6f8b47c010afaac5124b
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
|