On Saturday 12 Jul 2003 2:20 am, Amish K. Munshi wrote:
run (this is the problem) the pogram it gives the following error.
QPaintDevice: Must construct a QApplication before a QPaintDevice Segmentation fault
Are you sure this is not the problem? Do you create an instance of QApplication in your main function for example. You need to have one for majority of Qt apps, take a look at main.cpp files of any of the example program. Dont know about the static stuff you mentioned, pass a minimal code you think should work that is not working, and may be people can suggest more.
qt-interest@trolltech.com is a good mailing list you should be in if you are trying to learn Qt, its highly responsive, and you may get the feel of the common coding patterns and practices when using Qt, by the discussions over there.