Results 1 to 2 of 2

Thread: No warning at not defined functions

  1. #1
    Join Date
    Jun 2013
    Posts
    20
    Thanks
    8
    Qt products
    Qt5
    Platforms
    Windows

    Default No warning at not defined functions

    Hi guys,

    when I code a class in QtCreator and I declare a class method but I do not define it, QtCreator does not issue a warning. Cut I would like to have a warning or issue or whatever just to be sure that i defined everything.

    Is there a way how I can tell QtCreator to give me a list? Is this a QtCreator issue at all or do I have to set a flag in gcc to do that?

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: No warning at not defined functions

    The compiler will tell you as soon as you try to call any such method.
    Or more precisely the linker as it will be unable to find the method's definition.

    Cheers,
    _

Similar Threads

  1. Replies: 6
    Last Post: 3rd December 2012, 07:26
  2. Replies: 2
    Last Post: 7th July 2010, 00:14
  3. Multiply defined symbols
    By jblovloss in forum Qwt
    Replies: 0
    Last Post: 17th July 2009, 16:47
  4. Own defined Dockareas
    By jobrandt in forum Qt Programming
    Replies: 7
    Last Post: 18th July 2007, 10:48
  5. MSG not defined (winEvent)
    By December in forum Qt Programming
    Replies: 6
    Last Post: 19th February 2007, 16:24

Tags for this Thread

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.