Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Qt-6.2.0: Could NOT find Qt6ScxmlTools (missing: Qt6ScxmlTools_DIR)



  • Hello!
    I try cross-compile qtscxml-everywhere-src-6.2.0, unfortunately configure stage fail

    .............
    -- Performing Test HAVE_DASH_DASH_NO_UNDEFINED - Success
    -- Running syncqt for module: 'QtStateMachine' 
    -- Searching for tool 'Qt6::qscxmlc' in package Qt6ScxmlTools.
    -- Could NOT find Qt6ScxmlTools (missing: Qt6ScxmlTools_DIR)
    CMake Error at /tmp/firmware/_dependencies/qtbase/cmake/QtToolHelpers.cmake:118 (message):
      The tool "Qt6::qscxmlc" was not found in the Qt6ScxmlTools package.
      Package found: 0
    Call Stack (most recent call first):
      tools/qscxmlc/CMakeLists.txt:9 (qt_internal_add_tool)
    
    
    -- Configuring incomplete, errors occurred!
    ..............
    

    What should I additional build for fix this?
    Thank you.



  • Solution - before build scxml for host.



  • https://code.qt.io/cgit/qt/qtscxml.git/ contain qtscxml sources https://code.qt.io/cgit/qt/qtscxml.git/tree/tools, qtscxml-everywhere-src-6.2.0.tar.xz include tools/ directory with qscxmlc sources.
    So look like what qscxmlc should be build and install separate before configure scxml.



  • Solution - before build scxml for host.


Log in to reply