Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved
    1. Home
    2. Tags
    3. crosscompile
    Log in to post
    • All categories
    • P

      Unsolved Building Qt6 for Windows from Linux
      Installation and Deployment • mingw64 crosscompile • • plaristote

      2
      1
      Votes
      2
      Posts
      43
      Views

      KH-219Design

      My reply is going to lead down a bit of a tangent...

      If someone knows how to give you a more direct answer, then I would recommend you ignore mine!

      I don't have a direct answer. But I have a long-standing curiosity about cross-platform development, so I took a moment to do a brief investigation.

      When I need a point of reference for using Qt in a "massively cross platform" way, my "cheatsheet" that I often turn to is the Subsurface divelog project.

      They are cross-compiling their Qt app on Linux to target windows. You can see their CI job config here. I know that's not the same as cross-compiling Qt itself.

      However, I noticed (at the top of one of their scripts) that they call out how they are leveraging: https://github.com/mxe/mxe

      And when I read the MXE page, I see they say: "MXE (M cross environment) is a GNU Makefile that compiles a cross compiler and cross compiles many free libraries such as SDL and Qt. "

      Again, this is a very indirect stab and a mostly non-answer.

      But if you end up in dead ends with anything you try, maybe MXE would give you a path forward.

    • D

      Unsolved macqtdeploy.... cmake... ARM/M1 to intel... oh dear...
      General and Desktop • arm mac crosscompile cmake • • Dariusz

      8
      0
      Votes
      8
      Posts
      395
      Views

      KATO2

      @Dariusz I'm experiencing this same issue on Mac M2 with Qt 6.4.2, however the same code build on Mac Intel works fine and I don't have that ugly output.

    • G

      Unsolved Qt Creator rpath-link
      Italian • qt creator qt6 crosscompile windows 10 raspberry • • Gio26

      1
      0
      Votes
      1
      Posts
      204
      Views

      No one has replied

    • S

      Unsolved Cross Compiler for Google Coral Dev Board Problem
      Mobile and Embedded • coral dev board crosscompile opengl es 2 gstreamer1.0 • • Shao

      8
      0
      Votes
      8
      Posts
      685
      Views

      SGaist

      You should check the configure logs to see exactly what is failing.

      You should also do an out of source build so you can more easily nuke and restart when you change something or you have an error and need to restart.

    • M

      Unsolved mapboxgl dont work on raspberry pi
      QML and Qt Quick • mapboxgl mapbox qml map maptype crosscompile • • miladTalaei

      4
      0
      Votes
      4
      Posts
      482
      Views

      M

      please help me guys i need it ):

    • C

      Unsolved How to Cross Compile QT5 Libraries
      Mobile and Embedded • crosscompile cross-compiling cross-compile arm libraries • • closx

      4
      0
      Votes
      4
      Posts
      577
      Views

      SGaist

      Hi,

      If you copy the files over your target respecting the same folders as your desktop machine, then you won't have anything special to do.

    • Q

      Unsolved Unable to cross compile Qt-5.8 for arm64 device
      Installation and Deployment • qtbase crosscompile qt5.8.0 animation • • QT_is_beauty

      5
      0
      Votes
      5
      Posts
      1806
      Views

      SGaist

      Then why not install the suggested module ?

    • pauledd

      Unsolved build Qt distcc Raspberry Pi 2 unrecognized command line option
      General and Desktop • crosscompile distcc error compile • • pauledd

      5
      0
      Votes
      5
      Posts
      1207
      Views

      pauledd

      Well, I consider to remove/change the code in my qt app to not depend on qtwebengine... It just displays some wheather maps (images) from an online source. I think I can realize that by fetching those images somehow from that online source and display them on an QLabel or so. I think qtwebengine is quite an overkill for that :)

    • R

      Unsolved build qmake cross compiler for x96 settop box
      Mobile and Embedded • x96 s905 qt5 crosscompile • • RyuShai

      6
      0
      Votes
      6
      Posts
      1497
      Views

      jsulm

      @RyuShai As I said on in your sysroot which you use to build for your target device. It doesn't help to install it on your host machine as you're building for another machine with different architecture (ARM). Your host machine is x86_64, right? If you install libs there they are for x86_64 as well - you cannot use them on ARM. Usually if you cross compile for other architectures you have a sysroot which contains all needed header files and libraries.

    • B

      Solved Freetype2-dev package not found when crosscompiling
      Mobile and Embedded • crosscompile raspberry freetype qmake • • ben80

      4
      0
      Votes
      4
      Posts
      2886
      Views

      B

      Ok, i found the solution.
      I had to recompile qmake with pkg-config enabled.

    • cxam

      How to Include external library on cross-compiling devices?
      General and Desktop • crosscompile cross-compile raspberry pi raspberry eglfs • • cxam

      2
      0
      Votes
      2
      Posts
      935
      Views

      SGaist

      Hi,

      Where did you get this library from in the first place ?

    • C

      Unsolved Cross Compile QT 5.5 on WinCE 6.0 / 6.5 (Windows Embedded Handheld 6.5 Classic)
      Mobile and Embedded • wince crosscompile qt 5.5 • • ChriD

      6
      0
      Votes
      6
      Posts
      4929
      Views

      K

      Hi! I am trying to compile Qt 5.x for Windows Mobile 6.5, and getting a lot of errors about wcsftime and other functions told above. How did you solve that problems?

    • P

      Need help with segfault in crosscompiled application for Raspberry Pi
      Installation and Deployment • raspberry pi gnu c++ cross-compile cross compile crosscompile raspberry • • pmendl

      2
      0
      Votes
      2
      Posts
      2364
      Views

      A

      Hi,

      I have been starting development using QT a few weeks ago and encountered a similar problem. Everything was fine, compiling the apps and deploying to the PI using QT Creator without issues. But as soon as I started the app (or wanted to debug) the app died with a Segfault.

      After some hours, I noticed that libts on Jessie has been quite old. I re-installed Jessie-Lite and compiled libts on my own, directly from the GitHub repository here: lbts GitHub Repo .

      Afterwards I simply followed the tutorial to cross-compile QT5 like documented in this tutorial: RaspberryPi2EGLFS

      Basically I followed each step within the tutorial and the only thing I did not do, was to install any libts related packages (just check the apt-get install commands in the tutorial and don't install the libts related packages).

      I know, the thread is quite old, but maybe someone will look it up.

    • D

      Compiling QT5 From Source For Embedded
      Installation and Deployment • qt5 crosscompile arm linux embedded linux embedded • • deleted605

      3
      0
      Votes
      3
      Posts
      1695
      Views

      D

      @SGaist thank you for the fast reply. now I started to see the difference.

    • K

      Touch for Qt GUI application is not working for my Nitrogen 6 Max Arm Board.
      Mobile and Embedded • cross compile crosscompile arm imx6 • • kuber saini

      5
      0
      Votes
      5
      Posts
      2388
      Views

      K

      I am working on Nitrogen6 Max Board using Ubuntu Trusty for i.MX6 boards img (light weight desktop environment).
      I have downloaded img file from timesys for direct use http://boundarydevices.com/trusty-ubuntu-mx6/.

    • P

      qtwebkit crash while calling webview load function on arm7 linux 32 bit cross compiled using arm-gcc 4.4.1
      Mobile and Embedded • webkit crosscompile arm web browser gcc • • pratyaksh

      1
      0
      Votes
      1
      Posts
      861
      Views

      No one has replied

    • _

      Qt5.4.1 build for IMX6 error
      Mobile and Embedded • imx6 i.mx6 crosscompile configure freescale • • _dmp

      1
      0
      Votes
      1
      Posts
      713
      Views

      No one has replied