Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QtCompile for RPi: ERROR: Cannot specify both -xplatform and -device.
axeljaeger17 last edited by
I am trying to compile a Qt for Raspberry Pi on Windows.
I am following this tutorial: ```
And this post: https://forum.qt.io/topic/68381/cross-compile-qt-windows-to-raspberry-3
Both tutorials suggest to pass both -xplatform and -device, however the configure of Qt 5.11 that I am using is complaining that:
ERROR: Cannot specify both -xplatform and -device.
I tried passing either one of them, only passing -xplatform works, only passing -device leads to an error message.
How to pass the device to a Qt 5.11 configure? What will happen if I only use the more generic -xplatform? I guess a lot of optimizations will not be used and the whole thing will be slower?