diff options
| author | Alexey Edelev <alexey.edelev@qt.io> | 2025-03-17 18:55:27 +0100 |
|---|---|---|
| committer | Alexey Edelev <alexey.edelev@qt.io> | 2025-03-24 12:02:20 +0100 |
| commit | 6b9c4945433074084f927e7c5add1a0405b62aa5 (patch) | |
| tree | e95e3c24793d34b5eae1997d54cacccc035530e9 /src/corelib/kernel/qobject.cpp | |
| parent | fc956519963ea962b93367523a9761f07dd16be7 (diff) | |
Avoid using the PROJECT_VERSION_MAJOR as the HostInfo variable prefix
Manage the HostInfo variable prefix the correct way. The prefix
takes the HostInfo PROJECT_VERSION_MAJOR as the version specifier,
which is not necessary is the same as the PROJECT_VERSION_MAJOR
of the project that uses respective API. Instead of relying on the
current PROJECT_VERSION, use the version info stored in HostInfo
package and adjust the prefix accordingly. This will allow version
mismatching between the project that uses API and HostInfo version.
Change-Id: Idbaec1c7bb203448ceb0f15c9173ad3985c7112d
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/corelib/kernel/qobject.cpp')
0 files changed, 0 insertions, 0 deletions
