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

QODBC driver not loaded

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 1.0k Views 1 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.
  • P Offline
    P Offline
    prabuqt
    wrote on last edited by
    #1

    Hi everyone.
    I have implemented QtWidget->QtGui application using the sqlserver2008 database, and those are working fine.
    But I am not able to connect to database while I am creating QtWidget->Mobile Qt Application. When I am executing the proj, It is giving an error like
    @QSqlDatabase: QODBC driver not loaded
    QSqlDatabase: available drivers: QSQLITE@
    What might be the problem, Can anyone help in this. My Os is Windows 7 Thanks in advance.

    1 Reply Last reply
    0
    • C Offline
      C Offline
      Code_ReaQtor
      wrote on last edited by
      #2

      Simply, you don't have the QODBC driver. It is a plugin. You only have QSQLITE on your "arsenal".

      You have to build the QODBC driver from source.

      Please visit my open-source projects at https://github.com/Code-ReaQtor.

      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