Skip to content

Squish

This is where all questions related to Squish belong

62 Topics 164 Posts
  • Squish 7 got released!

    1
    1 Votes
    1 Posts
    501 Views
    No one has replied
  • Public slots not visibl in Squish

    Moved Solved
    7
    0 Votes
    7 Posts
    3k Views
    C

    Hello @supot.

    Squish for Qt only exposes "public" APIs. You must declare the desired slots public.

    As a test I added...

    public slots: int GetColorCode(); QString GetRGBColorCode();

    ...to squish_dir/examples/qt/addressbook/mainwindow.h, and...

    int MainWindow::GetColorCode() { return 3; } QString MainWindow::GetRGBColorCode() { return QString("3"); }

    ...to squish_dir/examples/qt/addressbook/mainwindow.cpp, compiled the example and loaded it in Squish.

    Afterwards the "Methods" view showed these two methods when selecting the MainWindow object in the "Application Objects" view.

    Regards

    Clemens