Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Heritage with QLineEdit
Qt 6.11 is out! See what's new in the release blog

Heritage with QLineEdit

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 1.2k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    insdo
    wrote on last edited by
    #1

    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
    {
    Q_OBJECT
    public:
    explicit MeuCampo(QWidget *parent = 0);

    signals:

    public slots:

    };

    #endif // MEUCAMPO_H

    #include "meucampo.h"

    MeuCampo::MeuCampo(QWidget *parent) :
    QLineEdit(parent)
    {
    }

    @

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved