Details
-
Bug
-
Resolution: Out of scope
-
P1: Critical
-
None
-
5.15.0
-
None
-
Windows 10 1909 64 bit
MSVC2015 64 bit
MSVC2019 64 bit
Qt 5.14.1, Qt 5.15.0rc1
Description
- Have a checkout of qtbase.
- In this checkout, run git clean -dxfn to make sure that there are no files which are not checked in to the repository.
- Have two kits set up in Creator, one for the Windows Desktop and one for UWP.
- Open a project from the repository in Creator.
I used the shortcuts test in tests\manual\shortcuts\shortcuts.pro - Configure the project to use both kits.
- Make the Desktop kit active.
- Select "Build" -> "Run qmake" from the menu.
In the "Compile Output" view, you can read something like:Info: creating stash file D:\dev\src\qtbase\.qmake.stash
This seems pretty wrong already.
- Make the UWP kit active.
- Select "Build" -> "Build All Projects" from the menu.
Building will fail. In the "Compile Output" view, you can read something like:Der Befehl "cl" ist entweder falsch geschrieben oder konnte nicht gefunden werden. jom: D:\dev\src\qtbase\tests\manual\build-shortcuts-Qt_5_15_0_for_UWP_64bit_MSVC_2015-Debug\Makefile.Debug [.obj\debug\main.obj] Error 1 jom: D:\dev\src\qtbase\tests\manual\build-shortcuts-Qt_5_15_0_for_UWP_64bit_MSVC_2015-Debug\Makefile [debug] Error 2 20:33:03: The process "C:\Qt-05.06e\Tools\QtCreator\bin\jom.exe" exited with code 2. Error while building/deploying project shortcuts (kit: Qt 5.15.0 for UWP 64bit (MSVC 2015)) When executing step "Make"
- Delete the file .qmake.stash which Creator created.
- Select "Build" -> "Build All Projects" from the menu.
Building succeeds.
Looks like Creator writes .qmake.stash to the wrong place. If this really is the right place, Creator will have to remove the file when switching kits.
Attachments
Issue Links
- Is tested by
-
QTQAINFRA-3727 Add an integration test whether multiple installed versions influence each other
- Reported
- relates to
-
QTBUG-76237 winrt: "'cl' is not recognized as an internal or external command" when building an example inside a git checkout of Qt
- Closed
- resulted in
-
QTBUG-84044 Cannot compile shortcuts tests
- Closed