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. QtCompile for RPi: ERROR: Cannot specify both -xplatform and -device.
Forum Updated to NodeBB v4.3 + New Features

QtCompile for RPi: ERROR: Cannot specify both -xplatform and -device.

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
1 Posts 1 Posters 519 Views
  • 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.
  • A Offline
    A Offline
    axeljaeger17
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0

    • Login

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