Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Modifying PATH variable from .pro files.

Modifying PATH variable from .pro files.

Scheduled Pinned Locked Moved Installation and Deployment
2 Posts 2 Posters 999 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.
  • K Offline
    K Offline
    k1234567
    wrote on last edited by
    #1

    I'm trying to create ActiveX control, but building fails because qmake tries to load my ActiveX control during building and it can't find dependencies ( other libraries used by my control and built to the same directory ).

    The one solution I've found was to add build directory to the build environment PATH variable in QtCreator. I had to put full path ( different for each configuration ) because just adding %{buildDir} didn't work (?). But this configuration is not shared and each user has to remember to set its own paths when configuring project, so I'm looking for a way to move those settings to the project files.

    Is there any way to modify system environment from within .pro files ?

    1 Reply Last reply
    0
    • P Offline
      P Offline
      prady_80
      wrote on last edited by
      #2

      Hopefully "this":http://qt-project.org/forums/viewthread/18874 helps.

      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