Results 1 to 12 of 12

Thread: Running Qt Assistant stand alone

  1. #1
    Join Date
    Jan 2011
    Posts
    24
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Running Qt Assistant stand alone

    Hi,

    I've copied the assistant and the dependent files which were built statically during deployment of my application. I've deployed the application in another system and exported the library path as LD_LIBRARY_PATH as given in deployment document. When i run assistant , it is giving error "cannot load sqlite database driver!". Please give solution to this problem.

  2. #2
    Join Date
    Jan 2006
    Location
    Napoli, Italy
    Posts
    621
    Thanks
    5
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Running Qt Assistant stand alone

    you need to copy the sqldrivers directory
    A camel can go 14 days without drink,
    I can't!!!

  3. #3
    Join Date
    Jan 2011
    Posts
    24
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Running Qt Assistant stand alone

    I've copied the files in the directory in the application folder, even then the same error is occuring

  4. #4
    Join Date
    Jan 2006
    Location
    Napoli, Italy
    Posts
    621
    Thanks
    5
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Running Qt Assistant stand alone

    You must create a "sqldrivers" directory and copy qsqlite4 plugin in it.

    Read here
    A camel can go 14 days without drink,
    I can't!!!

  5. #5
    Join Date
    Jan 2011
    Posts
    24
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Running Qt Assistant stand alone

    how do i get qsqlite4 plugin?

  6. #6
    Join Date
    Jan 2006
    Location
    Napoli, Italy
    Posts
    621
    Thanks
    5
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Running Qt Assistant stand alone

    If QTDIR is the path where have installed Qt, you find in <QTDIR>/plugins
    A camel can go 14 days without drink,
    I can't!!!

  7. #7
    Join Date
    Jan 2011
    Posts
    24
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Running Qt Assistant stand alone

    The plugins present were libqsqlite.so

  8. #8
    Join Date
    Jan 2006
    Location
    Napoli, Italy
    Posts
    621
    Thanks
    5
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Running Qt Assistant stand alone

    This is the plugin.

    For Linux you have lib<plugin_name>.so, for Windows <plugin_name>.dll
    A camel can go 14 days without drink,
    I can't!!!

  9. #9
    Join Date
    Jan 2011
    Posts
    24
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Running Qt Assistant stand alone

    I've copied the plugin in the folder, even then it says "cannot load drivers"

  10. #10
    Join Date
    Jan 2006
    Location
    Napoli, Italy
    Posts
    621
    Thanks
    5
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Running Qt Assistant stand alone

    Can you post the directory structure of your installation??
    A camel can go 14 days without drink,
    I can't!!!

  11. #11
    Join Date
    Jan 2011
    Posts
    24
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Running Qt Assistant stand alone

    Directory strucure is

    /home/QtUser/AppExe/lib/plugins/sqldrivers

    Assistant is present in

    /home/QtUser/AppExe

  12. #12
    Join Date
    Jan 2006
    Location
    Napoli, Italy
    Posts
    621
    Thanks
    5
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Running Qt Assistant stand alone

    ok, the directory must be

    /home/QtUser/AppExe/sqldrivers

    Read here form more details
    Last edited by mcosta; 13th July 2011 at 14:52. Reason: updated contents
    A camel can go 14 days without drink,
    I can't!!!

Similar Threads

  1. Stand alone app
    By wolfi3b in forum Newbie
    Replies: 4
    Last Post: 26th September 2010, 11:46
  2. stand alone dll under qt application
    By ami in forum Qt Programming
    Replies: 3
    Last Post: 15th June 2010, 13:42
  3. Replies: 2
    Last Post: 21st August 2009, 04:54
  4. Stand-alone colorbar (no canvas)
    By llamas in forum Qwt
    Replies: 3
    Last Post: 20th August 2008, 08:47
  5. how to make a stand alone .exe with VS
    By Masih in forum General Programming
    Replies: 1
    Last Post: 20th May 2007, 07:05

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.