Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Error while cross compiling qtscxml module for raspberry pi
QtWS25 Last Chance

Error while cross compiling qtscxml module for raspberry pi

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
4 Posts 3 Posters 691 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • RG97R Offline
    RG97R Offline
    RG97
    wrote on last edited by
    #1

    I am getting the following error message while cross compiling qtscxml module for raspberry pi.
    I am running the following commands-
    git clone git://code.qt.io/qt/qtscxml.git -b 5.9
    ~/raspi/qt5/bin/qmake
    make
    make install

    It fails on make with following error script

    cd src/ && ( test -e Makefile || /home/rahul/raspi/qt5/bin/qmake -o Makefile /home/rahul/raspi/qtscxml/src/src.pro ) && make -f Makefile 
    make[1]: Entering directory '/home/rahul/raspi/qtscxml/src'
    cd scxml/ && ( test -e Makefile || /home/rahul/raspi/qt5/bin/qmake -o Makefile /home/rahul/raspi/qtscxml/src/scxml/scxml.pro ) && make -f Makefile 
    Project MESSAGE: perl -w /home/rahul/raspi/qt5/bin/syncqt.pl -module QtScxml -version 5.9.8 -outdir /home/rahul/raspi/qtscxml /home/rahul/raspi/qtscxml
    <srcbase> = /home/rahul/raspi/qtscxml 
    <outbase> = /home/rahul/raspi/qtscxml 
    Project ERROR: Unknown module(s) in QT: qml-private
    Makefile:44: recipe for target 'sub-scxml-make_first' failed
    make[1]: *** [sub-scxml-make_first] Error 3
    make[1]: Leaving directory '/home/rahul/raspi/qtscxml/src'
    Makefile:47: recipe for target 'sub-src-make_first' failed
    make: *** [sub-src-make_first] Error 2
    

    What could be the issue ?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      You are missing the QtDeclarative module at least.

      What modules did you already cross-compile ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • dheerendraD Offline
        dheerendraD Offline
        dheerendra
        Qt Champions 2022
        wrote on last edited by
        #3

        To build scxml.pro you need, core-private, qml-private modules should have been built. Looking at the error qml-private is not build. This indicates to me that you have already built core and not qml. As @SGaist already suggested try building qtdeclarative before building the qtscxml.

        Dheerendra
        @Community Service
        Certified Qt Specialist
        http://www.pthinks.com

        1 Reply Last reply
        1
        • dheerendraD Offline
          dheerendraD Offline
          dheerendra
          Qt Champions 2022
          wrote on last edited by
          #4

          Did the suggestion work ? Are you able to solve the issue ? Do you need help.

          Dheerendra
          @Community Service
          Certified Qt Specialist
          http://www.pthinks.com

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved