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. How to compile and get odbc sqldrivers for MSSQLSERVER in Qt5.
QtWS25 Last Chance

How to compile and get odbc sqldrivers for MSSQLSERVER in Qt5.

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 918 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.
  • R Offline
    R Offline
    rahulvishwakarma
    wrote on last edited by
    #1

    hi to all,

            I've installed Qt5.3.1 with MS Visual studio 2010 to use 
    

    visual studio library (or compiler) in Qt5.3.1. Now I want to build odbc driver
    for sqlserver 2008 r2, located in PATH :-

    bq. C:\Qt\Qt5.3.1\5.3\Src\qtbase\src\plugins\sqldrivers\odbc
    having file name "odbc.pro"

    I opened this file in QtCreator and run in Qt-IDE.

    after that Qt says no executables fond.

    bq. but found plugins in C:\plugins\sqldrivers :-
    qsqlodbc.dll,
    qsqlodbc.exp,
    qsqlodbc.lib,
    qsqlodbcd.dll,
    qsqlodbcd.exp,
    qsqlodbcd.ilk,
    qsqlodbcd.lib
    qsqlodbcd.pdb

    and the following :-

    bq. C:\lib\cmake\Qt5Sql\Qt5Sql_QODBCDriverPlugin.cmake

    and also :-

    bq. C:\mkspecs\modules\qt_plugin_qsqlodbc.pri

    &

    bq. C:\mkspecs\modules-inst\qt_plugin_qsqlodbc.pri

    What to do with these files.

    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