Results 1 to 5 of 5

Thread: No valid Qt version set?

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

    Default No valid Qt version set?

    I've been trying to get qtcreator working for me for a while now. After doing a fresh uninstall and reinstall this morning I was able to at least get qtcreator to call the compiler. As I had to leave my pc I closed qtcreator. When I returned and opened it again I get 'No valid Qt version set' even though the paths are valid. I was getting this error before and reinstalling worked, but only for one session, not I get this same error again. I've looked over the archives but couldn't find anything concrete, just a whole lot of stabs in the dark. Another strange thing is that the first time I launched after reinstalling I was able to set my mingw directory in tools/options. After starting qt for the second time I no longer have the option to set my mingw dir? Any help is much appreciated.

  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: No valid Qt version set?

    After the error message, what does Tools/Options/QT4/QTVersions say?

  3. #3
    Join Date
    Nov 2006
    Posts
    19
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: No valid Qt version set?

    Hi All,

    I have exactly the same problem with QT Creator. I have donwloaded the "Download Qt SDK for Windows* (178Mb)" and installed it on Windows 7 (RC1). So, if I open now my Qt Project in QT Creator and try to compile I get the following message:
    Qt Code:
    1. No valid Qt version set. Set one in Tools/Options
    2. Error while building project MovMan
    3. When executing build step 'QMake'
    4. Canceled build.
    To copy to clipboard, switch view to plain text mode 

    In Tools/Options it says the I have first to run make install. But Im quite new to QT on Windows. Can anyone help?

    Many thanks
    big4mil
    Attached Images Attached Images

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

    Default Re: No valid Qt version set?

    I've had this problem, but only when recompiling the lib and then changing the directory name. Try setting the environment variable QTDIR or a qt.conf file:

    [Paths]
    Prefix = "c:\\Qt\\2009.04\\qt\\"

    and dropping it in the qt\bin directory.

  5. #5
    Join Date
    Nov 2006
    Posts
    19
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: No valid Qt version set?

    Thanks for your reply...

    I have installed the VC++ 2008 Express Edition. Then I downloaded and compiled the qt source - and now Qt Creator is working as accepted.

    best regards
    big4mil

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. Qt designer plugin errors on OSX Leopard
    By mpotocnik in forum Qt Tools
    Replies: 10
    Last Post: 21st January 2008, 09:45
  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.