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. Corretade way to extend a component
QtWS25 Last Chance

Corretade way to extend a component

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 450 Views
  • 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 tried to create an inherited component of QLineEdit class. But it is giving error: undefined symbol Link2019 external. I do not know what can be. For I have put my diretrize "include".
    @
    #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