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. Yocto Build qtwebengine fails for C++ standard
Forum Updated to NodeBB v4.3 + New Features

Yocto Build qtwebengine fails for C++ standard

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 1 Posters 862 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.
  • W Offline
    W Offline
    WillStockdell
    wrote on last edited by
    #1

    I've gone through creator with the Toradex imx6ull kit and built and deployed a small QtQuick code successfully.

    I intend to build more customized OS images so I'm attempting to perform a yocto build using the instructions here with an Ubuntu 20.04 Linux host. When doing so, I get a failure building qtwebengine. According to the log, the compiler is failing due to a C++ standard issue:

    g++: error: unrecognized command line option ‘-std=gnu++20’; did you mean ‘-std=gnu++2a’?
    

    What would be the most sensible fix for this?

    1 Reply Last reply
    0
    • W Offline
      W Offline
      WillStockdell
      wrote on last edited by
      #2

      I got past this by running on an Ubuntu 22.04 machine instead of the 20.04 machine. This picks up a newer compiler. It doesn't fix the problem, it makes it go away. I guess the message is that the compiler on 20.04 is not supported out of the box.

      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