QScxmlParser file not found
-
I found Qt provide a QScxmlParser class as in https://doc.qt.io/archives/qt-5.7/qscxmlparser.html.
I installed the "Qt State Machines" module for Qt 6.2, but the compiler still threw "QScxmlParser file not found" error. Is this class deprecated or do I need to install something else?A related question: Where can I find if a class is deprecated? I've searched in the "Changes" column of release information (https://wiki.qt.io/Qt_5.8.0_Change_Files) but couldn't find where the scxml module was mentioned.
-
Did you add the correct directives to use QtScml? See https://doc.qt.io/qt-6/qtscxml-index.html
When a class is deprecated it is noticed in the docs.
-
Did you add the correct directives to use QtScml? See https://doc.qt.io/qt-6/qtscxml-index.html
When a class is deprecated it is noticed in the docs.
@Christian-Ehrlicher Thanks. I did add Scxml in the CMakeLists.txt, and class like QScxmlStateMachine could be found and linked. It's the class "QScxmlParser" that is not found by the compiler. I cannot find the doc of QScxmlParser either in the Assistant 6.2.
-
QScxmlParser was renamed to QScxmlCompiler in Qt5.8