Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Change standard CONFIG values in .pro file

Change standard CONFIG values in .pro file

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
5 Posts 3 Posters 679 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.
  • beeckscheB Offline
    beeckscheB Offline
    beecksche
    wrote on last edited by
    #1

    Hi,
    when you create a new project in Qt Creator, the project file is filled automatically. The CONFIG entry is set with

    CONFIG += c++11
    

    Is there a way to change it to

    CONFIG += c++latest
    

    for all new created projects?

    jsulmJ 1 Reply Last reply
    0
    • beeckscheB beecksche

      Hi,
      when you create a new project in Qt Creator, the project file is filled automatically. The CONFIG entry is set with

      CONFIG += c++11
      

      Is there a way to change it to

      CONFIG += c++latest
      

      for all new created projects?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @beecksche There are project templates like: Qt/Tools/QtCreator/share/qtcreator/templates/wizards/projects/qtwidgetsapplication/project.pro
      You can edit them.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      beeckscheB 1 Reply Last reply
      5
      • jsulmJ jsulm

        @beecksche There are project templates like: Qt/Tools/QtCreator/share/qtcreator/templates/wizards/projects/qtwidgetsapplication/project.pro
        You can edit them.

        beeckscheB Offline
        beeckscheB Offline
        beecksche
        wrote on last edited by
        #3

        @jsulm

        Perfect, thanks a lot!

        aha_1980A 1 Reply Last reply
        1
        • beeckscheB beecksche

          @jsulm

          Perfect, thanks a lot!

          aha_1980A Offline
          aha_1980A Offline
          aha_1980
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @beecksche So please forget to mark this topic as SOLVED. Thanks!

          Qt has to stay free or it will die.

          jsulmJ 1 Reply Last reply
          0
          • aha_1980A aha_1980

            @beecksche So please forget to mark this topic as SOLVED. Thanks!

            jsulmJ Offline
            jsulmJ Offline
            jsulm
            Lifetime Qt Champion
            wrote on last edited by jsulm
            #5

            @aha_1980 said in Change standard CONFIG values in .pro file:

            So please forget

            don't
            :-)

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            2

            • Login

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