Hi. I've got a problem. When I tried to compile the program, there appear error:
undefined reference to 'abcziom()' in maker.cpp. Here are those two files:
Maker.cpp
#include <QtGui>
#include "maker.h"
{
ui.setupUi(this);
}
void MainWindow::abcziom()
{
}
#include <QtGui>
#include "maker.h"
MainWindow::MainWindow(QMainWindow *parent)
: QMainWindow(parent)
{
ui.setupUi(this);
}
void MainWindow::abcziom()
{
}
To copy to clipboard, switch view to plain text mode
Maker.h
#ifndef MAKER_H
#define MAKER_H
#include "ui_maker.h"
class MainWindow
: public QMainWindow,
public Ui
::MainWindow {
Q_OBJECT
public:
private slots:
void abcziom();
private:
Ui::MainWindow ui;
};
#endif
#ifndef MAKER_H
#define MAKER_H
#include "ui_maker.h"
class MainWindow : public QMainWindow, public Ui::MainWindow
{
Q_OBJECT
public:
MainWindow(QMainWindow *parent = 0);
private slots:
void abcziom();
private:
Ui::MainWindow ui;
};
#endif
To copy to clipboard, switch view to plain text mode
Main.cpp, and ui_maker.h which I won't post, becauce is not problematic relationship. I really don't know what is this error about. Regards
Bookmarks