Results 1 to 3 of 3

Thread: is there a maximim on public declarations ?

  1. #1
    Join Date
    Sep 2008
    Location
    Flanders/Belgium
    Posts
    12
    Qt products
    Qt4
    Platforms
    Unix/X11

    Red face is there a maximim on public declarations ?

    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

    Sorry if this is a no Qt question.
    Vito
    from Flanders/Belgium

  2. #2
    Join Date
    Aug 2008
    Location
    Ukraine, Krivoy Rog
    Posts
    1,963
    Thanked 370 Times in 336 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: is there a maximim on public declarations ?

    can you show compilable code with this problem?

  3. #3
    Join Date
    Sep 2008
    Location
    Flanders/Belgium
    Posts
    12
    Qt products
    Qt4
    Platforms
    Unix/X11

    Red face Re: is there a maximim on public declarations ?

    Quote Originally Posted by spirit View Post
    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
    But if a similar problem comes up again I shall post it right away, and wait for replies before I start to panic ...
    Vito
    from Flanders/Belgium

Similar Threads

  1. Delayed Rendering of QTabWidget Tabs
    By mclark in forum Qt Tools
    Replies: 13
    Last Post: 14th May 2007, 22:53
  2. link error for visual studio.net 2003
    By berlin in forum Newbie
    Replies: 9
    Last Post: 29th September 2006, 16:06
  3. Link Errors
    By magikalpnoi in forum Qt Programming
    Replies: 5
    Last Post: 25th September 2006, 22:04
  4. Repaint QTreeWidget
    By AceTheFace in forum Qt Programming
    Replies: 4
    Last Post: 9th August 2006, 23:34

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.