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. [Solved] Creator: How to use .pro file build settings?
Forum Updated to NodeBB v4.3 + New Features

[Solved] Creator: How to use .pro file build settings?

Scheduled Pinned Locked Moved Qt Creator and other tools
7 Posts 3 Posters 2.6k 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.
  • A Offline
    A Offline
    Asperamanca
    wrote on last edited by
    #1

    I have a .pro file, which already specifies all the necessary build settings.

    In Qt Creator 2.8.0, how do I set up the project so that it uses exactly those settings?

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

      Disable shadow building in project settings.

      Or globally, change default build directory (in settings) to ".".

      (Z(:^

      1 Reply Last reply
      0
      • K Offline
        K Offline
        koahnig
        wrote on last edited by
        #3

        [quote author="sierdzio" date="1375263501"]
        Or globally, change default build directory (in settings) to ".".[/quote]

        That is a good feature. Did not know yet, That it actually made it into a creator release. An incentive to switch to a more recent creator version.

        Vote the answer(s) that helped you to solve your issue(s)

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

          [quote author="koahnig" date="1375265191"][quote author="sierdzio" date="1375263501"]
          Or globally, change default build directory (in settings) to ".".[/quote]

          That is a good feature. Did not know yet, That it actually made it into a creator release. An incentive to switch to a more recent creator version.
          [/quote]

          Yep, it's in under Build & Run->General->Default build directory. I don't remember when it was integrated, I think QtC 2.7 already has it in. I'm usually either on newest release or a git checkout myself.

          (Z(:^

          1 Reply Last reply
          0
          • K Offline
            K Offline
            koahnig
            wrote on last edited by
            #5

            I have checked the current creator in SDK has it. So it was definitely in version 2.7.2 . However, need to clear my other issues first.

            Vote the answer(s) that helped you to solve your issue(s)

            1 Reply Last reply
            0
            • A Offline
              A Offline
              Asperamanca
              wrote on last edited by
              #6

              The destination paths of my project depend on the values of environment variables. I have tried changing the environment in "project settings", but that doesn't seem to have an effect.

              Does Qt Creator re-parse the build-related settings in the .pro file, or does it just read the paths one when loading the project?

              Edit: Found it. Creator requires a pseudo-change to the .pro file

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

                Yep, when something like this does not work, it's best to clean, run qmake, and build again.

                (Z(:^

                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