Results 1 to 7 of 7

Thread: Deploymnet on windwos Xp

  1. #1
    Join Date
    May 2008
    Posts
    276
    Thanks
    13
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Deploymnet on windwos Xp

    I have bundled all the files (exe an Qt libraries) by menas of an installer (Innosetup).
    Now on my computer (which has the qt libraries installed) I can nicely run the application without any problems.
    But: If I install the package on another pc (without qt libraries) a strange segmentation faul is fired (I think it is a seg fault, because windows just say "this application cause an exception....).
    My package uses Sqlite.
    After the installation I can see in the installation folder all the files (exe and Qt libraries).
    Please help

  2. #2
    Join Date
    May 2008
    Posts
    276
    Thanks
    13
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Deploymnet on windwos Xp

    Moreover,
    with the dependency walker, I discovered that
    1) msjava.dll is missing
    2) qtnetwork is missing.
    But i never used qtnetwork!!!
    Please help

  3. #3
    Join Date
    May 2008
    Posts
    276
    Thanks
    13
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Deploymnet on windwos Xp - Solved

    The problem is QSQLITE: I have to install also the sqldrivers.
    In particular I have to add, beside QSqlite4.dll, also qsqlite4.dll found in the sqldrivers plug-ing dir of Qt.
    But I do not understand why I should do this. Why these are different dll? And why they are needed both?
    G

  4. The following user says thank you to giusepped for this useful post:

    Grimlock (16th November 2008)

  5. #4
    Join Date
    Nov 2008
    Location
    Częstochowa/Poland
    Posts
    50
    Thanks
    2
    Thanked 11 Times in 11 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Deploymnet on windwos Xp

    Hi I'm having the same problems. Could You please give me a list of .dll files one needs to include in order get my app up and running. My application dies when it tries to create a databaseconnection, it fails due to the lack of sqlite on the target system (I made a function listing the drivers available on the system and QSqlite is missing ). I have tried adding the qsqlited4.dll and the qsqlite4.dll (my app is still in debug). Sorry for beaing so lame

    Ok i got it running the qsqlite.dll needs to be an folder named sqldrivers. And all is fine
    Last edited by Grimlock; 15th November 2008 at 11:15.

  6. #5
    Join Date
    May 2008
    Location
    Melbourne, Australia
    Posts
    136
    Thanks
    9
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Deployment on windows Xp

    Yeah I also had the same problem and didn't figure it out until I read this:
    http://doc.trolltech.com/4.4/plugins-howto.html

    At least you got an error message - with phonon it fails silently!
    Last edited by rbp; 1st December 2008 at 23:26. Reason: spelling error

  7. #6
    Join Date
    Mar 2008
    Location
    Kraków, Poland
    Posts
    1,539
    Thanked 284 Times in 279 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Deploymnet on windwos Xp

    This is a very useful tool Dependency Walker.com

  8. #7
    Join Date
    Nov 2008
    Posts
    142
    Thanks
    3
    Thanked 20 Times in 20 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Smile Re: Deploymnet on windwos Xp

    Quote Originally Posted by giusepped View Post
    But i never used qtnetwork!!!
    You probably used a part of Qt that depends on qtnetwork. I have written an application that, by itself, doesn't use qtnetwork, but it uses qtwebkit, and that in turn seems to depend on qtnetwork.

    The aforementioned Dependency Walker is a great tool to figure out what libraries an application requires. I always use it for determining what I have to package.

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.