Results 1 to 7 of 7

Thread: Add a DLL to Qt Creator's run environment

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Add a DLL to Qt Creator's run environment

    Select Projects, Run Settings, expand the Run Environment, and modify the PATH variable to include the GDAL binary folder
    or
    Arrange for the same change to be made to the system/user PATH variable in Windows

  2. The following user says thank you to ChrisW67 for this useful post:

    Phlucious (27th June 2012)

  3. #2
    Join Date
    Jan 2011
    Posts
    70
    Thanks
    43
    Thanked 4 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Add a DLL to Qt Creator's run environment

    Thank you, that is what I was looking for. I thought that perhaps Qt Creator would have a config (*.cfg, *.inf, *.xml, etc) file where I could set library paths for the program, not just a particular project.

    It didn't occur to me to modify PATH. I opted for the Build & Run Environment option instead of modifying the system environment because I want my workstation to have the same system environment as my users. Reduces the odds that I'll forget a file when deploying.

  4. #3
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Add a DLL to Qt Creator's run environment

    You can set the Windows PATH for a single user and base it on the system PATH. Just Add a user variable called PATH and set it to "c\some\other\path;d:\and \another" and this will be appended to the system's environment for that user.

Similar Threads

  1. Environment of a QProcess
    By osiris81 in forum Qt Programming
    Replies: 0
    Last Post: 17th February 2011, 10:53
  2. Configuring QT Creator environment
    By Asperamanca in forum Qt Tools
    Replies: 9
    Last Post: 22nd October 2009, 09:38
  3. does qt 4.5.1 have the app environment like qpe?
    By alexcuiCN in forum Installation and Deployment
    Replies: 0
    Last Post: 6th May 2009, 10:21
  4. Qt development environment?
    By klx in forum Newbie
    Replies: 3
    Last Post: 21st March 2008, 12:51
  5. how to set up Qt4 + KDevelop environment
    By mattie in forum Installation and Deployment
    Replies: 4
    Last Post: 20th March 2006, 13:08

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.