Installing Qt Libraries

I Want to run this code on Ubuntu Linux but i obviously need to install the Qt library onto my computer. Where do i download this from and where do i save these files so that the compiler can find them? Thanks.
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <QApplication>
    #include <QPushButton>

    int main(int argc, char *argv[])
    {
        QApplication app(argc, argv);

        QPushButton hello("Hello world!");
        hello.resize(100, 30);

        hello.show();
        return app.exec();
    }

Last edited on
Topic archived. No new replies allowed.