Thanks for your help with the singleton approach, I will keep that in mind if I have to use it later, but I have located my problem.
I was referring to my custom settings class which used a pointer to a QSettings object. I fixed this by just explicately defining it in my header file. The reason for the error was that when I was experimenting before I commented the #include settings.h line and that caused the problem.
Thanks a lot for your help though, sorry for having you go through all that trouble
Also, one final question - if I define an object in a header file, what is it's parent?
Bookmarks