I am new to Qt programming, with good understanding of C++.
I bought Prentice Hall Book, "C++ GUI Programming with Qt 4, Second Edition" by Blanchette and Summerfield. (2008 Published)
I have downloaded this books source code files from the book publisher's web site.
I have downloaded and installed on Windows, latest trial version of Qt free for about one month.
Following is above book's first program:
// hello.cpp
#include <QApplication>
#include <QLabel>
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
QLabel *label = new QLabel("Hello Qt!");
label->show();
return app.exec();
}
Qt is saying No such file or directory for both QApplication and QLabel
Is there a way to fix above program, build and run please?
This book has many excellent Qt programming chapters. I like to be able to load the projects from this book into Qt Creator practice the Qt concepts please
Thanks,
Mike
Bookmarks