Наша сборка Qt VS Tools
giy
2022-09-02 ca47896204482bf4a6979e3838bf7f09f61cebeb
QtVsTools.Core/QtConfig.cs
@@ -44,17 +44,18 @@
    /// </summary>
    class QtConfig
    {
        public BuildType BuildType { get; private set; }
        public BuildType BuildType { get; }
        public string LibInfix { get; private set; }
        public string LibInfix { get; }
        public bool Is64Bit { get; private set; }
        public bool Is64Bit { get; }
        public string Namespace { get; private set; }
        public string Namespace { get; }
        public uint VersionMajor { get; private set; }
        public uint VersionMinor { get; private set; }
        public uint VersionPatch { get; private set; }
        public uint VersionMajor { get; }
        public uint VersionMinor { get; }
        public uint VersionPatch { get; }
        public string VersionString { get; }
        public QtConfig(string qtdir)
        {
@@ -110,6 +111,8 @@
                        Is64Bit = (data == "x86_64");
                    } else if (name == "QT_NAMESPACE") {
                        Namespace = data;
                    } else if (name == "QT_VERSION") {
                        VersionString = data;
                    } else if (name == "QT_MAJOR_VERSION") {
                        if (uint.TryParse(data, out uint versionMajor))
                            VersionMajor = versionMajor;