https://bugs.kde.org/show_bug.cgi?id=524946

--- Comment #9 from [email protected] ---
Maik,

The VCPKG libmariadb that i use to compile the QtSQL plugin is this port
definition:

{
  "name": "libmariadb",
  "version-semver": "3.4.8",
  "description": "MariaDB Connector/C is used to connect C/C++ applications to
MariaDB and MySQL databases",
  "homepage": "https://github.com/mariadb-corporation/mariadb-connector-c";,
  "license": "LGPL-2.1-or-later",
  "supports": "!uwp & !xbox",
  "dependencies": [
    {
      "name": "libmariadb",
      "features": [
        "iconv"
      ],
      "platform": "windows"
    },
    {
      "name": "libmariadb",
      "features": [
        "openssl"
      ],
      "platform": "!windows"
    },
    {
      "name": "vcpkg-cmake",
      "host": true
    },
    {
      "name": "vcpkg-cmake-config",
      "host": true
    },
    "zlib"
  ],
  "features": {
    "iconv": {
      "description": "Enables character set conversion",
      "dependencies": [
        {
          "name": "libiconv",
          "platform": "!windows"
        }
      ]
    },
    "openssl": {
      "description": "Use OpenSSL",
      "dependencies": [
        "openssl"
      ]
    },
    "zstd": {
      "description": "Build zstd compression plugin.",
      "dependencies": [
        "zstd"
      ]
    }
  }
}

There is 3 options available for the compilation: openssl, inconv, and zstd.

I need to turn on all these ones ?

To compare, the previous version of the Windows installer was compiled with the
QtSQL + libmysql instead libmariadb :

    "sql-mysql": {
      "description": "Enable SQL Driver MySQL",
      "dependencies": [
        "libmysql",
        {
          "name": "qtbase",
          "default-features": false,
          "features": [
            "sql"
          ]
        }
      ]
    },

And the libmysql port content is a little different than libmariadb :

{
  "name": "libmysql",
  "version": "8.0.46",
  "description": "A MySQL client library for C development",
  "homepage": "https://github.com/mysql/mysql-server";,
  "license": "GPL-2.0-or-later",
  "supports": "!android & !mingw & !uwp & !xbox",
  "dependencies": [
    "boost-algorithm",
    "boost-functional",
    "boost-geometry",
    "boost-graph",
    "boost-optional",
    {
      "name": "libmysql",
      "host": true
    },
    "lz4",
    {
      "name": "ncurses",
      "platform": "!windows | mingw"
    },
    "openssl",
    "rapidjson",
    {
      "name": "vcpkg-cmake",
      "host": true
    },
    {
      "name": "vcpkg-cmake-config",
      "host": true
    },
    "zlib",
    "zstd"
  ]
}

Note : in qtbase port definition, i just replaced libmysql by libmariadb.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to