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. Excluding libmysqlclient.18.dylib as a dependency
Forum Updated to NodeBB v4.3 + New Features

Excluding libmysqlclient.18.dylib as a dependency

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
3 Posts 2 Posters 646 Views 1 Watching
  • 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
    sethcall
    wrote on last edited by sethcall
    #1

    I'm trying to sign our app using macdeployqt, and the signing process is failing in Qt 5.5 because it's trying to find libmysqlclient.18.dylib. I can't distribute this library legally, as our app is not a FOSS app.

    We don't use mysql; this is coming in, I think, automatically from QtSql, which we don't have a direct dependency on (but QtWebkit, which we do use, depends on QtSql).

    So I'd like to exclude this dependency entirely.

    I think I see from here that it might be possible to compile Qt from source using some of the options described here: http://qt.apidoc.info/5.2.0/qtcore/plugins-howto.html. Ugh. I try my best to avoid compiling Qt. It is very easy to build things incorrectly, as I'm sure many in this forum know.

    Is there a way that does not require re-compiling Qt to get this dependency on mysql out of our app?

    Thanks for any help!
    Seth

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Just remove the plugins you don't use i.e. only keep the SQLite plugin and you should be good to go.

      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
      0
      • S Offline
        S Offline
        sethcall
        wrote on last edited by
        #3

        Thanks for your response. I'm trying this...

        1 Reply Last reply
        0

        • Login

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