please I create a Qt widgets application with the default options but when i run it it's not working and these errors appear I'm using ubuntu 17.04 and Qt version 5.0.2
:-1: error: cannot find -lGL
:-1: error: collect2: error: ld returned 1 exit status
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
private:
Ui::MainWindow *ui;
};
#endif // MAINWINDOW_H