Results 1 to 6 of 6

Thread: Finding path of qtcreator install directory

  1. #1
    Join Date
    May 2011
    Posts
    17
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Finding path of qtcreator install directory

    Is there a way to find the location of where you've installed qtcreator?

    I'm looking for a similar sollution as the $QTDIR variable.

  2. #2
    Join Date
    Mar 2011
    Location
    Hyderabad, India
    Posts
    1,882
    Thanks
    3
    Thanked 452 Times in 435 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows
    Wiki edits
    15

    Default Re: Finding path of qtcreator install directory

    what is your platform?

  3. #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: Finding path of qtcreator install directory

    For what purpose? Certainly any program you write and want to deploy, excluding a plugin for Qt Creator itself, should be totally independent of the location of any IDE used during its making.

  4. #4
    Join Date
    May 2011
    Posts
    17
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Finding path of qtcreator install directory

    Windows platform.

    The purpose is we're building custom designer widgets, and to be able to use them within the integrated qt designer the dll plugin has to be placed within %qtcreatordir%\bin\designer.

    If someone has an idea of a better sollution please let me know.

    Thanks for the replies!

  5. #5
    Join Date
    May 2011
    Posts
    239
    Thanks
    4
    Thanked 35 Times in 35 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Symbian S60

    Default Re: Finding path of qtcreator install directory

    The closest thing might be its uninstalle string in registry, but even that is version dependent...
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\Uninstall\Qt Creator 2.2.0 - C:_QtSDK_QtCreator

    I would, in the installer, just ask the user to point to the correct directory of QtSDK (as the users are programmers, this would be ok).

  6. #6
    Join Date
    May 2011
    Posts
    17
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Finding path of qtcreator install directory

    I've been thinking of a sollution like that. However, when working with a custom wizard. I've tried adding a browser for QtSDK, and setting that path as target for a file, but it adds target folder path to the front. Is there a way around this?

    Is there somewhere I can find more documentation regarding the wizard.xml file?

Similar Threads

  1. QGraphicsItem; Finding path
    By roband915 in forum Qt Programming
    Replies: 2
    Last Post: 24th March 2011, 19:13
  2. PCH and QtCreator warning of not finding the type name
    By kornicameister in forum Qt Programming
    Replies: 3
    Last Post: 2nd November 2010, 18:07
  3. adding directory to the path
    By threaderslash in forum Installation and Deployment
    Replies: 2
    Last Post: 2nd April 2009, 17:13
  4. Qt 4 current directory path
    By bunjee in forum Qt Programming
    Replies: 1
    Last Post: 7th May 2008, 18:58
  5. application directory path on mac
    By munna in forum Qt Programming
    Replies: 0
    Last Post: 27th January 2007, 11:45

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.