I downloaded the latest version in the repository and unless the tutorial im following is incorrect in the #include function then im lost.
here is the code im trying to compile taken from the tutorial.

#include <QtGui>

int main(int argc, char *argv[])
{
    QApplication app(argc, argv);
    QLabel label("Hello, world!");
    label.show();
    return app.exec();
}

is there anything wrong with it?.

i found the includes but codeblocks won't pick them up. they are in /usr/include/qt4/.

any help? im just trying to set up qt4 after that im good i understand the syntax its just really confusing on how to set it up the documentation is shot.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.