parameters: (self, clib, framework=0)
return_statement: return prl_libs
docstring: Return a list of additional libraries (in platform specific form)
          that must be linked with a library.
  
          clib is the library name in cannonical form.
          framework is set of the library is implemented as a MacOS framework.
docstring_summary: Return a list of additional libraries (in platform specific form)
          that must be linked with a library.
docstring_tokens: Return a list of additional libraries ( in platform specific form ) that must be linked with a library .
function: def _dependent_libs(self, clib, framework=0):
          """Return a list of additional libraries (in platform specific form)
          that must be linked with a library.
  
          clib is the library name in cannonical form.
          framework is set of the library is implemented as a MacOS framework.
          """
          prl_libs = []
  
          if self.generator in ("MSVC", "MSVC.NET", "MSBUILD", "BMAKE"):
              prl_name = os.path.join(self.config.qt_lib_dir, clib + ".prl")
          elif sys.platform == "darwin" and framework:
              prl_name = os.path.join(self.config.qt_lib_dir, clib + ".framework", clib + ".prl")
          else:
              prl_name = os.path.join(self.config.qt_lib_dir, "lib" + clib + ".prl")
  
          if os.access(prl_name, os.F_OK):
              try:
                  f = open(prl_name, "r")
              except IOError:
                  error("Unable to open \"%s\"" % prl_name)
  
              line = f.readline()
              while line:
                  line = line.strip()
                  if line and line[0] != "#":
                      eq = line.find("=")
                      if eq > 0 and line[:eq].strip() == "QMAKE_PRL_LIBS":
                          prl_libs = line[eq + 1:].split()
                          break
  
                  line = f.readline()
  
              f.close()
  
          return prl_libs
function_tokens: def _dependent_libs ( self , clib , framework = 0 ) : prl_libs = [ ] if self . generator in ( "MSVC" , "MSVC.NET" , "MSBUILD" , "BMAKE" ) : prl_name = os . path . join ( self . config . qt_lib_dir , clib + ".prl" ) elif sys . platform == "darwin" and framework : prl_name = os . path . join ( self . config . qt_lib_dir , clib + ".framework" , clib + ".prl" ) else : prl_name = os . path . join ( self . config . qt_lib_dir , "lib" + clib + ".prl" ) if os . access ( prl_name , os . F_OK ) : try : f = open ( prl_name , "r" ) except IOError : error ( "Unable to open \"%s\"" % prl_name ) line = f . readline ( ) while line : line = line . strip ( ) if line and line [ 0 ] != "#" : eq = line . find ( "=" ) if eq > 0 and line [ : eq ] . strip ( ) == "QMAKE_PRL_LIBS" : prl_libs = line [ eq + 1 : ] . split ( ) break line = f . readline ( ) f . close ( ) return prl_libs