Results 1 to 5 of 5

Thread: Templates : Help Please

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Kerala
    Posts
    371
    Thanks
    76
    Thanked 37 Times in 32 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Templates : Help Please

    Is there any issues if a template's implementation and declarations are in seperate files. I am using (GCC) 3.4.3 20041212 (Red Hat 3.4.3-9.EL4). In the Attachments below.
    The TemplateTestError.tar.gz has Implemention of The Item::baseFunction() in Item.cpp and The TemplateTestSuccess.tar.gz has Implemention of The Item::baseFunction() in Item.h itself. Please not that the baseFunction() implemention is not an inline.

    Please go through the Attachments;It would be great if some one could point out where i am going wrong. and Give links or tips on this Issue.

    Thanks in Advance
    Attached Files Attached Files
    We can't solve problems by using the same kind of thinking we used when we created them

Similar Threads

  1. Templates Confusion
    By baray98 in forum General Programming
    Replies: 6
    Last Post: 23rd November 2008, 11:14
  2. templates / Q_OBJECT question
    By _borker_ in forum Qt Programming
    Replies: 6
    Last Post: 19th December 2007, 20:35
  3. dynamic_cast and templates
    By KShots in forum General Programming
    Replies: 7
    Last Post: 7th August 2007, 20:01
  4. templates and Q_OBJECT
    By TheKedge in forum General Programming
    Replies: 12
    Last Post: 15th September 2006, 05:41
  5. Templates vcapp and subdirs together
    By xgoan in forum Newbie
    Replies: 1
    Last Post: 24th August 2006, 10:46

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.