question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Project ERROR: Cannot run compiler 'cl'. Output:

See original GitHub issue

I have a really hard time getting this running on Windows. Let me first say that I’m not really knowing what I’m doing, C++ is not my comfort zone and Qt even less. I’m just trying to get this running on Windows too and hope you can maybe help. https://github.com/Vampire/svn2git/runs/879715535 works fine with the setup on Linux. Now I try to get it running on Windows. But here is the problem: https://github.com/Vampire/svn2git/runs/879875430 Qt is installed fine, but when trying to run qmake the error from the title is raised and I’m kind of lost. 😕

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:27 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
xiaoyifangcommented, Apr 19, 2022

could you provide a full example of a running QT flow on windows? Thanks

check this https://github.com/xiaoyifang/goldendict/blob/staged/.github/workflows/windows.yml

1reaction
jurplelcommented, Jan 12, 2021

You have to run qmake in the same step, because the environment is not transferred between steps.

Read more comments on GitHub >

github_iconTop Results From Across the Web

QtCreator qmake Cannot run compiler 'cl' - Stack Overflow
While building example project bars met an error. Project ERROR: Cannot run compiler 'cl'. Maybe you forgot to setup the environment?
Read more >
Qt Creator says "Project ERROR: Cannot run compiler 'cl ...
I am new to Qt and this is my first post. I am using Qt 5.12 on two different computers ... both on...
Read more >
解决运行qmake:Project ERROR: Cannot run compiler 'cl ...
QT的项目工程默认使用的是qmake,这本来也没什么问题。但是由于要用到vcpkg这个工具来管理第三方库,好像这个vcpkg工具只能在cmake的项目中才能使.
Read more >
qt vs tools project error: cannot run compiler 'cl'. maybe you ...
1 Answer 1. ActiveOldestVotes. 7. Your error simply means that vcvarsall.batis not in a folder that is listed in your PATHenvironment variable. You...
Read more >
Thread: MSVC 2017 32-bit can't run qmake - Qt Centre Forum
Now i want to use it on MSVC 2017 32-bit. I do: cd %directory% qmake. It says: Project ERROR: Cannot run compiler 'cl'....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found