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.
  • K Offline
    K Offline
    Kart
    wrote on 28 Sept 2017, 04:50 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
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 28 Sept 2017, 22:06 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

      K 1 Reply Last reply 3 Oct 2017, 07:12
      0
      • S SGaist
        28 Sept 2017, 22:06

        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

        K Offline
        K Offline
        Kart
        wrote on 3 Oct 2017, 07:12 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
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 3 Oct 2017, 21:21 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

          K 1 Reply Last reply 4 Oct 2017, 09:36
          0
          • S SGaist
            3 Oct 2017, 21:21

            IIRC, the -embedded option expects an architecture value.

            K Offline
            K Offline
            Kart
            wrote on 4 Oct 2017, 09:36 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
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 4 Oct 2017, 21:42 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

              1/6

              28 Sept 2017, 04:50

              • Login

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