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. Setting environment for autotests in Qt Creator

Setting environment for autotests in Qt Creator

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
2 Posts 1 Posters 232 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.
  • D Offline
    D Offline
    dugan
    wrote on last edited by
    #1

    How do I set the environment that Qt Creator runs autotests in?

    My tests (they're end-to-end tests) use a QProcess to launch an executable that's normally installed into /usr/local/bin on OS X. By default, Qt Creator does not have /usr/local/bin in the PATH if you launch it the normal way (from Finder).

    How do I set things so that Qt Creator runs its autotests in an environment that has /usr/local/bin in the PATH, if launched from Finder on OS X?

    1 Reply Last reply
    0
    • D Offline
      D Offline
      dugan
      wrote on last edited by
      #2

      Never mind, got it:

      Go to Projects->Build and set it there.

      1 Reply Last reply
      1

      • Login

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