Skip to content

Conversation

@Jan125
Copy link
Contributor

@Jan125 Jan125 commented Nov 2, 2025

As mentioned in #8103 (comment) , a platform identifier should be added.

KernelType delivers the most agnostic platform info from native Qt, as ProductType would return "Fedora", "OpenSUSE", etc..
If we want to decollate the rest (Android vs. Desktop Linux = "linux", iOS vs. Mac OS X = "darwin"), we'd have to write our own implementation.

@Jan125
Copy link
Contributor Author

Jan125 commented Nov 15, 2025

No requests for a namechange have been made.

@Jan125 Jan125 marked this pull request as ready for review November 15, 2025 13:11
@rdrpenguin04
Copy link
Contributor

I would personally prefer more information for diagnostic purposes, so I don't see why we wouldn't want to use ProductType. That's just my opinion though; is there a specific reason you wanted to go with the more generic names?

@Jan125
Copy link
Contributor Author

Jan125 commented Nov 16, 2025

Because of hopefully platform generic code.
If a project needs to be checked if it came from a linux build, it should be a unified name for that platform, for code to properly handle it. (We're not building for Fedora or Ubuntu etc. specifically anyway.)

I am not opposed to add a second identifier however.

@Jan125 Jan125 marked this pull request as draft November 16, 2025 07:39
@Jan125 Jan125 marked this pull request as ready for review November 16, 2025 07:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants