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. QMYSQL plugin on MacOS Catalina
Qt 6.11 is out! See what's new in the release blog

QMYSQL plugin on MacOS Catalina

Scheduled Pinned Locked Moved Solved General and Desktop
20 Posts 3 Posters 1.1k 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.
  • A Offline
    A Offline
    alexcru
    wrote on last edited by
    #10

    So a tried I typed this code:
    qt-cmake -G"Ninja" /Users/alex/Qt/6.1.0/Src/qtbase/src/plugins/sqldrivers -DCMAKE_INSTALL_PREFIX=/Users/alex/Qt/6.1.0/Src/qtbase/src/plugins/sqldrivers/mysql -DMySQL_INCLUDE_DIR="/usr/local/mysql/include" -DMySQL_LIBRARY="/usr/local/mysql-8.0.25-macos11-x86_64/lib/libmysqlclient.dylib"

    but i get this message:
    Screen Shot 2021-05-14 at 18.09.04.png

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

      Install ninja

      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
      • A Offline
        A Offline
        alexcru
        wrote on last edited by
        #12

        Now i get this error:
        Screen Shot 2021-05-14 at 18.33.11.png

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

          You have "configuring error" just above. You might want to take a look at that first.

          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
          • A Offline
            A Offline
            alexcru
            wrote on last edited by
            #14

            This are the rezults:
            Screen Shot 2021-05-14 at 21.55.09.png

            Screen Shot 2021-05-14 at 21.55.56.png

            1 Reply Last reply
            0
            • A Offline
              A Offline
              alexcru
              wrote on last edited by
              #15

              Can anyone help me with this error?

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

                That one at least is wrong: @alexcru said in QMYSQL plugin on MacOS Catalina:

                CMAKE_INSTALL_PREFIX

                You do not want to install in the sources.

                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
                • A Offline
                  A Offline
                  alexcru
                  wrote on last edited by
                  #17

                  Sorry to bother again but now i get this error:

                  Screen Shot 2021-05-16 at 15.48.33.png

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

                    Which version of cmake do you have ?

                    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
                    • A Offline
                      A Offline
                      alexcru
                      wrote on last edited by
                      #19

                      I have resolved the problem, thanks tor the help.

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

                        What was it ?

                        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

                        • Login

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