Results 1 to 4 of 4

Thread: Qt Creator 2.4.0 and QT SDK 1.1.4

  1. #1
    Join Date
    Sep 2010
    Posts
    4
    Thanks
    1
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Qt Creator 2.4.0 and QT SDK 1.1.4

    Hi Guys,
    I have question about QT Creator 2.4.0. I use windows 7 32bits and visual studio 2010.

    Previously, I had QT SDK1.1.4 installed. I unistalled QT SDK 1.1.4 completely (I hope). Then I installed QT 4.8.0, followed by QT Creator 2.4.0.

    Now, the strange thing is: when I check the QT Version in QT Creator 2.4.0 (tool -> option -> Build & Run), somehow, it Auto-Detected a QT version (path) installed previously by QT SDK 1.1.4, which is supposed to be removed completely. Somehow the old path (which is removed and dosen't exist) is remembered and retrived by QT creator. Obviously, the path dosen't exist anymore, so QT Crearor can't find the version. I have to manually Add QT 4.8.0. Please see the attached picture.


    I have check the system Environment PATH, and make sure only path to newly installed QT 4.8.0 is added there (which is 'C:/Development/QT/4.8.0/bin').
    I also tried to search the system registry, to see if any old paths are saved there, and removed any thing to do with "4.7.4".
    Still QT Creator 2.4.0 is so stubborn that it keeps using an old (non-exist) path as QT version, while keep ignoring the latest installed QT 4.8.0 (the path to QT 4.8.0 is added to system environment path).

    So the question is:
    When un-installed QT SDK 1.1.4, are there anything (configuration, setting, etc.) still kept in the system? and where are they?

    Many thanks!
    Attached Images Attached Images
    Last edited by tom701; 21st January 2012 at 23:38.

  2. #2
    Join Date
    Jan 2012
    Posts
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Windows

    Default Re: Qt Creator 2.4.0 and QT SDK 1.1.4

    Hi,
    I got the same issue, as you remove targets in the Package Manager of the Qt SDK that contain a qmake.exe (like Simulator Qt 4.7.4 - MSVC 2005), they stay in the "Auto-detected" section.

    Apparently this information is maintained in a xml file at: C:\Users\<current-user>\AppData\Roaming\Nokia\qtversion.xml

    A work around to get these useless entries out of the the "Auto-detected" list is as follows:
    1. Make sure Qt creator is not running.
    2. Make a backup of the file C:\Users\<current-user>\AppData\Roaming\Nokia\qtversion.xml
    3. Edit the qtversion.xml and locate the section which has the invalid entry.
    3. Modify (for that section) the key="isAutodetected">true</value> into key="isAutodetected">false</value>
    4. Save the xml file.
    5. Start Qt creator. Now when you check the Qt versions, it will be listed as a manual entry, and you can remove it (delete) if you like.

    Succes
    PvO

  3. The following user says thank you to pvanoppen for this useful post:

    QtCutie (28th September 2012)

  4. #3
    Join Date
    Sep 2010
    Posts
    4
    Thanks
    1
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: Qt Creator 2.4.0 and QT SDK 1.1.4

    Quote Originally Posted by pvanoppen View Post
    Hi,
    I got the same issue, as you remove targets in the Package Manager of the Qt SDK that contain a qmake.exe (like Simulator Qt 4.7.4 - MSVC 2005), they stay in the "Auto-detected" section.

    Apparently this information is maintained in a xml file at: C:\Users\<current-user>\AppData\Roaming\Nokia\qtversion.xml

    A work around to get these useless entries out of the the "Auto-detected" list is as follows:
    1. Make sure Qt creator is not running.
    2. Make a backup of the file C:\Users\<current-user>\AppData\Roaming\Nokia\qtversion.xml
    3. Edit the qtversion.xml and locate the section which has the invalid entry.
    3. Modify (for that section) the key="isAutodetected">true</value> into key="isAutodetected">false</value>
    4. Save the xml file.
    5. Start Qt creator. Now when you check the Qt versions, it will be listed as a manual entry, and you can remove it (delete) if you like.

    Succes
    PvO
    Thanks a lot for replying!

  5. #4
    Join Date
    Sep 2012
    Posts
    2
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt Creator 2.4.0 and QT SDK 1.1.4

    Thanks a lot! This works for 4.8.3 as well.

Similar Threads

  1. Replies: 2
    Last Post: 22nd November 2011, 00:09
  2. Creator help
    By Nevering in forum Newbie
    Replies: 1
    Last Post: 10th March 2011, 09:30
  3. QT creator +SDL
    By ShapeShiftme in forum Qt Tools
    Replies: 2
    Last Post: 19th December 2010, 11:44
  4. how to use Qwt in Qt creator(1.2.1)?
    By qtlinuxnewbie in forum Qwt
    Replies: 2
    Last Post: 6th March 2010, 13:29
  5. Qt Creator
    By fnmblot in forum General Discussion
    Replies: 3
    Last Post: 12th April 2009, 08:06

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
  •  
Qt is a trademark of The Qt Company.