Results 1 to 4 of 4

Thread: Configure Qt for SQLITE on Linux platform

  1. #1
    Join Date
    Mar 2009
    Posts
    116
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Smile Configure Qt for SQLITE on Linux platform

    Hello ,

    I had developed a qt application on windows which uses sqlite database,now I want to run this application on linux,what steps are needed to configure linux for sqlite?

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: Configure Qt for SQLITE on Linux platform

    The sdk libraries have build in sqlite support.

  3. #3
    Join Date
    Mar 2009
    Posts
    116
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Unhappy Re: Configure Qt for SQLITE on Linux platform

    I m using Qt 4.4.3 on linux

    I hav added

    Qt Code:
    1. QT += sql
    To copy to clipboard, switch view to plain text mode 

    in .pro file

    and in .cpp file I written code
    Qt Code:
    1. #include <Qtsql>
    To copy to clipboard, switch view to plain text mode 

    but while compiling its giving me error

    Qt Code:
    1. error: Qtsql: No such file or directory
    To copy to clipboard, switch view to plain text mode 

  4. #4
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: Configure Qt for SQLITE on Linux platform

    #include <QtSql>

    It's case sensitive

Similar Threads

  1. Configure error building Qt 4.4.3 on Red Hat Enterprise Linux 4
    By montylee in forum Installation and Deployment
    Replies: 2
    Last Post: 5th December 2008, 18:40
  2. Cannot configure -platform win32-msvc2008, no nmake.exe
    By Jason Hamilton in forum Installation and Deployment
    Replies: 3
    Last Post: 1st September 2008, 10:05
  3. setting main window icon on linux platform
    By jyoti kumar in forum Qt Programming
    Replies: 4
    Last Post: 21st June 2007, 09:53
  4. -platform linux-g++-32 flag for qsa?
    By larry104 in forum Installation and Deployment
    Replies: 2
    Last Post: 21st December 2006, 19:46
  5. generating beep sound in Qt under linux platform
    By babusunlux in forum Qt Programming
    Replies: 10
    Last Post: 7th July 2006, 06:38

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.