Heritage with QLineEdit

  • Hello. I created an extended class QLineEdit. Apparently it's all right but when I go to instantiate it gives an error: undefined external symbol LINK2019. I put the include right. But I do not know what can be. Could someone help me?

    #ifndef MEUCAMPO_H
    #define MEUCAMPO_H

    #include <QLineEdit>

    class MeuCampo : public QLineEdit
    explicit MeuCampo(QWidget *parent = 0);


    public slots:


    #endif // MEUCAMPO_H

    #include "meucampo.h"

    MeuCampo::MeuCampo(QWidget *parent) :


Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.