4.3. Resources

Qt resources are used in qtHaskell in a standard way. Since only the method of loading compiled resources is feasible in qtHaskell without preprocessing the Haskell code, the wrapper of the registerResource function searches for the resource file in the directory of the program executable by default on all systems, irrespective of where the program is executed from.