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.

Running executable on Windows fails

See original GitHub issue

First of all thank you for your work, having a GitHub action to install Qt in a cross-platform way is a lifesaver. I’m currently in the process of switching CI for the qxmpp project over to GitHub actions, and Linux and OS X are building and running their test suite just fine.

On Windows I have been able to compile the test suite, but running it fails with Exit code 0xc0000135. Unless I’m mistaken this means the dynamic linker is not finding a DLL, which surprises me as your action does add Qt5_DIR/bin to PATH.

An example failing run:

Do you have any suggestion as to how to debug this?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

filcuccommented, Jun 23, 2020

often having the Qt bin in your path is not enough because that only solves the .dll loading of linked libraries. These two other variables solves the dynamic loading issues.

filcuccommented, Jun 23, 2020

I had to set the following variables in order to make my application run (loading qt plugins and qml)

        set QT_PLUGIN_PATH=%Qt5_DIR%/plugins
        set QML2_IMPORT_PATH=%Qt5_DIR%/qml
Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot open EXE files - Windows Server | Microsoft Learn
Symptoms. When you try to open EXE files, you may get error messages like: "Access Deny", "Runtime error" and so on. · Cause....
Read more >
Exe File is Not Opening: 6 Ways to Fix it [Force Launch]
If the exe file is not opening on your PC, it might be down to a problem with the registry. · A quick...
Read more >
Cannot Open .EXE Files in Windows 10 – Fixed
According to Microsoft experts, this problem occurs due to corrupt registry settings, or system issues due to virus infection or third-party ...
Read more >
How to fix .exe files not opening in Windows 10? - Auslogics
1. Check the system for malware. 2. Mend the .exe file association. 3. Change executable file parameters in the registry.
Read more >
Fix: Cannot Open Executable (.EXE) Files on Windows
If users can run EXE files locally on their computers, but an error appears when launching files from network shared folders, then the...
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 Post

No results found

github_iconTop Related Hashnode Post

No results found