http://forums.fedoraforum.org – Hello, I installed qt-creator 4.5.3 in fedora 12 (gnome) . I then created an empty Qt projet and added a main.cpp as below Code: #include <QApplication> #include <QPushButton> int main(int argc, char *argv[]) { QApplication app(argc, argv); QPushButton *button = new QPushButton("Quit"); QObject::connect(button, SIGNAL(clicked()), &app, SLOT(quit())); button->show(); return app.exec(); } When I try to compile this code, I get around 1800 errors. some of them are like this: Starting: /usr/bin/make -w make: Entering directory `/home/max/book_examples' gcc -c -pipe -g -Wall -W -D_REENTRANT -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. -o main.o main.c In file included from /usr/include/QtCore/qobjectdefs.h:45, from /usr/include/QtCore/qobject.h:47, from /usr/include/QtCore/qcoreapplication.h:45, from /usr/include/QtGui/qapplication.h:45, from /usr/include/QtGui/QApplication:1, from main.c:1: /usr/include/QtCore/qnamespace.h: In function QT_MODULE: /usr/include/QtCore/qnamespace.h:54: error: expected declaration specifiers before namespace /usr/include/QtCore/qnamespace.h:1629: error: expected declaration specifiers before Q_DECLARE_OPERATORS_FOR_FLAGS /usr/include/QtCore/qnamespace.h:1645: error: expected declaration specifiers before class /usr/include/QtCore/qnamespace.h:1698: error: expected declaration specifiers before ; token In file included from /usr/include/QtCore/qobject.h:47, from /usr/include/QtCore/qcoreapplication.h:45, from /usr/include/QtGui/qapplication.h:45, from /usr/include/QtGui/QApplication:1, Anyone who has seen this? I have no clue how to proceed :( thanks for the help (HowTos)