Results 1 to 3 of 3

Thread: The Qt version is not installed

  1. #1
    Join Date
    Oct 2009
    Posts
    38
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Question The Qt version is not installed

    Hi, I have Qt installed, and during the normal use of my computer, I ran out of room on my C: drive, so I installed a new E: drive and moved stuff over. I left C:\Qt\qtcreator-1.2.1 and moved C:\Qt\qt-win-opensource-src-4.5.1 to E:\Qt\qt-win-opensource-src-4.5.1. I then went to my environment variables and changed PATH so that it contained E:\Qt\qt-win-opensource-src-4.5.1\bin, instead of the C: equivalent that I had there. I opened Qt Creator, went to Tools/Options, and found that the reported path for the auto-detected version of Qt is in fact E:\Qt\qt-win-opensource-src-4.5.1. I opened an existing project and chose Clean, and got the error message:

    Could not find make command: in the build environment
    Error while building project PaulUI
    When executing build step 'Make'
    Canceled build.

    I tried Build and got:

    No valid Qt version set. Set one in Tools/Options
    Error while building project PaulUI
    When executing build step 'QMake'
    Canceled build.

    and I tried qMake and got the same as will build.

    When I went back to my Tools/Options page and actually clicked on the auto-detect option in the combo box, I saw the line:

    The Qt Version E:\Qt\qt-win-opensource-src-4.5.1 is not installed. Run make install

    I thought that weird, because I'm on Vista, which doesn't do a make install, but I went back to the folder E:\Qt\qt-win-opensource-src-4.5.1 and ran mingw32-make. It quickly went through it's stuff seeing everything was made, but I thought maybe it was going to do something special. Nothing.

    Does anyone know what went wrong here? Is it actually possible that Qt Creator doesn't handle using Qt from any other than C:? I'm hoping that's not the case, for space purposes.

    Thanks...
    Bruce

  2. #2
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: The Qt version is not installed

    Since you moved the Qt installation, you need the tools that they have been moved. The easiest way to do this is buy reinstalling or configure/make. The alternative is creating a qt.conf file.

    An example content of qt.conf (to be placed in qt/bin) would be:

    Qt Code:
    1. [Paths]
    2. Prefix = "E:\\Qt\\qt-win-opensource-src-4.5.1\\"
    To copy to clipboard, switch view to plain text mode 

    Assuming that ".LICENSE-EVALUATION" is present in that directory. If not, point it to the directory that it is present in.
    Last edited by squidge; 19th October 2009 at 22:32.

  3. #3
    Join Date
    Oct 2009
    Posts
    38
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Default Re: The Qt version is not installed

    Amazing. Running on Vista, so I created a qt.conf file in E:\Qt\qt-win-opensource-src-4.5.1, and put the content:

    [Paths]
    Prefix = E:\Qt\qt-win-opensource-src-4.5.1

    in it and then went back to Qt Creator and created a new version entry, gave it the right path to it, and then it recognized it just fine and cleaned/built perfectly.

    Thanks a lot...
    Bruce

Similar Threads

  1. Application deployment on Mac OS X (10.5)
    By ghorwin in forum Installation and Deployment
    Replies: 1
    Last Post: 11th March 2010, 14:38
  2. Designer doesn't load wwWidgets plugin
    By reimer in forum Installation and Deployment
    Replies: 21
    Last Post: 7th February 2009, 03:23
  3. Replies: 2
    Last Post: 5th November 2007, 21:47
  4. Distributing QT application for Mac OS
    By mb0 in forum Qt Programming
    Replies: 1
    Last Post: 31st May 2007, 18:59
  5. Replies: 15
    Last Post: 21st April 2007, 17:46

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.