I am seeing this now too all of a sudden after installing the latest Windows Qt SDK 2010.01. Qt configured to dynamic linking, i.e. no change since installation.
I tried the suggested QMAKE_LFLAGS but that was a nogo.
Does this mean I have to add this dll to my installer? If so, then shouldn't this be mentioned in the Application Dependencies on this page:
http://doc.qt.nokia.com/4.6/deployment-windows.html
Last edited by schnitzel; 26th January 2010 at 01:06.
found this:
http://marc.info/?l=mingw-users&w=2&..._dw2-1.dll&q=b
look under 'General Notes' in the first post of that thread.
Deployed apps work after adding this dll, but is it ok for me to distribute it??????
this dependency doesn't seem to exist in Qt 4.5.3, so I'm going back to that.
It's part of GCC, not Qt, and yes, it's OK for you to distribute it under the terms of the LGPL. You can also use the linker option "-static-libgcc" to remove the need for the library.
Or, you can use an older version of MinGW. There's no need to use an older version of Qt.
My app uses qextserialport, so I rebuilt that with the linker flag. Also I rebuilt my app with the linker flag. Unfortunately, it still complains about the libgcc_s_dw2-1.dll.
When I run depends, the missing dll shows up inside the tree for QtGUI.dll and QtCore4.dll. Does this mean I have to reconfigure Qt with the new linker flag?
according to the discussion in this link it might not be ok:
http://old.nabble.com/distributing-L...d25342619.html
Still haven't made any progress on this, I tried several times no luck.
Yes, you would need to rebuild Qt too for this to work, as that also uses the library.
schnitzel (30th January 2010)
Bookmarks