public QtBuildProcess(qtBuildProcessDescripton qbpd) { destinationFolder = qbpd.destinationFolder; compilerType = qbpd.compilerType; qtVersion = qbpd.qtVersion; platform = qbpd.platform; withLibraries = qbpd.withLibraries; qtCommandLineArguments = qbpd.qtCommandLineArguments; downloadThirdPartyLibraryEveryTime = qbpd.downloadThirdPartyLibraryEveryTime; }
public static QtInfo GetQtInfo(eQtVersion version) { foreach (QtInfo info in CreateInfoList()) { if (info.version == version) { return(new QtInfo(info.ZIPFilename, info.downloadURL, info.version)); // hand back a copy } } throw new Exception("Unknown Qt version."); }
public static string GetZipFileName(eQtVersion version) { foreach (QtInfo info in CreateInfoList()) { if (info.version == version) { return(info.ZIPFilename); } } throw new Exception("Unknown Qt version."); }
public static string GetDownloadURL(eQtVersion version) { foreach (QtInfo info in CreateInfoList()) { if (info.version == version) { return(info.DownloadURL); } } throw new Exception("Unknown Qt version."); }
QtInfo(string filename, string downloadURL, eQtVersion version) { this.zipFilename = filename; this.downloadURL = downloadURL; this.version = version; }
public static string TransformVersionToString(eQtVersion version) { switch (version) { case eQtVersion.Qt4_8_3: return("4.8.3"); case eQtVersion.Qt4_8_4: return("4.8.4"); case eQtVersion.Qt5_0_0: return("5.0.0"); case eQtVersion.Qt5_0_1: return("5.0.1"); case eQtVersion.Qt5_0_2: return("5.0.2"); case eQtVersion.Qt5_1_0: return("5.1.0"); case eQtVersion.Qt5_1_1: return("5.1.1"); case eQtVersion.Qt5_2_0: return("5.2.0"); case eQtVersion.Qt5_2_1: return("5.2.1"); case eQtVersion.Qt5_3_0: return("5.3.0"); case eQtVersion.Qt5_3_1: return("5.3.1"); case eQtVersion.Qt5_3_2: return("5.3.2"); case eQtVersion.Qt5_4_0: return("5.4.0"); case eQtVersion.Qt5_4_1: return("5.4.1"); case eQtVersion.Qt5_5_0: return("5.5.0"); case eQtVersion.Qt5_5_1: return("5.5.1"); case eQtVersion.Qt5_14_0: return("5.14.0"); case eQtVersion.Qt5_14_1: return("5.14.1"); } throw new Exception("Unknown Qt version"); }