Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. How to build a static version of Qt 5.9 with OpenSSL and MariaDB support (os X) ?
Forum Update on Monday, May 27th 2025

How to build a static version of Qt 5.9 with OpenSSL and MariaDB support (os X) ?

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
static mariadbopenssl
2 Posts 2 Posters 1.3k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Selzig
    wrote on 13 Sept 2017, 15:33 last edited by Selzig
    #1

    Hello,
    I'm looking for a step-by-step tutorial to build a static version of Qt 5.9 with OpenSSL and MariaDB support (os 10.12.6).

    Thanks. Selzig.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 13 Sept 2017, 21:11 last edited by
      #2

      Hi and welcome to devnet,

      1. Understand the licensing constraints of using a static build of Qt and be ready to abide by them
      2. Install an up to date version of OpenSSL (the system version is just too old)
      3. Install MariaDB
      4. Download Qt's source
      5. Read documentation about static building
      6. Pass the -openssl-linked as parameter to configure
      7. Pass -sql-mysql as parameter to configure
      8. Pass the -I and -L parameters as needed in order for Qt to find the MariaDB and OpenSSL libraries.
      9. Call make -jX where X is the number of cores of your machine multiplied by 2 plus 1.
      10. Go grab <insert favorite beverage> and look at your processors heating up
      11. Call make install
      12. Enjoy development

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1

      2/2

      13 Sept 2017, 21:11

      • Login

      • Login or register to search.
      2 out of 2
      • First post
        2/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved