PDA

View Full Version : DLL dependency?



duschl
5th April 2006, 11:24
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

wysota
5th April 2006, 11:36
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 :)

Morea
10th April 2006, 17:16
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?

jpn
10th April 2006, 17:34
What should I do to make it include all I need into the exe file?
http://qtnode.net/wiki/Distributing_Win32_Qt_applications