Results 1 to 2 of 2

Thread: DLL don't load libraries

  1. #1
    Join Date
    Mar 2008
    Posts
    55
    Thanks
    2
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default DLL don't load libraries

    Hello everybody, I've developped a Qt library (dll) whitch has 3 functions of connexion/close database and manipulation of data. When I want to test this dll and call it from another program, I can't connect to the database because the dll have not loaded the plugins of the connexion to the database (Ibase in my case). When I do
    Qt Code:
    1. QStringList ActPathList = QCoreApplication::libraryPaths ();
    2. qDebug() << ActPathList.join("-");
    To copy to clipboard, switch view to plain text mode 
    alwyas ActPathList is null.
    I've tried to do the same in a WindowForm projet and it works fine. I've checked the dll projet properties but I've not found anything abnormal.
    I will be very thankfull if anyone can tell me where I'm wrong and what I must to do to resolve this problem.
    Best regards

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: DLL don't load libraries

    Does this "another program" create QApplication or QCoreApplication instance?

Similar Threads

  1. Qt + Eclipse + MinGW + Windows: How to include libraries?
    By jambrek in forum General Programming
    Replies: 3
    Last Post: 19th December 2007, 13:57
  2. Program not compiling on Fresh install of Leopard
    By dvmorris in forum Qt Programming
    Replies: 1
    Last Post: 22nd November 2007, 10:22
  3. Qt 3.3 libraries
    By ToddAtWSU in forum Qt Programming
    Replies: 1
    Last Post: 21st December 2006, 17:25
  4. Replies: 4
    Last Post: 7th March 2006, 08:52
  5. Why I can't load .framework libraries on Mac X?
    By gtthang in forum Qt Programming
    Replies: 0
    Last Post: 17th February 2006, 11:32

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.