Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command-line output not visible on Windows #2688

Closed
bjorn opened this issue Dec 3, 2019 · 4 comments
Closed

Command-line output not visible on Windows #2688

bjorn opened this issue Dec 3, 2019 · 4 comments
Assignees
Labels
bug Broken behavior. windows Windows specific issue.

Comments

@bjorn
Copy link
Member

bjorn commented Dec 3, 2019

The old issue #953 has resurfaced in Tiled 1.3, with no output visible anymore on Windows.

Needs to investigate if this regression is due to newer Windows version, newer Qt version or some change in Tiled.

@powertomato
Copy link

So I just wanted to try to fix this issue and found that I cannot replicate the problem when I build locally.
Both debug and release builds output to the cmd as expected. x86 or AMD64 makes no difference either.

I used the precompiled Qt5.12.9 MSVC2017 (resp. MSVC2017_64) of the Qt libraries and Qt Creator version 4.12.2 to build.
The build tools I was using were msvc2019_pe_32bit (resp. msvc2019_pe_64bit)
My Windows version is Windows 10 Pro 1903

While without beeing able to reproduce it I probabbly can't fix it, I could help you narrow down the problem. If you have any ideas I'd be glad to help

@bjorn
Copy link
Member Author

bjorn commented Jul 3, 2020

@powertomato Thank you for looking into this problem! Since you can't reproduce this with a Visual Studio based build, maybe it is related to building with MinGW? The release is built with MinGW.

It's related to this code, so at some point I already put some MinGW handling in there... maybe it's causing the code to get disabled:

https://github.com/bjorn/tiled/blob/c992a7f7e54f3a903a0bef537f2cb2bf36816fcd/src/tiled/main.cpp#L336-L343

@Eggbertx
Copy link

Eggbertx commented Sep 8, 2021

Have there been any updates on this? I'm unable to get any command line output in windows, using the official release (1.7.2)

@idbrii
Copy link

idbrii commented Nov 18, 2021

For anyone stuck, try this search to get a hint for the supported formats (plus any plugins you've installed).

bjorn added a commit that referenced this issue Dec 13, 2021
Seems I messed up this condition in d2af052,
causing the command-line output workaround to be disabled for MinGW
builds.

Closes #2688
@bjorn bjorn self-assigned this Dec 13, 2021
bjorn added a commit that referenced this issue Dec 13, 2021
Seems I messed up this condition in d2af052,
causing the command-line output workaround to be disabled for MinGW
builds.

Closes #2688
bjorn added a commit that referenced this issue Dec 13, 2021
Seems I messed up this condition in d2af052,
causing the command-line output workaround to be disabled for MinGW
builds.

Closes #2688
bjorn added a commit that referenced this issue Dec 14, 2021
Seems I messed up this condition in d2af052,
causing the command-line output workaround to be disabled for MinGW
builds.

Closes #2688
bjorn added a commit that referenced this issue Dec 14, 2021
Seems I messed up this condition in d2af052,
causing the command-line output workaround to be disabled for MinGW
builds.

Closes #2688
@bjorn bjorn closed this as completed in cfd6777 Dec 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Broken behavior. windows Windows specific issue.
Projects
Archived in project
Status: Done
Development

No branches or pull requests

4 participants