Hi,
I'm fairly new to Qt.
In a larger GUI programming project, on Linux with Qt Creator 5.2. Now I need to split things up and therefor make som tests
I'm about to make a namespace test and in order for that, I create a new QApplication, compile out of the box - OK
Next I add a new C++ class that inherit from QObject.
Straight out of the box, it compiles
Now when I add the class it fails to compile straight of with two errors
Error: all: "No such file or directory"
[first] Error 1
Guess it has to do with paths missing but where??
Suggestions??
Qt Code:
#include <QMainWindow> namespace Ui { class MainWindow; } { Q_OBJECT public: ~MainWindow(); .... #include <QObject> { Q_OBJECT public: signals: ... // in .cpp #include "first.h" { }To copy to clipboard, switch view to plain text mode
Bookmarks