Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Modifying PATH variable from .pro files.

    Installation and Deployment
    2
    2
    878
    Loading More Posts
    • 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
      k1234567 last edited by

      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 Reply Quote 0
      • P
        prady_80 last edited by

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

        1 Reply Last reply Reply Quote 0
        • First post
          Last post