-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Unable to retrieve version information with command line options on Windows #44694
Comments
Also it should print that infos in the terminal/console, and not open that dialog, I think. |
It's an issue that occurs on Windows platforms. Also reported in #37465 (comment).
It seems this is by design, introduced with bd23bf1 and f61c993 probably just to workaround the same issue that occurs with "--version". Lines 180 to 187 in 3e28304
|
Sorry for the confusion, I now edited my description to make it clear that The argument Lines 641 to 645 in f14ddac
Is it that Lines 121 to 125 in f14ddac
Elsewhere strings seem to be printed with |
AFAIK the issue is due to the fact that, normally, std::cout cannot display the text string in the console when a WIN32 GUI application is executed in the CLI.
Do you mean it's OK for you that the EDIT: it seems it is also by design that a MessageBox window is not used for the |
No, I was just trying to say that all arguments were doing what we are expecting them to do. Maybe I should have remove my last sentence altogether. Thanks for the trick |
What is the bug or the crash?
I'm unable to retrieve version information with command line option
--version
even though the option exists. Nothing is printed. Other commands like--help
(image below that display what--version
should do),--profile
or--profiles-path
work as intended.Steps to reproduce the issue
Call
qgis-ltr-bin --version
orqgis-bin --version
and see that nothing is printed.Versions
QGIS 3.20.0 and QGIS 3.16.9, both via OSGeo4W install
Windows 10 Version 1809
The text was updated successfully, but these errors were encountered: