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. PySide2 without drivers QSql
QtWS25 Last Chance

PySide2 without drivers QSql

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 366 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.
  • A Offline
    A Offline
    Alexandre E Souza
    wrote on last edited by
    #1

    I`m start with pyside2 and how I run

    from PySide2.QtSql import QSqlDatabase, QSqlDriver
    
    print(QSqlDatabase.drivers())
    

    out is []
    I have a dylib in /usr/local/mysql/lib

    libmysqlclient.18.dylib libmysqlclient_r.18.dylib
    libmysqlclient.20.dylib libmysqlclient_r.dylib
    libmysqlclient.dylib libqsqlite.dylib

    but don`t show drivers in my app

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      How did you install PySide2 ?

      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
      0
      • A Offline
        A Offline
        Alexandre E Souza
        wrote on last edited by
        #3

        I`m install using anaconda

        conda install -c conda-forge pyside2
        
        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