PDA

View Full Version : is there a maximim on public declarations ?



vito49
13th October 2008, 16:43
Hello,

A new problem ... maybe nothing to do with Qt ....

My program uses a lot of public declarations in the MainWindow class (it's written for Linux with Qt4.3) and now I came to a point where I cannot add another declaration ... well, I can, but when I try to run the program nothing happens, the program won't start. After emoving the declaration everything is back to normal.
Simply adding something like "QLabel *newLabel" is already too much, everything compiles without errors but the program doesn't start.
Seems strange to me, but I'm a complete newbie :o

Sorry if this is a no Qt question.

spirit
13th October 2008, 16:46
can you show compilable code with this problem?

vito49
14th October 2008, 09:05
can you show compilable code with this problem?

Sorry too late for that ... i was in panic and started to delete as much functions as possible, kicking out all unnecessary horns and bells. The application works again, with less features, but I'm going to build it up again, maybe that's a good way to learn :D
But if a similar problem comes up again I shall post it right away, and wait for replies before I start to panic ... :o