I have some problems with compiling "hello world" application in kubuntu linux 11.10. This is project file:

// opengltext.pro
SOURCES += \
    main.cpp
QT += opengl

And one cpp file:

    // main.cpp

    #include <QApplication>

    int main( int argc, char *argv[] )
    {
        QApplication app( argc, argv );
        return app.exec();
    }

i have got the following errors:

:-1: error: cannot find -lGLU
:-1: error: cannot find -lGL
:-1: error: collect2: ld returned 1 exit status

I try find in google the solution of this problem. But didn't find. i try to install:

sudo apt-get install libglw1-mesa-dev

but this error is still taking place

What's the problem?

Edit
Report