Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for MCUs
  4. How to set C++ standard for qmlinterfacegenerator
Forum Updated to NodeBB v4.3 + New Features

How to set C++ standard for qmlinterfacegenerator

Scheduled Pinned Locked Moved Unsolved Qt for MCUs
2 Posts 1 Posters 483 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.
  • M Offline
    M Offline
    Mr_Gruber
    wrote on last edited by
    #1

    Hello,

    I have the problem that I can't set the appropriate C++ version in CMake for the files under "qul_target_generate_interfaces". Therefore I get error messages when building when the qmlinterfacegenerator is called.

    Here I could not find a possibility:
    https://doc.qt.io/QtForMCUs-2.3/qtul-cmake-command-qul-target-generate-interfaces.html

    My workaround so far is to modify the "lib/cmake/Qul/QulMacros.cmake" in my installation and set it there
    "COMMAND qmlinterfacegenerator -std=c++17 -xc++ ${_FILE_ABSOLUTE}"

    Does anyone know a nice solution?
    Thanks!

    1 Reply Last reply
    0
    • M Offline
      M Offline
      Mr_Gruber
      wrote on last edited by
      #2

      A bugreport was created because of this:
      https://bugreports.qt.io/browse/QTMCU-177

      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