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. QtCreator Projects setup duplication for paths

QtCreator Projects setup duplication for paths

Scheduled Pinned Locked Moved Solved General and Desktop
5 Posts 3 Posters 684 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.
  • R Offline
    R Offline
    RahibeMeryem
    wrote on last edited by
    #1

    Hi,

    I am working different projects and generally I need same configuration for

    PKG_CONFIG_PATH
    PATH
    DYLD_FRAMEWORK_PATH
    DYLD_LIBRARY_PATH 
    

    Each time I am going to project and filling this variables through manually copting from other

    Is there any way to make a master project configuration or a directly copying this environments ?

    Thx

    aha_1980A 1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      You can use a common .pri file in your source code and set these variables there. Then just include it into your .pro with include(somefile.pri).

      You're probably asking about a global environment setting for Qt Creator - I don't think there is any option to pre-set that. You could perhaps run Qt Creator via a shell script and set the variables there - maybe it will work.

      (Z(:^

      1 Reply Last reply
      2
      • R RahibeMeryem

        Hi,

        I am working different projects and generally I need same configuration for

        PKG_CONFIG_PATH
        PATH
        DYLD_FRAMEWORK_PATH
        DYLD_LIBRARY_PATH 
        

        Each time I am going to project and filling this variables through manually copting from other

        Is there any way to make a master project configuration or a directly copying this environments ?

        Thx

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

        @RahibeMeryem

        Just to add to @sierdzio: You can set these variables on a "Kit" basis: http://doc.qt.io/qtcreator/creator-targets.html Point 9 - so they apply to each project configured for that Kit.

        Qt has to stay free or it will die.

        1 Reply Last reply
        2
        • R Offline
          R Offline
          RahibeMeryem
          wrote on last edited by
          #4

          @aha_1980 Thanks... :)

          aha_1980A 1 Reply Last reply
          1
          • R RahibeMeryem

            @aha_1980 Thanks... :)

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

            @RahibeMeryem

            So please close this topic as SOLVED. Thanks!

            Qt has to stay free or it will die.

            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