Results 1 to 8 of 8

Thread: Errors

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jul 2007
    Posts
    104
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows
    Thanks
    22
    Thanked 1 Time in 1 Post

    Default Re: Errors

    #ifndef ABSTRACTCLASS_H_
    #define ABSTRACTCLASS_H_

    #include <QWidget>

    class AbstractClass : public QWidget
    {
    public:
    AbstractClass(QWidget *parent)
    :QWidget(parent){}
    virtual void Show()=0;
    };
    #endif

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    28
    Thanked 976 Times in 912 Posts

    Default Re: Errors

    Is programEditor.h listed in HEADERS variable in your .pro file?

  3. #3
    Join Date
    Jul 2007
    Posts
    104
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows
    Thanks
    22
    Thanked 1 Time in 1 Post

    Default Re: Errors

    yes.It is listed.

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    28
    Thanked 976 Times in 912 Posts

    Default Re: Errors

    Do you have only one .pro file? Do you SUBDIRS template?

Similar Threads

  1. Ui class errors
    By calef13 in forum Qt Programming
    Replies: 2
    Last Post: 4th November 2007, 14:53
  2. why i am getting errors:: undefined reference to
    By arunchaudhary1983 in forum Newbie
    Replies: 5
    Last Post: 22nd October 2007, 11:33
  3. Qt Compile Errors?
    By magikalpnoi in forum Qt Programming
    Replies: 4
    Last Post: 14th September 2006, 23:18
  4. Qt 4.1.0 - static examples run with errors!
    By Elder Orb in forum Qt Programming
    Replies: 1
    Last Post: 12th January 2006, 10:40

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.