Results 1 to 4 of 4

Thread: DLL dependency?

  1. #1
    Join Date
    Apr 2006
    Posts
    1
    Qt products
    Qt3
    Platforms
    Unix/X11 Windows

    Default DLL dependency?

    hi,
    i realised that the .exe's only run on the machine where qt is installed because of the file qtmtnc321.dll.
    i am using qt 3.0 (bought the book "C++ GUI Programming with Qt 3" by Blanchette and Summerfield) on windows xp.
    i was told to configure with -static option but that doesn't work.
    is this a fixable problem or is this part of the "deal" when you use the qt version supplied with the book, i.e. a wanted dependency?
    thanks,
    duschl

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: DLL dependency?

    You can't recompile the non-commercial version as you don't have its sources. You have to stick with library bundled with the book. Or you can switch to Qt4 of course

  3. #3
    Join Date
    Feb 2006
    Posts
    209
    Thanks
    13
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: DLL dependency?

    With Qt 4, I can compile qt static, and then compile my programs with qmake -project, qmake, make in windows, but the exe file does not include everything that is needed to run. there are some dev-C++ (mingw) libs that are not included.
    What should I do to make it include all I need into the exe file?

  4. #4
    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: DLL dependency?

    Quote Originally Posted by Morea
    What should I do to make it include all I need into the exe file?
    http://qtnode.net/wiki/Distributing_...t_applications
    J-P Nurmi

Similar Threads

  1. qmake: dependency of application on common shared library
    By PeterWurmsdobler in forum Qt Programming
    Replies: 5
    Last Post: 27th March 2009, 16:13
  2. dependency file for Qt application to deploy
    By rajeshs in forum Installation and Deployment
    Replies: 5
    Last Post: 11th August 2008, 09:59
  3. QCheckBox dependency
    By jd in forum Qt Programming
    Replies: 2
    Last Post: 1st April 2008, 13:12
  4. qmake+flex dependency problem
    By nurtsi in forum Qt Programming
    Replies: 1
    Last Post: 20th February 2008, 08:11
  5. Replies: 11
    Last Post: 18th May 2007, 10: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.