Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Difference between -embedded, -embedded arm and giving xplatform.
Forum Updated to NodeBB v4.3 + New Features

Difference between -embedded, -embedded arm and giving xplatform.

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
6 Posts 2 Posters 1.3k Views 2 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.
  • KartK Offline
    KartK Offline
    Kart
    wrote on last edited by Kart
    #1

    Can anyone tell me the difference in giving -embedded arm, just -embedded and -xplatform linux-xyz in the build of Qt 4.8.6 when the compiler details are already given in mkspecs.

    Also about -device in Qt5.9.1 build if we are already giving the compiler details in the mkspecs.

    I have gone through the manuals and i think i understood the definition. But i am not sure about how it will influence the build and what difference it will make.

    Thank you for the help.

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

      Hi,

      The -embedded option in Qt 4 is to build Qt for Embedded Linux which will use the QWS backend so no need for an X server.

      -xplatform is to cross-compile for a given platform but a normal version of Qt i.e. non-embedded or desktop if you prefer.

      Hope it helps

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

      KartK 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        The -embedded option in Qt 4 is to build Qt for Embedded Linux which will use the QWS backend so no need for an X server.

        -xplatform is to cross-compile for a given platform but a normal version of Qt i.e. non-embedded or desktop if you prefer.

        Hope it helps

        KartK Offline
        KartK Offline
        Kart
        wrote on last edited by
        #3

        @SGaist Any difference in giving -embedded arm and -embedded, if we have given the proper compiler definitions in qmake.conf ?

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

          IIRC, the -embedded option expects an architecture value.

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

          KartK 1 Reply Last reply
          0
          • SGaistS SGaist

            IIRC, the -embedded option expects an architecture value.

            KartK Offline
            KartK Offline
            Kart
            wrote on last edited by
            #5

            @SGaist So if i am not giving any architecture, i am guessing it will check with the compiler for the architecture and use it.

            Also could you tell me what difference it will make if we are giving -device and giving the compiler details in qmake.conf and using the -xplatform.

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

              No I can't. I haven't checked all the variations you can make with configure's option.

              Device usually refers to a mkpsec for a specific device.

              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