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 error in Qt
Forum Updated to NodeBB v4.3 + New Features

MYSQL error in Qt

Scheduled Pinned Locked Moved Solved General and Desktop
23 Posts 7 Posters 3.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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #13

    Hi,

    You are likely not in the right folder, likely in your Qt installation rather than 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
    1
    • A Offline
      A Offline
      Alfie Anil
      wrote on last edited by
      #14

      So I opened the terminal from the qt5.13.2 mingw32. Is that where i open the terminal from or is it another directory?

      1 Reply Last reply
      0
      • Christian EhrlicherC Offline
        Christian EhrlicherC Offline
        Christian Ehrlicher
        Lifetime Qt Champion
        wrote on last edited by
        #15

        @Alfie-Anil said in MYSQL error in Qt:

        Is that where i open the terminal from or is it another directory?

        That's correct. But then you have to go to the correct source dir as you can see in the documentation: <srcdir>\qtbase\src\plugins\sqldrivers
        Is it really that hard to follow the instructions?

        Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
        Visit the Qt Academy at https://academy.qt.io/catalog

        1 Reply Last reply
        2
        • A Offline
          A Offline
          Alfie Anil
          wrote on last edited by
          #16

          I've tried everything said but still comes up with the exact error.

          Christian EhrlicherC 1 Reply Last reply
          0
          • A Alfie Anil

            I've tried everything said but still comes up with the exact error.

            Christian EhrlicherC Offline
            Christian EhrlicherC Offline
            Christian Ehrlicher
            Lifetime Qt Champion
            wrote on last edited by
            #17

            @Alfie-Anil said in MYSQL error in Qt:

            I've tried everything said but still comes up with the exact error.

            Did you really call the correct qmake in the correct directory? I would guess no.

            Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
            Visit the Qt Academy at https://academy.qt.io/catalog

            1 Reply Last reply
            0
            • A Offline
              A Offline
              Alfie Anil
              wrote on last edited by
              #18

              @Christian-Ehrlicher Yes I did. As stated in the documentation I cd to the correct directory and then followed the commands as given.

              jsulmJ 1 Reply Last reply
              0
              • A Alfie Anil

                @Christian-Ehrlicher Yes I did. As stated in the documentation I cd to the correct directory and then followed the commands as given.

                jsulmJ Offline
                jsulmJ Offline
                jsulm
                Lifetime Qt Champion
                wrote on last edited by
                #19

                @Alfie-Anil The question was rather: did you call correct qmake?
                To make sure you call correct qmake use absolute path (instead of simply calling qmake).

                https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                0
                • A Offline
                  A Offline
                  Alfie Anil
                  wrote on last edited by
                  #20

                  So do you mean 'C:<NecessaryDirectory>? Yes

                  jsulmJ 1 Reply Last reply
                  0
                  • A Alfie Anil

                    So do you mean 'C:<NecessaryDirectory>? Yes

                    jsulmJ Offline
                    jsulmJ Offline
                    jsulm
                    Lifetime Qt Champion
                    wrote on last edited by
                    #21

                    @Alfie-Anil Yes, absolute path like c:\Qt\5.12.0\mingw73_64\bin\qmake.exe

                    https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply
                    0
                    • A Offline
                      A Offline
                      Alfie Anil
                      wrote on last edited by
                      #22

                      Yes That's what I did

                      1 Reply Last reply
                      0
                      • A Offline
                        A Offline
                        Alfie Anil
                        wrote on last edited by
                        #23

                        @jsulm Actually I did get it working. But then I ran into the problem that although the problem was gone, none of the sql commands would not work so I was trying to fix that. Then, I ran into a problem with the computer which meant I had to reset the computer. So now I have to do it all over again (hahaha). (I've tried all the steps I did before)

                        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