Index: bksys/libpng.py
===================================================================
--- bksys/libpng.py	(revision 480194)
+++ bksys/libpng.py	(working copy)
@@ -18,7 +18,7 @@
 				# TODO: png lib requires zlib, so add it by default, this should be better solved by specifing a dependency 
 				env['CPPPATH_PNG'] = [qtdir + "\\src\\3rdparty\\libpng",qtdir + "\\src\\3rdparty\\zlib"]
 				env['LIBPATH_PNG'] = [qtdir + "\\lib"]
-				env['LIB_PNG'] = ['QtCore4'] # TODO: check if debug version is used 
+				env['LIB_PNG'] = env['LIB_QTCORE']
 				env['CACHED_PNG'] = 1
 				ret = 1
 
Index: bksys/libjpeg.py
===================================================================
--- bksys/libjpeg.py	(revision 480194)
+++ bksys/libjpeg.py	(working copy)
@@ -17,7 +17,11 @@
 				# TODO: check if libjpeg is really in QTCore lib 
 				env['CPPPATH_JPEG'] = [qtdir + "\\src\\3rdparty\\libjpeg"]
 				env['LIBPATH_JPEG'] = [qtdir + "\\lib"]
-				env['LIB_JPEG'] = ['QtCore4'] # TODO: check if debug version is used 
+				env['LIB_JPEG'] = env['LIB_QTCORE']
 				env['CACHED_JPEG'] = 1
 				ret = 1
 
Index: bksys/libz.py
===================================================================
--- bksys/libz.py	(revision 480194)
+++ bksys/libz.py	(working copy)
@@ -17,7 +17,7 @@
 				# TODO: check if libz is really in QTCore lib 
 				env['CPPPATH_Z'] = [qtdir + "\\src\\3rdparty\\zlib"]
 				env['LIBPATH_Z'] = [qtdir + "\\lib"]
-				env['LIB_Z'] = ['QtCore4'] # TODO: check if debug version is used 
+				env['LIB_Z'] = env['LIB_QTCORE']
 				env['CACHED_Z'] = 1
 				ret = 1
 
