Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Specifying Visual Studio's 'Conformance mode' in a qmake .pro file?
Forum Updated to NodeBB v4.3 + New Features

Specifying Visual Studio's 'Conformance mode' in a qmake .pro file?

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 556 Views 1 Watching
  • 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.
  • B Offline
    B Offline
    Bart_Vandewoestyne
    wrote on last edited by
    #1

    I am currently using

    QMAKE_CXXFLAGS += /permissive-
    

    in my .pro file so that my code compiles using VS2019's /permissive- option. In the generated Visual Studio project, this compile flag then apparently gets added to the 'Additional Options':

    additional_options.PNG
    However, I was expecting this option elsewhere, namely under 'Language / Conformance mode':

    conformance_mode.PNG

    Is there a way to specify in my .pro file that I want to set 'Conformance mode' to /permissive-? Or is this not supported with qmake and is the only way around to use QMAKE_CXXFLAGS like I do now?

    1 Reply Last reply
    0
    • Christian EhrlicherC Online
      Christian EhrlicherC Online
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      You have to set it by your own.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      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