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. How can I cross-compile QT 5.0?
Forum Updated to NodeBB v4.3 + New Features

How can I cross-compile QT 5.0?

Scheduled Pinned Locked Moved Mobile and Embedded
32 Posts 5 Posters 42.8k 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.
  • T Offline
    T Offline
    T4QT
    wrote on 15 Nov 2014, 05:34 last edited by
    #18

    yes I checked out fresh code and working from there

    1 Reply Last reply
    0
    • T Offline
      T Offline
      T4QT
      wrote on 15 Nov 2014, 05:35 last edited by
      #19

      also can you please take a look at my 2nd observation about webkit.

      1 Reply Last reply
      0
      • S Offline
        S Offline
        SGaist
        Lifetime Qt Champion
        wrote on 16 Nov 2014, 12:01 last edited by
        #20

        Ruby on your host

        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
        • T Offline
          T Offline
          T4QT
          wrote on 17 Nov 2014, 19:36 last edited by
          #21

          I got little success, webkit is compiled now.

          But when I am trying to use it in my Qt-application.

          QT =+ webkit webkitwidget

          Project error: Unknown modules in QT: webkit webkitwidgets

          I think it is related with the version of qmake , I have 3.0 but that was supplied with Qt-5.3.1.

          So how to include webkit and wekitwidget .

          1 Reply Last reply
          0
          • S Offline
            S Offline
            SGaist
            Lifetime Qt Champion
            wrote on 17 Nov 2014, 22:35 last edited by
            #22

            If you want to build a project with your cross-compiled Qt, use the corresponding qmake.

            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
            • T Offline
              T Offline
              T4QT
              wrote on 18 Nov 2014, 00:33 last edited by
              #23

              I think you are not getting my point. It is obvious for me to use the same qmake to build my project. If I use Qt =+ multimedia core, its working fine but the problem is with webkit,

              There are certain post about this same error but not satisfactory answer to this problem.
              so any clue on this part?
              Also when I omit webkit and create the application and try to run on the target is say

              Failed to load platform plugin xcb. I found one post by you and will go from there. http://qt-project.org/forums/viewthread/30825. Do I need xcb on host or target?

              But still not sure for webkit error.

              1 Reply Last reply
              0
              • T Offline
                T Offline
                T4QT
                wrote on 18 Nov 2014, 20:39 last edited by
                #24
                1. I don't have libqxcb.so library at my qt_install/plugins/platforms location.
                  I have only libqlinuxfb.so . libqminimal.so and libqoffscreen.so
                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on 18 Nov 2014, 23:14 last edited by
                  #25

                  Are you running a X11 server on your target ?

                  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
                  • T Offline
                    T Offline
                    T4QT
                    wrote on 19 Nov 2014, 14:21 last edited by
                    #26

                    I am running linux-3.12 on my target. And I think the xcb requirement is for X11, can't I use the linux frame buffer to load my application?
                    No idea how I can run any simple application? Please guide.

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on 19 Nov 2014, 22:34 last edited by
                      #27

                      Yes, the xcb plugin is used for X11

                      Sure you can, tell you application which plugin to load when starting it. More info "here":http://qt-project.org/doc/qt-5/embedded-linux.html

                      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
                      • T Offline
                        T Offline
                        T4QT
                        wrote on 20 Nov 2014, 04:05 last edited by
                        #28

                        ok so based on your link if I don't have X11, then I don't have to worry about XCB platform plugin. Instead I should try to enable LinuxFB.

                        Shall I use QT_QPA_PLATFORM=linuxfb:fb=/dev/fb0 at the configuration time.

                        And QT_QPA_GENERIC_PLUGINS=evdevkeyboard,evdevmouse,evdevtouch for the input, this is also at the configuration time.

                        Am I right?

                        1 Reply Last reply
                        0
                        • S Offline
                          S Offline
                          SGaist
                          Lifetime Qt Champion
                          wrote on 21 Nov 2014, 00:14 last edited by
                          #29

                          At run time would be more exact

                          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
                          • S Offline
                            S Offline
                            SGaist
                            Lifetime Qt Champion
                            wrote on 21 Nov 2014, 00:14 last edited by
                            #30

                            At run time would be more exact

                            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
                            • T Offline
                              T Offline
                              T4QT
                              wrote on 21 Nov 2014, 17:40 last edited by
                              #31

                              Hi SGaist,
                              Its been while we are communicating on the issue about how to successfully build and deploy the Qt application on the Arm board but nothing is coming up fruitful. I was wondering how best you can provide the help about the Qt?

                              Is it possible for you to provide some step by step guide, I also saw few of your communication with other interested people and those were left without fruitful outcome.

                              say I want to build application and deploy on the board: what are the things that I have to enable in kernel config, at the Qt config level and how to deploy application and deploying the Qt frame work:

                              On the board my file system is mounted through NFS, like this: bin, dev, etc, lib, proc, sbin, srv, sys, tmp, usr, var

                              1 Reply Last reply
                              0
                              • T Offline
                                T Offline
                                T4QT
                                wrote on 21 Nov 2014, 17:40 last edited by
                                #32

                                Hi SGaist,
                                Its been while we are communicating on the issue about how to successfully build and deploy the Qt application on the Arm board but nothing is coming up fruitful. I was wondering how best you can provide the help about the Qt?

                                Is it possible for you to provide some step by step guide, I also saw few of your communication with other interested people and those were left without fruitful outcome.

                                say I want to build application and deploy on the board: what are the things that I have to enable in kernel config, at the Qt config level and how to deploy application and deploying the Qt frame work:

                                On the board my file system is mounted through NFS, like this: bin, dev, etc, lib, proc, sbin, srv, sys, tmp, usr, var

                                1 Reply Last reply
                                0

                                27/32

                                19 Nov 2014, 22:34

                                • Login

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