Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. German
  4. qt 5.11.1, win 7, mysql8 Treiber
Forum Updated to NodeBB v4.3 + New Features

qt 5.11.1, win 7, mysql8 Treiber

Scheduled Pinned Locked Moved Unsolved German
3 Posts 2 Posters 948 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.
  • S Offline
    S Offline
    Schroedinger
    wrote on last edited by
    #1

    Ich probiere mysql und qt zum laufen zu bringen.

    EckDaten: qt 5.11.1
    win 7
    mysql8

    Ich habe bereits verstanden, dass man für mysql extra treiber erstellen muss.

    \qt\5.11.1\Src\qtbase\src\plugins\sqldrivers\mysql

    Dort öffne ich die mysql.pro mit qtCreator und probiere qmake aufzuführen, leider kommt der Fehler:

    error: Library 'mysql' is not defined.

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

      Auch wenn der Beitrag auf englisch ist: https://forum.qt.io/topic/40672/how-to-create-the-plugin-of-mysql-for-qt

      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
      • S Offline
        S Offline
        Schroedinger
        wrote on last edited by Schroedinger
        #3

        Danke, ich habe es bis 4. gemacht. Jedoch funktioniert dort reimp libmysql.dll nicht.

        Jetzt funktioniert reimp. Habe es einfach in den Ordner kopiert, weil das mit der DOS prompt nicht funktioniert hat.Jedoch kommt die Fehlermeldung:
        reimp: libmysql.dll: invalid or corrupt import library

        Ich glaube ich habe das nicht richtig gemacht:
        Now that you have everything set, open the Qt DOS prompt it should be installed, I have Win8 so i have a link to it, at the home screen.

        Ich muss auch noch anmerken, dass bei mysql 8 die pfade nicht mehr stimmen und die mysql.dll nur noch im alten C connector enthalten ist.

        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