Note that if you want to release your program under the GNU GPL, and still link with libcwd (and distribute the resulting binaries) then you can easily do that. You can resolve the legal conflict for your program by adding a notice like this to it:
As a special exception, you have permission to link this program with the libcwd library and distribute executables, as long as you follow the requirements of the GNU GPL in regard to all of the software in the executable aside from libcwd.
You can do this, legally, if you are the copyright holder for the program. Add it in the source files, after the notice that says the program is covered by the GNU GPL. [ Source: http://www.gnu.org/philosophy/license-list.html section "The Qt Public License (QPL)." ].
Copyright © 2001 - 2004 Carlo Wood. All rights reserved.