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. Cross compile Marble for xilinx arm zynq
Forum Updated to NodeBB v4.3 + New Features

Cross compile Marble for xilinx arm zynq

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
6 Posts 2 Posters 2.0k Views 1 Watching
  • 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.
  • J Offline
    J Offline
    jsaleem
    wrote on last edited by
    #1

    Hi,
    I am trying to cross compile Marble map application using CMake for Zynq.
    My Host is UBUNTU 14.04
    As Marble source code depend upon Qt .So i first cross compile Qt4 .
    when i run Cmake(Version 3.4.1) command with this toolchain.cmake file.
    //------------------------------------------------------------
    #Mytoolcahin.cmake
    SET(CMAKE_SYSTEM_NAME Linux)
    SET(CMAKE_SYSTEM_VERSION 1)
    SET(CMAKE_C_COMPILER /opt/Xilinx/SDK/2015.1/gnu/arm/lin/bin/arm-xilinx-linux-gnueabi-gcc)
    SET(CMAKE_CXX_COMPILER /opt/Xilinx/SDK/2015.1/gnu/arm/lin/bin/arm-xilinx-linux-gnueabi-g++)
    SET(CMAKE_FIND_ROOT_PATH /usr/local/Trolltech/QtEmbedded-4.8.1-arm/)
    SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
    SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
    SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
    set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)
    //------------------------------------------------------------
    I get the following errors.
    can not found QTWEBKIT , QTDECLARATIVE , QTDBUS.
    //-------------------------------------
    i have also tried with Qt5.4
    with Qt5.4 i got different error which is .
    CMake Error at MarbleMacros.cmake:23 (qt5_add_resources): Unknown CMake command "qt5_add_resources".
    //-------------------------------------

    Can anybody plz help ?
    Regards,
    Junaid

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

      Hi and welcome to devnet,

      From what I can see, you are trying to build a recent version of Marble which is Qt 5 based against an old Qt 4 version.

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

      J 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi and welcome to devnet,

        From what I can see, you are trying to build a recent version of Marble which is Qt 5 based against an old Qt 4 version.

        J Offline
        J Offline
        jsaleem
        wrote on last edited by
        #3

        @SGaist said in Cross compile Marble for xilinx arm zynq:

        you are trying to build a recent version of Marble which is Qt 5 based against an old Qt 4 version.

        Thanx for your reply.
        As i mentioned I have tried both.

        1. With Qt4 i tried "marble-15.04.3"
        2. With Qt5.4 i tried the latest marble version.
          both efforts failed.
        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          What version of CMake are you using ?

          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
          0
          • J Offline
            J Offline
            jsaleem
            wrote on last edited by
            #5

            Thank again for reply.
            CMake 3.4.1

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

              I'd start by updating your cmake version.

              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
              0

              • Login

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