Qtserialbus can project example : what is the meaning of this line of code "QLoggingCategory::setFilterRules(QStringLiteral("qt.canbus* = true"));"
-
Hello
what is the meening of this line of code "QLoggingCategory::setFilterRules(QStringLiteral("qt.canbus* = true"));"
in main.cpp of qtserialbus can project example (https://code.qt.io/cgit/qt/qtserialbus.git/tree/examples/serialbus/can?h=5.15.2)
-
Hi,
"enable the logging of messages concerning all the categories under qt.canbus".
-
Thanks @SGaist ;
And "this" refers to what in this line of code :
connect(m_ui->sendFrameBox, &SendFrameBox::sendFrame, this, &MainWindow::sendFrame);