Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

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

    Installation and Deployment
    3
    16
    514
    Loading More Posts
    • 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
      Malibob last edited by

      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?

      jsulm 1 Reply Last reply Reply Quote 0
      • jsulm
        jsulm Lifetime Qt Champion @Malibob last edited by

        @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 Reply Quote 0
        • M
          Malibob @jsulm last edited by

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

          jsulm 1 Reply Last reply Reply Quote 0
          • jsulm
            jsulm Lifetime Qt Champion @Malibob last edited by

            @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 Reply Quote 0
            • M
              Malibob @jsulm last edited by

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

              jsulm 1 Reply Last reply Reply Quote 0
              • jsulm
                jsulm Lifetime Qt Champion @Malibob last edited by

                @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 Reply Quote 0
                • M
                  Malibob @jsulm last edited by

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

                  jsulm 1 Reply Last reply Reply Quote 0
                  • jsulm
                    jsulm Lifetime Qt Champion @Malibob last edited by

                    @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 Reply Quote 0
                    • M
                      Malibob @jsulm last edited by

                      @jsulm try it. Same results

                      jsulm 1 Reply Last reply Reply Quote 0
                      • jsulm
                        jsulm Lifetime Qt Champion @Malibob last edited by

                        @Malibob Did you try from a clean state?

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

                        M 1 Reply Last reply Reply Quote 0
                        • M
                          Malibob @jsulm last edited by

                          @jsulm No idea about clean state

                          jsulm 1 Reply Last reply Reply Quote 0
                          • jsulm
                            jsulm Lifetime Qt Champion @Malibob last edited by

                            @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 Reply Quote 0
                            • M
                              Malibob @jsulm last edited by

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

                              jsulm 1 Reply Last reply Reply Quote 0
                              • jsulm
                                jsulm Lifetime Qt Champion @Malibob last edited by

                                @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 Reply Quote 0
                                • M
                                  Malibob @jsulm last edited by

                                  @jsulm same results

                                  1 Reply Last reply Reply Quote 0
                                  • Q
                                    qtlearning last edited by

                                    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 Reply Quote 0
                                    • First post
                                      Last post