QtCompile for RPi: ERROR: Cannot specify both -xplatform and -device.
Unsolved
Installation and Deployment
-
Hello,
I am trying to compile a Qt for Raspberry Pi on Windows.
I am following this tutorial: ```
https://sysprogs.com/w/forums/topic/cross-compile-qt5-8-on-windows-for-rpi/
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?
Best regards
Axel