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. [MYSQL-Qt] Create plugin MYSQL for Qt on MAC

[MYSQL-Qt] Create plugin MYSQL for Qt on MAC

Scheduled Pinned Locked Moved Unsolved General and Desktop
22 Posts 14 Posters 6.8k 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.
  • O overmatch

    i tried, and almost every step is absolutely like yours, but at last step, i still get "drivers not loaded"

    SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #11

    @overmatch A maybe silly question but did you call make install at the end ?

    What do you get if you start the application with the QT_DEBUG_PLUGINS environment variable set to 1 ?

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

      @Quang-Phu said in [MYSQL-Qt] Create plugin MYSQL for Qt on MAC:

      /usr/local/mysql/lib/

      Brilliant, I have been beating my head against the wall on this for a week or so before finding your post. Worked like a charm...thank you so much for taking the time to share.

      1 Reply Last reply
      0
      • I Offline
        I Offline
        Imon
        wrote on last edited by Imon
        #13

        Could anyone tell me where/how to add the environment variable"DYLD_LIBRARY_PATH"??
        I am using qt5.14.2 and I couldn’t figure out how to add it

        SGaistS 1 Reply Last reply
        0
        • I Imon

          Could anyone tell me where/how to add the environment variable"DYLD_LIBRARY_PATH"??
          I am using qt5.14.2 and I couldn’t figure out how to add it

          SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #14

          @Imon hi and welcome to devnet,

          If using Qt Creator, go to the Run part of the Project panel.

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

          I 1 Reply Last reply
          0
          • SGaistS SGaist

            @Imon hi and welcome to devnet,

            If using Qt Creator, go to the Run part of the Project panel.

            I Offline
            I Offline
            Imon
            wrote on last edited by
            #15

            @SGaist
            Thank you very much. I found it, it was assigned to a different dir, and it works

            1 Reply Last reply
            0
            • E Offline
              E Offline
              Eternus
              wrote on last edited by Eternus
              #16

              @Quang-Phu said in [MYSQL-Qt] Create plugin MYSQL for Qt on MAC:

              make sub-mysql

              i stopped on. this he says me :
              macbook@MacBook-Pro-uzivatela-Macbook sqldrivers % make sub-mysql
              make: *** No rule to make target `sub-mysql'. Stop.
              macbook@MacBook-Pro-uzivatela-Macbook sqldrivers %

              me sqldrivers folder:
              Screenshot 2020-08-27 at 11.45.18.png

              SGaistS 1 Reply Last reply
              0
              • E Eternus

                @Quang-Phu said in [MYSQL-Qt] Create plugin MYSQL for Qt on MAC:

                make sub-mysql

                i stopped on. this he says me :
                macbook@MacBook-Pro-uzivatela-Macbook sqldrivers % make sub-mysql
                make: *** No rule to make target `sub-mysql'. Stop.
                macbook@MacBook-Pro-uzivatela-Macbook sqldrivers %

                me sqldrivers folder:
                Screenshot 2020-08-27 at 11.45.18.png

                SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #17

                @Eternus you are already getting answered in your thread. Please don't pile up in other threads.

                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
                • H Offline
                  H Offline
                  Hang Zhang
                  wrote on last edited by
                  #18

                  Thanks a lot. I fixed my problem in 1hour due to this topic.

                  1 Reply Last reply
                  0
                  • O overmatch

                    i tried, and almost every step is absolutely like yours, but at last step, i still get "drivers not loaded"

                    M Offline
                    M Offline
                    MuGongZi
                    wrote on last edited by
                    #19

                    @overmatch have you solve this problem ,i have the same problem

                    1 Reply Last reply
                    0
                    • L Offline
                      L Offline
                      losimen
                      wrote on last edited by
                      #20
                      This post is deleted!
                      1 Reply Last reply
                      0
                      • L Offline
                        L Offline
                        losimen
                        wrote on last edited by
                        #21

                        Hey guys, who are strugling with same problem on Mac M1. Follow steps that are descripted here: https://forum.qt.io/topic/136231/mysql-plugin-on-m1-mac/11

                        1 Reply Last reply
                        0
                        • supergS Offline
                          supergS Offline
                          superg
                          wrote on last edited by
                          #22
                          This post is deleted!
                          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