Boost meta state machine and Qt



  • I would like to combine Qt meta state machine with Qt
    but there are a problem I can't solve

    @
    #include <boost/msm/back/state_machine.hpp>

    #include <QMainWindow>

    namespace Ui {
    class MainWindow;
    }

    class MainWindow : public QMainWindow
    {
    Q_OBJECT

    public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();

    private:
    Ui::MainWindow *ui;
    };
    @

    Will show error messages like

    :-1: error: [debug/moc_MainWindow.cpp] Error 1
    file not fount

    How could I solve this question?Thanks


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.