Results 1 to 20 of 22

Thread: Fixed a problem. Help me understand why :)

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #16
    Join Date
    Jun 2012
    Posts
    98
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows
    Thanks
    11

    Default Re: Fixed a problem. Help me understand why :)

    The example function is referring to a function that wasn't in a class. I.E.

    Qt Code:
    1. //Header.h
    2.  
    3. class __declspec(dllimport) foo
    4. {
    5. void glarc() {}; //!!<-this is not what the comment is referring to
    6. void bar()
    7. }
    8.  
    9.  
    10. //source.cpp
    11. __declspec(dllexport) void foo::bar() {} //!!<- this is what the comment is referring to
    To copy to clipboard, switch view to plain text mode 
    Last edited by tescrin; 1st August 2012 at 22:06.

Similar Threads

  1. trying to understand qsettings ...
    By kerim in forum Newbie
    Replies: 7
    Last Post: 28th April 2011, 13:30
  2. Replies: 6
    Last Post: 13th May 2010, 13:54
  3. Something i am not understand about Qt.
    By HeX0R in forum Newbie
    Replies: 8
    Last Post: 12th February 2010, 04:37
  4. need help .not able to understand.......
    By sh123 in forum Qt Programming
    Replies: 1
    Last Post: 20th January 2009, 01:50
  5. PyQt QTimer problem { FIXED }
    By WinchellChung in forum Newbie
    Replies: 0
    Last Post: 1st March 2008, 16:50

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
  •  
Qt is a trademark of The Qt Company.