Results 1 to 5 of 5

Thread: Hello friends, I have a problem in QT

  1. #1
    Join Date
    Mar 2008
    Posts
    8
    Qt products
    Qt4
    Platforms
    Windows

    Question Hello friends, I have a problem in QT

    Hello friends, I'm new to this forum.

    I'm working on C++ with QT tool.
    I'm using ODBC driver manager to connect to DB.
    The problem is I'm getting following message at runtime,

    QSqlDatabase: QODBC3 driver not loaded
    QSqlDatabase: availbale drivers:
    I'm using using QT4.3.2 ver.
    I don't know what has gone wrong.

    Any idea what may be wrong?
    Last edited by jpn; 2nd April 2008 at 07:47. Reason: missing [quote] tags

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Hello friends, I have a problem in QT

    Hi, you have to build the ODBC plugin. For more details: QODBC for Open Database Connectivity (ODBC) (read through till "How to Build the ODBC Plugin on Windows").
    J-P Nurmi

  3. #3
    Join Date
    Mar 2008
    Posts
    8
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Hello friends, I have a problem in QT

    Quote Originally Posted by jpn View Post
    Hi, you have to build the ODBC plugin. For more details: QODBC for Open Database Connectivity (ODBC) (read through till "How to Build the ODBC Plugin on Windows").
    Thanks jpn.
    I'll try your idea.

  4. #4
    Join Date
    Mar 2008
    Posts
    8
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Hello friends, I have a problem in QT

    Quote Originally Posted by jpn View Post
    Hi, you have to build the ODBC plugin. For more details: QODBC for Open Database Connectivity (ODBC) (read through till "How to Build the ODBC Plugin on Windows").
    Hi jpn,

    I got an odbc.pro file after following the mentioned process.

    Actually I'm writing an C interface for a C++ lib, which uses QT and QODBC facilities.
    I copied that odbc.pro to the dir where i'm testing my C interface.

    This is didn't solve my problem.
    Please can relate your solution to current situation and check what is the problem ?

    Actually I'm a newbie to QT.
    Thanks in advance.

  5. #5
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Hello friends, I have a problem in QT

    Huh? The instructions say nothing about copying odbc.pro to anywhere... odbc.pro is the project file of the ODBC plugin. Just generate a makefile and build the ODBC plugin project like instructed.
    J-P Nurmi

Similar Threads

  1. Tricky problem with ARGB widget / UpdateLayeredWindow
    By nooky59 in forum Qt Programming
    Replies: 3
    Last Post: 21st February 2008, 10:35
  2. Graphics view display problem.
    By kiranraj in forum Qt Programming
    Replies: 3
    Last Post: 20th July 2007, 07:08
  3. [QMYSQL] connection problem
    By chaos_theory in forum Installation and Deployment
    Replies: 5
    Last Post: 2nd July 2007, 09:52
  4. Grid Layout Problem
    By Seema Rao in forum Qt Programming
    Replies: 2
    Last Post: 4th May 2006, 12:45
  5. Replies: 16
    Last Post: 7th March 2006, 15:57

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.