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. How to Build the MySQL plugin for Qt Using MySQL Server 8.0?
Forum Updated to NodeBB v4.3 + New Features

How to Build the MySQL plugin for Qt Using MySQL Server 8.0?

Scheduled Pinned Locked Moved Solved Installation and Deployment
16 Posts 3 Posters 1.2k 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.
  • M Offline
    M Offline
    Malibob
    wrote on 25 May 2020, 07:28 last edited by
    #1

    I'm new to QT. I tried to Installing QMYSQL driver by using MySQL Server8.0. But I'm unable to build the MySQL plugin for Qt. I tried many ways and that thing does not help to me. I followed this link. And results like this
    qt.JPG How can I solve this?

    J 1 Reply Last reply 25 May 2020, 07:48
    0
    • M Malibob
      25 May 2020, 07:28

      I'm new to QT. I tried to Installing QMYSQL driver by using MySQL Server8.0. But I'm unable to build the MySQL plugin for Qt. I tried many ways and that thing does not help to me. I followed this link. And results like this
      qt.JPG How can I solve this?

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 25 May 2020, 07:48 last edited by
      #2

      @Malibob This was asked many times here. Please search for this topic in this forum.

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

      M 1 Reply Last reply 25 May 2020, 08:00
      0
      • J jsulm
        25 May 2020, 07:48

        @Malibob This was asked many times here. Please search for this topic in this forum.

        M Offline
        M Offline
        Malibob
        wrote on 25 May 2020, 08:00 last edited by
        #3

        @jsulm Yes i sow them & try them. But anything did not solve my problem.

        J 1 Reply Last reply 25 May 2020, 08:02
        0
        • M Malibob
          25 May 2020, 08:00

          @jsulm Yes i sow them & try them. But anything did not solve my problem.

          J Offline
          J Offline
          jsulm
          Lifetime Qt Champion
          wrote on 25 May 2020, 08:02 last edited by
          #4

          @Malibob Check the config.log file to see what exactly is the problem.

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

          M 1 Reply Last reply 25 May 2020, 08:13
          0
          • J jsulm
            25 May 2020, 08:02

            @Malibob Check the config.log file to see what exactly is the problem.

            M Offline
            M Offline
            Malibob
            wrote on 25 May 2020, 08:13 last edited by
            #5

            @jsulm It's show error " source failed verification " config.JPG

            J 1 Reply Last reply 25 May 2020, 08:14
            0
            • M Malibob
              25 May 2020, 08:13

              @jsulm It's show error " source failed verification " config.JPG

              J Offline
              J Offline
              jsulm
              Lifetime Qt Champion
              wrote on 25 May 2020, 08:14 last edited by
              #6

              @Malibob In one of the MySQL threads in this forum I saw exactly this compiler error, so please search.

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

              M 1 Reply Last reply 25 May 2020, 10:07
              0
              • J jsulm
                25 May 2020, 08:14

                @Malibob In one of the MySQL threads in this forum I saw exactly this compiler error, so please search.

                M Offline
                M Offline
                Malibob
                wrote on 25 May 2020, 10:07 last edited by
                #7

                @jsulm I think you talk about this. But it does not help. This is already wast my 4 days.

                J 1 Reply Last reply 25 May 2020, 10:32
                0
                • M Malibob
                  25 May 2020, 10:07

                  @jsulm I think you talk about this. But it does not help. This is already wast my 4 days.

                  J Offline
                  J Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on 25 May 2020, 10:32 last edited by
                  #8

                  @Malibob Your MYSQL_LIBDIR is wrong: it should be lib64 not ib64. Also add a space between MYSQL_INCDIR and MYSQL_LIBDIR.

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

                  M 1 Reply Last reply 25 May 2020, 10:49
                  0
                  • J jsulm
                    25 May 2020, 10:32

                    @Malibob Your MYSQL_LIBDIR is wrong: it should be lib64 not ib64. Also add a space between MYSQL_INCDIR and MYSQL_LIBDIR.

                    M Offline
                    M Offline
                    Malibob
                    wrote on 25 May 2020, 10:49 last edited by
                    #9

                    @jsulm try it. Same results

                    J 1 Reply Last reply 25 May 2020, 10:55
                    0
                    • M Malibob
                      25 May 2020, 10:49

                      @jsulm try it. Same results

                      J Offline
                      J Offline
                      jsulm
                      Lifetime Qt Champion
                      wrote on 25 May 2020, 10:55 last edited by
                      #10

                      @Malibob Did you try from a clean state?

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

                      M 1 Reply Last reply 25 May 2020, 11:03
                      0
                      • J jsulm
                        25 May 2020, 10:55

                        @Malibob Did you try from a clean state?

                        M Offline
                        M Offline
                        Malibob
                        wrote on 25 May 2020, 11:03 last edited by
                        #11

                        @jsulm No idea about clean state

                        J 1 Reply Last reply 25 May 2020, 11:05
                        0
                        • M Malibob
                          25 May 2020, 11:03

                          @jsulm No idea about clean state

                          J Offline
                          J Offline
                          jsulm
                          Lifetime Qt Champion
                          wrote on 25 May 2020, 11:05 last edited by
                          #12

                          @Malibob Clean state means that there are no build artefacts from previous builds/runs...

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

                          M 1 Reply Last reply 25 May 2020, 11:13
                          0
                          • J jsulm
                            25 May 2020, 11:05

                            @Malibob Clean state means that there are no build artefacts from previous builds/runs...

                            M Offline
                            M Offline
                            Malibob
                            wrote on 25 May 2020, 11:13 last edited by
                            #13

                            @jsulm No I didn't. How can i do it?

                            J 1 Reply Last reply 25 May 2020, 11:40
                            0
                            • M Malibob
                              25 May 2020, 11:13

                              @jsulm No I didn't. How can i do it?

                              J Offline
                              J Offline
                              jsulm
                              Lifetime Qt Champion
                              wrote on 25 May 2020, 11:40 last edited by
                              #14

                              @Malibob Best would be to reinstall the Qt source code because you did in-source build. After you have clean source code tree do out-of-source build:

                              • Create a build directory outside of the Qt source code
                              • Go to this directory and call qmake

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

                              M 1 Reply Last reply 25 May 2020, 11:48
                              0
                              • J jsulm
                                25 May 2020, 11:40

                                @Malibob Best would be to reinstall the Qt source code because you did in-source build. After you have clean source code tree do out-of-source build:

                                • Create a build directory outside of the Qt source code
                                • Go to this directory and call qmake
                                M Offline
                                M Offline
                                Malibob
                                wrote on 25 May 2020, 11:48 last edited by
                                #15

                                @jsulm same results

                                1 Reply Last reply
                                0
                                • Q Offline
                                  Q Offline
                                  qtlearning
                                  wrote on 25 May 2020, 18:46 last edited by
                                  #16

                                  You need to use c connector. Substitute Sqldriver folder from Qt download according to your version , and follow the indication from the page https://www.google.com/url?sa=t&source=web&rct=j&url=https://doc.qt.io/qt-5/sql-driver.html&ved=2ahUKEwiKhrSL1s_pAhVDb60KHStrCXsQFjAAegQIAhAC&usg=AOvVaw27LJuH0fzvO_OMjwMPCwYW. With this steps I build the drive.

                                  1 Reply Last reply
                                  0

                                  2/16

                                  25 May 2020, 07:48

                                  topic:navigator.unread, 14
                                  • Login

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