Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. CMakeList include mysql
Forum Updated to NodeBB v4.3 + New Features

CMakeList include mysql

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 233 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
    Safer
    wrote on last edited by
    #1

    Hi everyone,
    I'm new to the forum so sorry if I got the wrong section in sending my help post.
    My name is Christian, nice to mee you. :D

    My request for help is the following: I should integrate in my project that uses the CmakeList.txt all the references to include mysql and then be able to use the project with queries for reading and writing on the database.

    Development is on iMac with macOS Monterey and mysql installed.

    Thanks to anyone who can and wants to give me a hand.

    Christian

    1 Reply Last reply
    0
    • VRoninV Offline
      VRoninV Offline
      VRonin
      wrote on last edited by
      #2

      Hi! If you are using the QtSql module to access your DB you don't need to link to mysql directly, the drivers are loaded as plugins so you just need to deploy them, nothing to chage inside your CMakeLists

      "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
      ~Napoleon Bonaparte

      On a crusade to banish setIndexWidget() from the holy land of Qt

      1 Reply Last reply
      1

      • Login

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