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. QSqlDatabase: QMYSQL driver not loaded
Forum Updated to NodeBB v4.3 + New Features

QSqlDatabase: QMYSQL driver not loaded

Scheduled Pinned Locked Moved Unsolved General and Desktop
20 Posts 5 Posters 1.5k Views 2 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.
  • C Offline
    C Offline
    Christian Ehrlicher
    Lifetime Qt Champion
    wrote on 19 Jan 2025, 16:50 last edited by
    #11

    See https://forum.qt.io/search?in=posts&term=sbom&matchWords=all&by=&categories=&searchChildren=false&hasTags=&replies=&repliesFilter=atleast&timeFilter=newer&timeRange=&sortBy=relevance&sortDirection=desc&showAs=posts

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

    T 1 Reply Last reply 19 Jan 2025, 17:01
    0
    • C Christian Ehrlicher
      19 Jan 2025, 16:50

      See https://forum.qt.io/search?in=posts&term=sbom&matchWords=all&by=&categories=&searchChildren=false&hasTags=&replies=&repliesFilter=atleast&timeFilter=newer&timeRange=&sortBy=relevance&sortDirection=desc&showAs=posts

      T Offline
      T Offline
      ThiagoSys
      wrote on 19 Jan 2025, 17:01 last edited by
      #12

      @Christian-Ehrlicher

      You said in one of the posts linked above to Update to 6.8.2 / 6.9.0
      But when I run my code with plugin version 6.7.3 I got the following error
      Cannot mix incompatible Qt library (6.7.3) with this library (6.8.1)

      If I install version 6.8.2 wouldn't this incompatibility happen in the same way?

      1 Reply Last reply
      0
      • C Offline
        C Offline
        Christian Ehrlicher
        Lifetime Qt Champion
        wrote on 19 Jan 2025, 17:07 last edited by
        #13

        I also wrote that you can apply the patch...

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

        T 1 Reply Last reply 19 Jan 2025, 17:14
        0
        • C Christian Ehrlicher
          19 Jan 2025, 17:07

          I also wrote that you can apply the patch...

          T Offline
          T Offline
          ThiagoSys
          wrote on 19 Jan 2025, 17:14 last edited by
          #14

          @Christian-Ehrlicher Can you provide me with an explanation on how to apply the patch?

          1 Reply Last reply
          0
          • T Offline
            T Offline
            ThiagoSys
            wrote on 19 Jan 2025, 18:39 last edited by
            #15

            Can anyone tell me how to compile SBOM?

            1 Reply Last reply
            0
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 19 Jan 2025, 19:56 last edited by
              #16

              From the looks of it, you can also disable the sbom. See this comment on the bug report.

              As for patching, do you know how to apply a diff ?
              If not, one possible solution is to just copy the two files from 6.8.2 into your current sources but I would encourage you to learn how to apply a patch.

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

              T 1 Reply Last reply 20 Jan 2025, 01:52
              0
              • S SGaist
                19 Jan 2025, 19:56

                From the looks of it, you can also disable the sbom. See this comment on the bug report.

                As for patching, do you know how to apply a diff ?
                If not, one possible solution is to just copy the two files from 6.8.2 into your current sources but I would encourage you to learn how to apply a patch.

                T Offline
                T Offline
                ThiagoSys
                wrote on 20 Jan 2025, 01:52 last edited by
                #17

                @SGaist
                I tried to learn how to apply a patch but it's complicated, I'm Brazilian and I can't find much about it in Portuguese.
                About disabling sbom I tried adding the commands -DQT_GENERATE_SBOM=OFF and -no-sbom but it didn't change. I'm thinking about giving up and doing it the traditional way

                J 1 Reply Last reply 20 Jan 2025, 06:21
                0
                • T ThiagoSys
                  20 Jan 2025, 01:52

                  @SGaist
                  I tried to learn how to apply a patch but it's complicated, I'm Brazilian and I can't find much about it in Portuguese.
                  About disabling sbom I tried adding the commands -DQT_GENERATE_SBOM=OFF and -no-sbom but it didn't change. I'm thinking about giving up and doing it the traditional way

                  J Offline
                  J Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on 20 Jan 2025, 06:21 last edited by
                  #18

                  @ThiagoSys What about this suggestion from @SGaist : "one possible solution is to just copy the two files from 6.8.2 into your current sources"?

                  And applying patches isn't isn't complicated.

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

                  T 1 Reply Last reply 20 Jan 2025, 16:45
                  1
                  • J jsulm
                    20 Jan 2025, 06:21

                    @ThiagoSys What about this suggestion from @SGaist : "one possible solution is to just copy the two files from 6.8.2 into your current sources"?

                    And applying patches isn't isn't complicated.

                    T Offline
                    T Offline
                    ThiagoSys
                    wrote on 20 Jan 2025, 16:45 last edited by
                    #19

                    @jsulm
                    I don't know exactly which files I should copy and to which source

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on 20 Jan 2025, 16:58 last edited by SGaist
                      #20

                      If you go to the patch linked in the bug report, you'll see the exact path of the two files that have been modified in qtbase.

                      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

                      20/20

                      20 Jan 2025, 16:58

                      • Login

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