Revision | 6162f93eab4d34c40d433a57ac6a1a75e41c4e13 (tree) |
---|---|
Zeit | 2023-02-04 12:31:47 |
Autor | Fs <Fsu0413@vip....> |
Commiter | Fs |
mysql conf for all Qt5.15+ shared / dynamic builds mariadb step 7
@@ -274,7 +274,7 @@ conf.Qt.generateConfTable = function(self, host, job) | ||
274 | 274 | -- dirty hack end |
275 | 275 | ret.BUILDDIR = confHost.buildRootPath .. "build-Qt" .. job |
276 | 276 | ret.download = {} |
277 | - | |
277 | + | |
278 | 278 | -- DO REMEMBER TO USE tostring IF A VERSION STRING IS NEEDED!! |
279 | 279 | local hostToolchainVersion, targetToolchainVersion |
280 | 280 | local hostToolchainVersionQueryFuncName = "gcc" |
@@ -312,7 +312,7 @@ conf.Qt.generateConfTable = function(self, host, job) | ||
312 | 312 | ret.date = string.format("%04d%02d%02d", BuildTime.year, BuildTime.month, BuildTime.day) |
313 | 313 | |
314 | 314 | local repl = {} |
315 | - | |
315 | + | |
316 | 316 | if confDetail.crossCompile then |
317 | 317 | -- Qt 6: We need host tool to cross build Qt |
318 | 318 | if confDetail.hostToolsConf then |
@@ -354,7 +354,7 @@ conf.Qt.generateConfTable = function(self, host, job) | ||
354 | 354 | else |
355 | 355 | ret.emSource = confHost.emscriptenPath[emsdkVer] .. "emsdk_env.bat" |
356 | 356 | end |
357 | - | |
357 | + | |
358 | 358 | targetToolchainVersion = compilerVer.emcc(confHost.makefileTemplate == "win", confHost.emscriptenPath[emsdkVer]) |
359 | 359 | else |
360 | 360 | error("WebAssembly - confDetail.toolchainT is not matched") |
@@ -379,6 +379,11 @@ conf.Qt.generateConfTable = function(self, host, job) | ||
379 | 379 | end |
380 | 380 | end |
381 | 381 | |
382 | + if confDetail.mysqlConf then | |
383 | + table.insert(ret.download, conf.MariaDB:binaryFileDownloadPath(confHost, confDetail.mysqlConf, targetToolchainVersion)) | |
384 | + repl.MYSQLPREFIX = ret.WORKSPACE .. confHost.pathSep .. "buildDir" .. confHost.pathSep .. replaceVersion(conf.MariaDB.configurations[confDetail.mysqlConf].name, nil, targetToolchainVersion) | |
385 | + end | |
386 | + | |
382 | 387 | local installFolderName = replaceVersion(confDetail.name, hostToolchainVersion, targetToolchainVersion) |
383 | 388 | local installRoot = ret.WORKSPACE .. confHost.pathSep .. "buildDir" .. confHost.pathSep .. installFolderName |
384 | 389 | repl.INSTALLROOT = installRoot |
@@ -499,7 +504,7 @@ conf.Qt.generateConfTable = function(self, host, job) | ||
499 | 504 | local opensslLibPath = conf.OpenSSL.configurations[confDetail.opensslConf][(staticBuild and "static" or "") .. "libPath"] |
500 | 505 | if opensslLibPath then |
501 | 506 | local targetDir = "lib" |
502 | - -- todo: deal with the condition where the openssl libs are symbolic link to the real file (only for unix) | |
507 | + -- todo: deal with the condition where the OpenSSL libs are symbolic link to the real file (only for unix) | |
503 | 508 | if string.sub(opensslLibPath[1], -4) == ".dll" then |
504 | 509 | targetDir = "bin" |
505 | 510 | end |
@@ -519,6 +524,22 @@ conf.Qt.generateConfTable = function(self, host, job) | ||
519 | 524 | end |
520 | 525 | end |
521 | 526 | |
527 | + -- MySQL libraries / MariaDB libraries | |
528 | + -- Currently we are using MariaDB for MySQL connector. It is the REAL MySQL per se!! | |
529 | + if confDetail.mysqlConf then | |
530 | + local mysqlLibPath = conf.MariaDB.configurations[confDetail.mysqlConf].libPath | |
531 | + if mysqlLibPath then | |
532 | + local targetDir = "lib" | |
533 | + -- todo: deal with the condition where the MariaDB libs are symbolic link to the real file (only for unix) | |
534 | + if string.sub(mysqlLibPath[1], -4) == ".dll" then | |
535 | + targetDir = "bin" | |
536 | + end | |
537 | + for _, path in ipairs(mysqlLibPath) do | |
538 | + ret.EXTRAINSTALL = ret.EXTRAINSTALL .. copyCmd .. repl.MYSQLPREFIX .. confHost.pathSep .. path .. " " .. installRoot .. confHost.pathSep .. targetDir .. "\n" | |
539 | + end | |
540 | + end | |
541 | + end | |
542 | + | |
522 | 543 | local qQtPatcherTable = nil |
523 | 544 | if confDetail.qQtPatcher ~= "no" then |
524 | 545 | -- QQtPatcher |
@@ -698,7 +719,7 @@ conf.OpenSSL.generateConfTable = function(self, host, job) | ||
698 | 719 | return "" |
699 | 720 | end |
700 | 721 | end), "%s+", " ") |
701 | - | |
722 | + | |
702 | 723 | if confDetail.crossCompile then |
703 | 724 | ret.INSTALLCOMMANDLINE = ret.INSTALLCOMMANDLINE .. " DESTDIR=" .. installRoot .. " " |
704 | 725 | end |
@@ -785,7 +806,7 @@ conf.MariaDB.generateConfTable = function(self, host, job) | ||
785 | 806 | table.insert(ret.path, p) |
786 | 807 | end |
787 | 808 | end |
788 | - | |
809 | + | |
789 | 810 | ret.buildContent = "MariaDB" |
790 | 811 | ret.BUILDDIR = ret.WORKSPACE .. confHost.pathSep .. "buildDir" .. confHost.pathSep .. "build-MariaDB" .. job |
791 | 812 | ret.INSTALLCOMMANDLINE = " " |
@@ -794,7 +815,7 @@ conf.MariaDB.generateConfTable = function(self, host, job) | ||
794 | 815 | ret.envSet = {} |
795 | 816 | |
796 | 817 | local repl = {} |
797 | - | |
818 | + | |
798 | 819 | if confDetail.crossCompile then |
799 | 820 | if string.sub(confDetail.toolchainT, 1, 7) == "Android" then -- Android |
800 | 821 | error("todo....") |
@@ -839,12 +860,12 @@ conf.MariaDB.generateConfTable = function(self, host, job) | ||
839 | 860 | ret.CONFIGURECOMMANDLINE = ret.CONFIGURECOMMANDLINE .. ".." .. confHost.pathSep .. confDetail.sourcePackageBaseName |
840 | 861 | |
841 | 862 | ret.MAKE = "cmake --build . --parallel -- " |
842 | - | |
863 | + | |
843 | 864 | ret.INSTALLCOMMANDLINE = "cmake --install . --strip" |
844 | 865 | |
845 | 866 | ret.INSTALLROOT = installRoot |
846 | 867 | ret.INSTALLPATH = installFolderName |
847 | - | |
868 | + | |
848 | 869 | return ret |
849 | 870 | end |
850 | 871 |
@@ -1436,6 +1436,7 @@ conf.Q5wx3v5 = { | ||
1436 | 1436 | qtVersion = "5.15.8", |
1437 | 1437 | host = "Win8", |
1438 | 1438 | toolchain = "MSVC2015-32", |
1439 | + mysqlConf = "m3_1wx3v5", | |
1439 | 1440 | configureParameter = [[ |
1440 | 1441 | -prefix |
1441 | 1442 | &INSTALLROOT& |
@@ -1461,6 +1462,8 @@ conf.Q5wx3v5 = { | ||
1461 | 1462 | -schannel |
1462 | 1463 | -sql-sqlite |
1463 | 1464 | -sql-odbc |
1465 | + -sql-mysql | |
1466 | + "MYSQL_PREFIX=&MYSQLPREFIX&" | |
1464 | 1467 | -make-tool |
1465 | 1468 | jom |
1466 | 1469 | ]], |
@@ -1471,6 +1474,7 @@ conf.Q5wx6v5 = { | ||
1471 | 1474 | qtVersion = "5.15.8", |
1472 | 1475 | host = "Win8", |
1473 | 1476 | toolchain = "MSVC2015-64", |
1477 | + mysqlConf = "m3_1wx6v5", | |
1474 | 1478 | configureParameter = [[ |
1475 | 1479 | -prefix |
1476 | 1480 | &INSTALLROOT& |
@@ -1496,6 +1500,8 @@ conf.Q5wx6v5 = { | ||
1496 | 1500 | -schannel |
1497 | 1501 | -sql-sqlite |
1498 | 1502 | -sql-odbc |
1503 | + -sql-mysql | |
1504 | + "MYSQL_PREFIX=&MYSQLPREFIX&" | |
1499 | 1505 | -make-tool |
1500 | 1506 | jom |
1501 | 1507 | ]], |
@@ -1506,6 +1512,7 @@ conf.Q5wx3v7 = { | ||
1506 | 1512 | qtVersion = "5.15.8-4", |
1507 | 1513 | host = "Win10", |
1508 | 1514 | toolchain = "MSVC2017-32", |
1515 | + mysqlConf = "m3_1wx3v7", | |
1509 | 1516 | configureParameter = [[ |
1510 | 1517 | -prefix |
1511 | 1518 | &INSTALLROOT& |
@@ -1531,6 +1538,8 @@ conf.Q5wx3v7 = { | ||
1531 | 1538 | -schannel |
1532 | 1539 | -sql-sqlite |
1533 | 1540 | -sql-odbc |
1541 | + -sql-mysql | |
1542 | + "MYSQL_PREFIX=&MYSQLPREFIX&" | |
1534 | 1543 | -make-tool |
1535 | 1544 | jom |
1536 | 1545 | -skip |
@@ -1543,6 +1552,7 @@ conf.Q5wx6v7 = { | ||
1543 | 1552 | qtVersion = "5.15.8-4", |
1544 | 1553 | host = "Win10", |
1545 | 1554 | toolchain = "MSVC2017-64", |
1555 | + mysqlConf = "m3_1wx6v7", | |
1546 | 1556 | configureParameter = [[ |
1547 | 1557 | -prefix |
1548 | 1558 | &INSTALLROOT& |
@@ -1568,6 +1578,8 @@ conf.Q5wx6v7 = { | ||
1568 | 1578 | -schannel |
1569 | 1579 | -sql-sqlite |
1570 | 1580 | -sql-odbc |
1581 | + -sql-mysql | |
1582 | + "MYSQL_PREFIX=&MYSQLPREFIX&" | |
1571 | 1583 | -make-tool |
1572 | 1584 | jom |
1573 | 1585 | -skip |
@@ -1580,6 +1592,7 @@ conf.Q5wx3v9 = { | ||
1580 | 1592 | qtVersion = "5.15.8-4", |
1581 | 1593 | host = "Win10", |
1582 | 1594 | toolchain = "MSVC2019-32", |
1595 | + mysqlConf = "m3_1wx3v9", | |
1583 | 1596 | configureParameter = [[ |
1584 | 1597 | -prefix |
1585 | 1598 | &INSTALLROOT& |
@@ -1605,6 +1618,8 @@ conf.Q5wx3v9 = { | ||
1605 | 1618 | -schannel |
1606 | 1619 | -sql-sqlite |
1607 | 1620 | -sql-odbc |
1621 | + -sql-mysql | |
1622 | + "MYSQL_PREFIX=&MYSQLPREFIX&" | |
1608 | 1623 | -make-tool |
1609 | 1624 | jom |
1610 | 1625 | -webengine-proprietary-codecs |
@@ -1658,6 +1673,7 @@ conf.Q5wx6v9 = { | ||
1658 | 1673 | qtVersion = "5.15.8-4", |
1659 | 1674 | host = "Win10", |
1660 | 1675 | toolchain = "MSVC2019-64", |
1676 | + mysqlConf = "m3_1wx6v9", | |
1661 | 1677 | configureParameter = [[ |
1662 | 1678 | -prefix |
1663 | 1679 | &INSTALLROOT& |
@@ -1683,6 +1699,8 @@ conf.Q5wx6v9 = { | ||
1683 | 1699 | -schannel |
1684 | 1700 | -sql-sqlite |
1685 | 1701 | -sql-odbc |
1702 | + -sql-mysql | |
1703 | + "MYSQL_PREFIX=&MYSQLPREFIX&" | |
1686 | 1704 | -make-tool |
1687 | 1705 | jom |
1688 | 1706 | -webengine-proprietary-codecs |
@@ -1736,6 +1754,7 @@ conf.Q5wx6v2 = { | ||
1736 | 1754 | qtVersion = "5.15.8-4", |
1737 | 1755 | host = "Win10", |
1738 | 1756 | toolchain = "MSVC2022-64", |
1757 | + mysqlConf = "m3_1wx6v2", | |
1739 | 1758 | configureParameter = [[ |
1740 | 1759 | -prefix |
1741 | 1760 | &INSTALLROOT& |
@@ -1761,6 +1780,8 @@ conf.Q5wx6v2 = { | ||
1761 | 1780 | -schannel |
1762 | 1781 | -sql-sqlite |
1763 | 1782 | -sql-odbc |
1783 | + -sql-mysql | |
1784 | + "MYSQL_PREFIX=&MYSQLPREFIX&" | |
1764 | 1785 | -make-tool |
1765 | 1786 | jom |
1766 | 1787 | -skip |
@@ -1773,6 +1794,7 @@ conf.Q5wx3m8 = { | ||
1773 | 1794 | qtVersion = "5.15.8", |
1774 | 1795 | host = "Win10", |
1775 | 1796 | toolchain = "MinGW810-32", |
1797 | + -- mysqlConf = "m3_1wx3g8", | |
1776 | 1798 | configureParameter = [[ |
1777 | 1799 | -prefix |
1778 | 1800 | &INSTALLROOT& |
@@ -1848,6 +1870,7 @@ conf.Q5wx6m8 = { | ||
1848 | 1870 | qtVersion = "5.15.8", |
1849 | 1871 | host = "Win10", |
1850 | 1872 | toolchain = "MinGW810-64", |
1873 | + mysqlConf = "m3_1wx6g8", | |
1851 | 1874 | configureParameter = [[ |
1852 | 1875 | -prefix |
1853 | 1876 | &INSTALLROOT& |
@@ -1873,6 +1896,8 @@ conf.Q5wx6m8 = { | ||
1873 | 1896 | -schannel |
1874 | 1897 | -sql-sqlite |
1875 | 1898 | -sql-odbc |
1899 | + -sql-mysql | |
1900 | + "MYSQL_PREFIX=&MYSQLPREFIX&" | |
1876 | 1901 | -make-tool |
1877 | 1902 | "mingw32-make -j%PARALLELNUM%" |
1878 | 1903 | ]], |
@@ -1923,6 +1948,7 @@ conf.Q5wx6g1 = { | ||
1923 | 1948 | qtVersion = "5.15.8", |
1924 | 1949 | host = "Win10", |
1925 | 1950 | toolchain = "MinGW1120-64", |
1951 | + -- mysqlConf = "m3_1wx6g1", | |
1926 | 1952 | configureParameter = [[ |
1927 | 1953 | -prefix |
1928 | 1954 | &INSTALLROOT& |
@@ -1958,6 +1984,7 @@ conf.Q5wx6g2 = { | ||
1958 | 1984 | qtVersion = "5.15.8", |
1959 | 1985 | host = "Win10", |
1960 | 1986 | toolchain = "MinGW1210-64", |
1987 | + -- mysqlConf = "m3_1wx6g2", | |
1961 | 1988 | configureParameter = [[ |
1962 | 1989 | -prefix |
1963 | 1990 | &INSTALLROOT& |
@@ -1992,6 +2019,7 @@ conf.Q5mx6 = { | ||
1992 | 2019 | name = "Qt5.15.8-macOS-x86_64-AppleClang&HOSTTOOLVERSION&", |
1993 | 2020 | qtVersion = "5.15.8-4", |
1994 | 2021 | host = "macOS1015", |
2022 | + mysqlConf = "m3_1mal", | |
1995 | 2023 | configureParameter = [[ |
1996 | 2024 | -prefix |
1997 | 2025 | &INSTALLROOT& |
@@ -2016,6 +2044,8 @@ conf.Q5mx6 = { | ||
2016 | 2044 | -no-openssl |
2017 | 2045 | -securetransport |
2018 | 2046 | -sql-sqlite |
2047 | + -sql-mysql | |
2048 | + "MYSQL_PREFIX=&MYSQLPREFIX&" | |
2019 | 2049 | -make-tool |
2020 | 2050 | "make -j$PARALLELNUM" |
2021 | 2051 | -skip |
@@ -2028,6 +2058,7 @@ conf.Q5mx6nf = { | ||
2028 | 2058 | qtVersion = "5.15.8-4", |
2029 | 2059 | host = "macOS1015", |
2030 | 2060 | variant = {"-noFramework"}, |
2061 | + mysqlConf = "m3_1mal", | |
2031 | 2062 | configureParameter = [[ |
2032 | 2063 | -prefix |
2033 | 2064 | &INSTALLROOT& |
@@ -2052,6 +2083,8 @@ conf.Q5mx6nf = { | ||
2052 | 2083 | -no-openssl |
2053 | 2084 | -securetransport |
2054 | 2085 | -sql-sqlite |
2086 | + -sql-mysql | |
2087 | + "MYSQL_PREFIX=&MYSQLPREFIX&" | |
2055 | 2088 | -make-tool |
2056 | 2089 | "make -j$PARALLELNUM" |
2057 | 2090 | -rpath |
@@ -2489,6 +2522,7 @@ conf.q6_2wx6v9 = { | ||
2489 | 2522 | host = "Win10", |
2490 | 2523 | toolchain = "MSVC2019-64", |
2491 | 2524 | opensslConf = "o3wx6v9", |
2525 | + mysqlConf = "m3_3wx6v9", | |
2492 | 2526 | useCMake = "Latest", |
2493 | 2527 | configureParameter = [[ |
2494 | 2528 | -G"Ninja" |
@@ -2512,6 +2546,9 @@ conf.q6_2wx6v9 = { | ||
2512 | 2546 | -DFEATURE_schannel=ON |
2513 | 2547 | -DFEATURE_sql_sqlite=ON |
2514 | 2548 | -DFEATURE_sql_odbc=ON |
2549 | + -DFEATURE_sql_mysql=ON | |
2550 | + -DMySQL_INCLUDE_DIR="&MYSQLPREFIX&\include" | |
2551 | + -DMySQL_LIBRARY="&MYSQLPREFIX&\lib\mariadb\libmariadb.lib" | |
2515 | 2552 | -DFEATURE_system_sqlite=OFF |
2516 | 2553 | -DBUILD_qtwebengine=OFF |
2517 | 2554 | -DBUILD_qtopcua=OFF |
@@ -2657,6 +2694,7 @@ conf.q6_2wx6v2 = { | ||
2657 | 2694 | host = "Win10", |
2658 | 2695 | toolchain = "MSVC2022-64", |
2659 | 2696 | opensslConf = "o3wx6v2", |
2697 | + mysqlConf = "m3_3wx6v2", | |
2660 | 2698 | useCMake = "Latest", |
2661 | 2699 | configureParameter = [[ |
2662 | 2700 | -G"Ninja" |
@@ -2680,6 +2718,9 @@ conf.q6_2wx6v2 = { | ||
2680 | 2718 | -DFEATURE_schannel=ON |
2681 | 2719 | -DFEATURE_sql_sqlite=ON |
2682 | 2720 | -DFEATURE_sql_odbc=ON |
2721 | + -DFEATURE_sql_mysql=ON | |
2722 | + -DMySQL_INCLUDE_DIR="&MYSQLPREFIX&\include" | |
2723 | + -DMySQL_LIBRARY="&MYSQLPREFIX&\lib\mariadb\libmariadb.lib" | |
2683 | 2724 | -DFEATURE_system_sqlite=OFF |
2684 | 2725 | -DBUILD_qtwebengine=OFF |
2685 | 2726 | -DBUILD_qtopcua=OFF |
@@ -2692,6 +2733,7 @@ conf.q6_2wx6m1 = { | ||
2692 | 2733 | host = "Win10", |
2693 | 2734 | toolchain = "MinGW1120-64", |
2694 | 2735 | opensslConf = "o3wx6m1", |
2736 | + mysqlConf = "m3_3wx6g1", | |
2695 | 2737 | useCMake = "20", |
2696 | 2738 | configureParameter = [[ |
2697 | 2739 | -G"Ninja" |
@@ -2715,6 +2757,9 @@ conf.q6_2wx6m1 = { | ||
2715 | 2757 | -DFEATURE_schannel=ON |
2716 | 2758 | -DFEATURE_sql_sqlite=ON |
2717 | 2759 | -DFEATURE_sql_odbc=ON |
2760 | + -DFEATURE_sql_mysql=ON | |
2761 | + -DMySQL_INCLUDE_DIR="&MYSQLPREFIX&\include" | |
2762 | + -DMySQL_LIBRARY="&MYSQLPREFIX&\lib\mariadb\liblibmariadb.dll.a" | |
2718 | 2763 | -DFEATURE_system_sqlite=OFF |
2719 | 2764 | -DBUILD_qtopcua=OFF |
2720 | 2765 | ]], |
@@ -2825,6 +2870,7 @@ conf.q6_2wx6m2 = { | ||
2825 | 2870 | host = "Win10", |
2826 | 2871 | toolchain = "MinGW1210-64", |
2827 | 2872 | opensslConf = "o3wx6m2", |
2873 | + mysqlConf = "m3_3wx6g2", | |
2828 | 2874 | useCMake = "20", |
2829 | 2875 | configureParameter = [[ |
2830 | 2876 | -G"Ninja" |
@@ -2848,6 +2894,9 @@ conf.q6_2wx6m2 = { | ||
2848 | 2894 | -DFEATURE_schannel=ON |
2849 | 2895 | -DFEATURE_sql_sqlite=ON |
2850 | 2896 | -DFEATURE_sql_odbc=ON |
2897 | + -DFEATURE_sql_mysql=ON | |
2898 | + -DMySQL_INCLUDE_DIR="&MYSQLPREFIX&\include" | |
2899 | + -DMySQL_LIBRARY="&MYSQLPREFIX&\lib\mariadb\liblibmariadb.dll.a" | |
2851 | 2900 | -DFEATURE_system_sqlite=OFF |
2852 | 2901 | -DBUILD_qtopcua=OFF |
2853 | 2902 | ]], |
@@ -2898,6 +2947,7 @@ conf.q6_2wx6u5 = { | ||
2898 | 2947 | host = "Win10", |
2899 | 2948 | toolchain = "MinGWLLVM-ucrt15-64", |
2900 | 2949 | opensslConf = "o3wx6u5", |
2950 | + mysqlConf = "m3_3wx6u5", | |
2901 | 2951 | useCMake = "Latest", |
2902 | 2952 | configureParameter = [[ |
2903 | 2953 | -G"Ninja" |
@@ -2921,6 +2971,9 @@ conf.q6_2wx6u5 = { | ||
2921 | 2971 | -DFEATURE_schannel=ON |
2922 | 2972 | -DFEATURE_sql_sqlite=ON |
2923 | 2973 | -DFEATURE_sql_odbc=ON |
2974 | + -DFEATURE_sql_mysql=ON | |
2975 | + -DMySQL_INCLUDE_DIR="&MYSQLPREFIX&\include" | |
2976 | + -DMySQL_LIBRARY="&MYSQLPREFIX&\lib\mariadb\liblibmariadb.dll.a" | |
2924 | 2977 | -DFEATURE_system_sqlite=OFF |
2925 | 2978 | -DBUILD_qtwebengine=OFF |
2926 | 2979 | -DBUILD_qtopcua=OFF |
@@ -2936,6 +2989,7 @@ conf.q6_2wx6s5 = { | ||
2936 | 2989 | host = "Win10", |
2937 | 2990 | toolchain = "MinGWLLVM-msvcrt15-64", |
2938 | 2991 | opensslConf = "o3wx6s5", |
2992 | + mysqlConf = "m3_3wx6s5", | |
2939 | 2993 | useCMake = "Latest", |
2940 | 2994 | configureParameter = [[ |
2941 | 2995 | -G"Ninja" |
@@ -2959,6 +3013,9 @@ conf.q6_2wx6s5 = { | ||
2959 | 3013 | -DFEATURE_schannel=ON |
2960 | 3014 | -DFEATURE_sql_sqlite=ON |
2961 | 3015 | -DFEATURE_sql_odbc=ON |
3016 | + -DFEATURE_sql_mysql=ON | |
3017 | + -DMySQL_INCLUDE_DIR="&MYSQLPREFIX&\include" | |
3018 | + -DMySQL_LIBRARY="&MYSQLPREFIX&\lib\mariadb\liblibmariadb.dll.a" | |
2962 | 3019 | -DFEATURE_system_sqlite=OFF |
2963 | 3020 | -DBUILD_qtwebengine=OFF |
2964 | 3021 | -DBUILD_qtopcua=OFF |
@@ -3026,6 +3083,7 @@ conf.q6_2mal = { | ||
3026 | 3083 | qtVersion = "6.2.4-5", |
3027 | 3084 | host = "macOSM1", |
3028 | 3085 | opensslConf = "o3mal", |
3086 | + mysqlConf = "m3_3mal", | |
3029 | 3087 | useCMake = "Latest", |
3030 | 3088 | configureParameter = [[ |
3031 | 3089 | -G"Ninja" |
@@ -3050,6 +3108,9 @@ conf.q6_2mal = { | ||
3050 | 3108 | -DOPENSSL_ROOT_DIR=&OPENSSLDIR& |
3051 | 3109 | -DFEATURE_securetransport=ON |
3052 | 3110 | -DFEATURE_sql_sqlite=ON |
3111 | + -DFEATURE_sql_mysql=ON | |
3112 | + -DMySQL_INCLUDE_DIR="&MYSQLPREFIX&/include" | |
3113 | + -DMySQL_LIBRARY="&MYSQLPREFIX&/lib/mariadb/libmariadb.3.dylib" | |
3053 | 3114 | -DFEATURE_system_sqlite=OFF |
3054 | 3115 | -DBUILD_qtwebengine=OFF |
3055 | 3116 | -DCMAKE_SKIP_BUILD_RPATH=OFF |
@@ -3065,6 +3126,7 @@ conf.q6_2malnf = { | ||
3065 | 3126 | host = "macOSM1", |
3066 | 3127 | variant = {"-noFramework"}, |
3067 | 3128 | opensslConf = "o3mal", |
3129 | + mysqlConf = "m3_3mal", | |
3068 | 3130 | useCMake = "Latest", |
3069 | 3131 | configureParameter = [[ |
3070 | 3132 | -G"Ninja" |
@@ -3089,6 +3151,9 @@ conf.q6_2malnf = { | ||
3089 | 3151 | -DOPENSSL_ROOT_DIR=&OPENSSLDIR& |
3090 | 3152 | -DFEATURE_securetransport=ON |
3091 | 3153 | -DFEATURE_sql_sqlite=ON |
3154 | + -DFEATURE_sql_mysql=ON | |
3155 | + -DMySQL_INCLUDE_DIR="&MYSQLPREFIX&/include" | |
3156 | + -DMySQL_LIBRARY="&MYSQLPREFIX&/lib/mariadb/libmariadb.3.dylib" | |
3092 | 3157 | -DFEATURE_system_sqlite=OFF |
3093 | 3158 | -DBUILD_qtwebengine=OFF |
3094 | 3159 | -DCMAKE_SKIP_BUILD_RPATH=OFF |
@@ -3749,6 +3814,7 @@ conf.q6_4wx6v9 = { | ||
3749 | 3814 | host = "Win10", |
3750 | 3815 | toolchain = "MSVC2019-64", |
3751 | 3816 | opensslConf = "o3wx6v9", |
3817 | + mysqlConf = "m3_3wx6v9", | |
3752 | 3818 | useCMake = "Latest", |
3753 | 3819 | configureParameter = [[ |
3754 | 3820 | -G"Ninja" |
@@ -3772,6 +3838,9 @@ conf.q6_4wx6v9 = { | ||
3772 | 3838 | -DFEATURE_schannel=ON |
3773 | 3839 | -DFEATURE_sql_sqlite=ON |
3774 | 3840 | -DFEATURE_sql_odbc=ON |
3841 | + -DFEATURE_sql_mysql=ON | |
3842 | + -DMySQL_INCLUDE_DIR="&MYSQLPREFIX&\include" | |
3843 | + -DMySQL_LIBRARY="&MYSQLPREFIX&\lib\mariadb\libmariadb.lib" | |
3775 | 3844 | -DFEATURE_system_sqlite=OFF |
3776 | 3845 | -DFEATURE_webengine_proprietary_codecs=ON |
3777 | 3846 | -DFEATURE_qtpdf_build=ON |
@@ -3785,6 +3854,7 @@ conf.q6_4wx6v2 = { | ||
3785 | 3854 | host = "Win10", |
3786 | 3855 | toolchain = "MSVC2022-64", |
3787 | 3856 | opensslConf = "o3wx6v2", |
3857 | + mysqlConf = "m3_3wx6v2", | |
3788 | 3858 | useCMake = "Latest", |
3789 | 3859 | configureParameter = [[ |
3790 | 3860 | -G"Ninja" |
@@ -3808,6 +3878,9 @@ conf.q6_4wx6v2 = { | ||
3808 | 3878 | -DFEATURE_schannel=ON |
3809 | 3879 | -DFEATURE_sql_sqlite=ON |
3810 | 3880 | -DFEATURE_sql_odbc=ON |
3881 | + -DFEATURE_sql_mysql=ON | |
3882 | + -DMySQL_INCLUDE_DIR="&MYSQLPREFIX&\include" | |
3883 | + -DMySQL_LIBRARY="&MYSQLPREFIX&\lib\mariadb\libmariadb.lib" | |
3811 | 3884 | -DFEATURE_system_sqlite=OFF |
3812 | 3885 | -DFEATURE_webengine_proprietary_codecs=ON |
3813 | 3886 | -DFEATURE_qtpdf_build=ON |
@@ -3916,6 +3989,7 @@ conf.q6_4wx6g2 = { | ||
3916 | 3989 | host = "Win10", |
3917 | 3990 | toolchain = "MinGW1210-64", |
3918 | 3991 | opensslConf = "o3wx6m2", |
3992 | + mysqlConf = "m3_3wx6g2", | |
3919 | 3993 | useCMake = "20", |
3920 | 3994 | configureParameter = [[ |
3921 | 3995 | -G"Ninja" |
@@ -3939,6 +4013,9 @@ conf.q6_4wx6g2 = { | ||
3939 | 4013 | -DFEATURE_schannel=ON |
3940 | 4014 | -DFEATURE_sql_sqlite=ON |
3941 | 4015 | -DFEATURE_sql_odbc=ON |
4016 | + -DFEATURE_sql_mysql=ON | |
4017 | + -DMySQL_INCLUDE_DIR="&MYSQLPREFIX&\include" | |
4018 | + -DMySQL_LIBRARY="&MYSQLPREFIX&\lib\mariadb\liblibmariadb.dll.a" | |
3942 | 4019 | -DFEATURE_system_sqlite=OFF |
3943 | 4020 | -DBUILD_qtopcua=OFF |
3944 | 4021 | ]], |
@@ -4010,6 +4087,7 @@ conf.q6_4wx6u5 = { | ||
4010 | 4087 | host = "Win10", |
4011 | 4088 | toolchain = "MinGWLLVM-ucrt15-64", |
4012 | 4089 | opensslConf = "o3wx6u5", |
4090 | + mysqlConf = "m3_3wx6u5", | |
4013 | 4091 | useCMake = "Latest", |
4014 | 4092 | configureParameter = [[ |
4015 | 4093 | -G"Ninja" |
@@ -4033,6 +4111,9 @@ conf.q6_4wx6u5 = { | ||
4033 | 4111 | -DFEATURE_schannel=ON |
4034 | 4112 | -DFEATURE_sql_sqlite=ON |
4035 | 4113 | -DFEATURE_sql_odbc=ON |
4114 | + -DFEATURE_sql_mysql=ON | |
4115 | + -DMySQL_INCLUDE_DIR="&MYSQLPREFIX&\include" | |
4116 | + -DMySQL_LIBRARY="&MYSQLPREFIX&\lib\mariadb\liblibmariadb.dll.a" | |
4036 | 4117 | -DFEATURE_system_sqlite=OFF |
4037 | 4118 | -DBUILD_qtwebengine=OFF |
4038 | 4119 | -DBUILD_qtopcua=OFF |
@@ -4048,6 +4129,7 @@ conf.q6_4wx6s5 = { | ||
4048 | 4129 | host = "Win10", |
4049 | 4130 | toolchain = "MinGWLLVM-msvcrt15-64", |
4050 | 4131 | opensslConf = "o3wx6s5", |
4132 | + mysqlConf = "m3_3wx6s5", | |
4051 | 4133 | useCMake = "Latest", |
4052 | 4134 | configureParameter = [[ |
4053 | 4135 | -G"Ninja" |
@@ -4071,6 +4153,9 @@ conf.q6_4wx6s5 = { | ||
4071 | 4153 | -DFEATURE_schannel=ON |
4072 | 4154 | -DFEATURE_sql_sqlite=ON |
4073 | 4155 | -DFEATURE_sql_odbc=ON |
4156 | + -DFEATURE_sql_mysql=ON | |
4157 | + -DMySQL_INCLUDE_DIR="&MYSQLPREFIX&\include" | |
4158 | + -DMySQL_LIBRARY="&MYSQLPREFIX&\lib\mariadb\liblibmariadb.dll.a" | |
4074 | 4159 | -DFEATURE_system_sqlite=OFF |
4075 | 4160 | -DBUILD_qtwebengine=OFF |
4076 | 4161 | -DBUILD_qtopcua=OFF |
@@ -4138,6 +4223,7 @@ conf.q6_4mal = { | ||
4138 | 4223 | qtVersion = "6.4.2", |
4139 | 4224 | host = "macOSM1", |
4140 | 4225 | opensslConf = "o3mal", |
4226 | + mysqlConf = "m3_3mal", | |
4141 | 4227 | useCMake = "Latest", |
4142 | 4228 | configureParameter = [[ |
4143 | 4229 | -G"Ninja" |
@@ -4162,6 +4248,9 @@ conf.q6_4mal = { | ||
4162 | 4248 | -DOPENSSL_ROOT_DIR=&OPENSSLDIR& |
4163 | 4249 | -DFEATURE_securetransport=ON |
4164 | 4250 | -DFEATURE_sql_sqlite=ON |
4251 | + -DFEATURE_sql_mysql=ON | |
4252 | + -DMySQL_INCLUDE_DIR="&MYSQLPREFIX&/include" | |
4253 | + -DMySQL_LIBRARY="&MYSQLPREFIX&/lib/mariadb/libmariadb.3.dylib" | |
4165 | 4254 | -DFEATURE_system_sqlite=OFF |
4166 | 4255 | -DFEATURE_webengine_proprietary_codecs=ON |
4167 | 4256 | -DFEATURE_qtpdf_build=ON |
@@ -4178,6 +4267,7 @@ conf.q6_4malnf = { | ||
4178 | 4267 | host = "macOSM1", |
4179 | 4268 | variant = {"-noFramework"}, |
4180 | 4269 | opensslConf = "o3mal", |
4270 | + mysqlConf = "m3_3mal", | |
4181 | 4271 | useCMake = "Latest", |
4182 | 4272 | configureParameter = [[ |
4183 | 4273 | -G"Ninja" |
@@ -4202,6 +4292,9 @@ conf.q6_4malnf = { | ||
4202 | 4292 | -DOPENSSL_ROOT_DIR=&OPENSSLDIR& |
4203 | 4293 | -DFEATURE_securetransport=ON |
4204 | 4294 | -DFEATURE_sql_sqlite=ON |
4295 | + -DFEATURE_sql_mysql=ON | |
4296 | + -DMySQL_INCLUDE_DIR="&MYSQLPREFIX&/include" | |
4297 | + -DMySQL_LIBRARY="&MYSQLPREFIX&/lib/mariadb/libmariadb.3.dylib" | |
4205 | 4298 | -DFEATURE_system_sqlite=OFF |
4206 | 4299 | -DFEATURE_webengine_proprietary_codecs=ON |
4207 | 4300 | -DFEATURE_qtpdf_build=ON |
@@ -4599,6 +4692,7 @@ conf.q6_5wx6v2 = { | ||
4599 | 4692 | host = "Win10", |
4600 | 4693 | toolchain = "MSVC2022-64", |
4601 | 4694 | opensslConf = "o3wx6v2", |
4695 | + mysqlConf = "m3_3wx6v2", | |
4602 | 4696 | useCMake = "Latest", |
4603 | 4697 | configureParameter = [[ |
4604 | 4698 | -G"Ninja" |
@@ -4622,6 +4716,9 @@ conf.q6_5wx6v2 = { | ||
4622 | 4716 | -DFEATURE_schannel=ON |
4623 | 4717 | -DFEATURE_sql_sqlite=ON |
4624 | 4718 | -DFEATURE_sql_odbc=ON |
4719 | + -DFEATURE_sql_mysql=ON | |
4720 | + -DMySQL_INCLUDE_DIR="&MYSQLPREFIX&\include" | |
4721 | + -DMySQL_LIBRARY="&MYSQLPREFIX&\lib\mariadb\libmariadb.lib" | |
4625 | 4722 | -DFEATURE_system_sqlite=OFF |
4626 | 4723 | -DFEATURE_webengine_proprietary_codecs=ON |
4627 | 4724 | -DFEATURE_qtpdf_build=ON |
@@ -4774,6 +4871,7 @@ conf.q6_5wx6g2 = { | ||
4774 | 4871 | host = "Win10", |
4775 | 4872 | toolchain = "MinGW1210-64", |
4776 | 4873 | opensslConf = "o3wx6m2", |
4874 | + mysqlConf = "m3_3wx6g2", | |
4777 | 4875 | useCMake = "20", |
4778 | 4876 | configureParameter = [[ |
4779 | 4877 | -G"Ninja" |
@@ -4797,6 +4895,9 @@ conf.q6_5wx6g2 = { | ||
4797 | 4895 | -DFEATURE_schannel=ON |
4798 | 4896 | -DFEATURE_sql_sqlite=ON |
4799 | 4897 | -DFEATURE_sql_odbc=ON |
4898 | + -DFEATURE_sql_mysql=ON | |
4899 | + -DMySQL_INCLUDE_DIR="&MYSQLPREFIX&\include" | |
4900 | + -DMySQL_LIBRARY="&MYSQLPREFIX&\lib\mariadb\liblibmariadb.dll.a" | |
4800 | 4901 | -DFEATURE_system_sqlite=OFF |
4801 | 4902 | -DBUILD_qtgrpc=OFF |
4802 | 4903 | ]], |
@@ -4913,6 +5014,7 @@ conf.q6_5wx6u5 = { | ||
4913 | 5014 | host = "Win10", |
4914 | 5015 | toolchain = "MinGWLLVM-ucrt15-64", |
4915 | 5016 | opensslConf = "o3wx6u5", |
5017 | + mysqlConf = "m3_3wx6u5", | |
4916 | 5018 | useCMake = "Latest", |
4917 | 5019 | configureParameter = [[ |
4918 | 5020 | -G"Ninja" |
@@ -4936,6 +5038,9 @@ conf.q6_5wx6u5 = { | ||
4936 | 5038 | -DFEATURE_schannel=ON |
4937 | 5039 | -DFEATURE_sql_sqlite=ON |
4938 | 5040 | -DFEATURE_sql_odbc=ON |
5041 | + -DFEATURE_sql_mysql=ON | |
5042 | + -DMySQL_INCLUDE_DIR="&MYSQLPREFIX&\include" | |
5043 | + -DMySQL_LIBRARY="&MYSQLPREFIX&\lib\mariadb\liblibmariadb.dll.a" | |
4939 | 5044 | -DFEATURE_system_sqlite=OFF |
4940 | 5045 | -DBUILD_qtgrpc=OFF |
4941 | 5046 | -DBUILD_qtwebengine=OFF |
@@ -4951,6 +5056,7 @@ conf.q6_5wx6s5 = { | ||
4951 | 5056 | host = "Win10", |
4952 | 5057 | toolchain = "MinGWLLVM-msvcrt15-64", |
4953 | 5058 | opensslConf = "o3wx6s5", |
5059 | + mysqlConf = "m3_3wx6s5", | |
4954 | 5060 | useCMake = "Latest", |
4955 | 5061 | configureParameter = [[ |
4956 | 5062 | -G"Ninja" |
@@ -4974,6 +5080,9 @@ conf.q6_5wx6s5 = { | ||
4974 | 5080 | -DFEATURE_schannel=ON |
4975 | 5081 | -DFEATURE_sql_sqlite=ON |
4976 | 5082 | -DFEATURE_sql_odbc=ON |
5083 | + -DFEATURE_sql_mysql=ON | |
5084 | + -DMySQL_INCLUDE_DIR="&MYSQLPREFIX&\include" | |
5085 | + -DMySQL_LIBRARY="&MYSQLPREFIX&\lib\mariadb\liblibmariadb.dll.a" | |
4977 | 5086 | -DFEATURE_system_sqlite=OFF |
4978 | 5087 | -DBUILD_qtgrpc=OFF |
4979 | 5088 | -DBUILD_qtwebengine=OFF |
@@ -5046,6 +5155,7 @@ conf.q6_5mal = { | ||
5046 | 5155 | qtVersion = "6.5.0-beta2", |
5047 | 5156 | host = "macOSM1", |
5048 | 5157 | opensslConf = "o3mal", |
5158 | + mysqlConf = "m3_3mal", | |
5049 | 5159 | useCMake = "Latest", |
5050 | 5160 | configureParameter = [[ |
5051 | 5161 | -G"Ninja" |
@@ -5070,6 +5180,9 @@ conf.q6_5mal = { | ||
5070 | 5180 | -DOPENSSL_ROOT_DIR=&OPENSSLDIR& |
5071 | 5181 | -DFEATURE_securetransport=ON |
5072 | 5182 | -DFEATURE_sql_sqlite=ON |
5183 | + -DFEATURE_sql_mysql=ON | |
5184 | + -DMySQL_INCLUDE_DIR="&MYSQLPREFIX&/include" | |
5185 | + -DMySQL_LIBRARY="&MYSQLPREFIX&/lib/mariadb/libmariadb.3.dylib" | |
5073 | 5186 | -DFEATURE_system_sqlite=OFF |
5074 | 5187 | -DFEATURE_webengine_proprietary_codecs=ON |
5075 | 5188 | -DFEATURE_qtpdf_build=ON |
@@ -5086,6 +5199,7 @@ conf.q6_5malnf = { | ||
5086 | 5199 | host = "macOSM1", |
5087 | 5200 | variant = {"-noFramework"}, |
5088 | 5201 | opensslConf = "o3mal", |
5202 | + mysqlConf = "m3_3mal", | |
5089 | 5203 | useCMake = "Latest", |
5090 | 5204 | configureParameter = [[ |
5091 | 5205 | -G"Ninja" |
@@ -5110,6 +5224,9 @@ conf.q6_5malnf = { | ||
5110 | 5224 | -DOPENSSL_ROOT_DIR=&OPENSSLDIR& |
5111 | 5225 | -DFEATURE_securetransport=ON |
5112 | 5226 | -DFEATURE_sql_sqlite=ON |
5227 | + -DFEATURE_sql_mysql=ON | |
5228 | + -DMySQL_INCLUDE_DIR="&MYSQLPREFIX&/include" | |
5229 | + -DMySQL_LIBRARY="&MYSQLPREFIX&/lib/mariadb/libmariadb.3.dylib" | |
5113 | 5230 | -DFEATURE_system_sqlite=OFF |
5114 | 5231 | -DFEATURE_webengine_proprietary_codecs=ON |
5115 | 5232 | -DFEATURE_qtpdf_build=ON |