hi to all, i've Qt 5.7 in Centos 7 in VM, i am trying to build small program.
#include "mymainwindow.h"
#include <QApplication>
int main(int argc, char *argv[])
{
MyMainWindow w;
w.show();
return a.exec();
}
#include "mymainwindow.h"
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
MyMainWindow w;
w.show();
return a.exec();
}
To copy to clipboard, switch view to plain text mode
in qwidget.h :-
public Q_SLOTS:
// Widget management functions
virtual void setVisible(bool visible);
void setHidden(bool hidden);
void show(); // <-- here is showing error
void hide();
void showMinimized();
void showMaximized();
void showFullScreen();
void showNormal();
bool close();
void raise();
void lower();
public Q_SLOTS:
// Widget management functions
virtual void setVisible(bool visible);
void setHidden(bool hidden);
void show(); // <-- here is showing error
void hide();
void showMinimized();
void showMaximized();
void showFullScreen();
void showNormal();
bool close();
void raise();
void lower();
To copy to clipboard, switch view to plain text mode
Bookmarks