[Qt-creator] /usr/bin/qmake doesn't specify a valid qt installation

Eike Ziller eike.ziller at nokia.com
Tue Mar 16 15:16:37 CET 2010


Hi,

On Mar 16, 2010, at 2:15 PM, Dubovik Sergiy (Nokia-D/Helsinki) wrote:

> Hello,
> 
> I downloaded 4.7.0 tp and qt creator 2.0 tp. It recognized only 2 sdks out of 4. Default one (which I installed from qt.nokia.com as binary) is not recognizable by qt creator. With 1.3.1 it was working fine. Not very pleasant experience. QT Creator complains but doesn’t even give a single hint where the problem can be. Why errors can’t be more informative? How I suppose to find out what is wrong with my installation?

Have a look at the tool tip you get when hovering over the Qt version in the list.
That should give you a lot of information about what the qmake executable actually thinks where to find all the relevant things.

> Googling took me here:
> http://labs.trolltech.com/blogs/2010/03/11/qt-creator-20-alpha/
> » Posted by Daniel Molkentin
>  
>  on Thursday, March 11, 2010 @ 17:29
> @PL Samuel: Sounds like you chose to build Qt yourself, without providing ‘-developer-build’ as parameter to configure, but didn’t run “make install”. Thus, qmake assumes it is installed in the default location (/usr/local/Trolltech). If this is not the case, Creator will throw above error.
> 
> In my case I built another 4.6.2 from sources and didn’t specify –developer-build but made “make install”.
> Since you are distributing 4.7.0 only in sources, how come I can get whole thing (QT plus Creator) working together? Without spending hours compiling QT and then realizing that I need some switch to make it working with creator.

It's usually not only about making it work with Qt Creator. If you don't call "make install" (in the non -developer-build case), Qt is not installed correctly and won't work, even from the command line. But let's see what information the tool tip gives you.

++ Eike

-- 
Eike Ziller
Software Engineer
Nokia, Qt Development Frameworks

Nokia gate5 GmbH
Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany
Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443 B
Umsatzsteueridentifikationsnummer: DE 812 845 193
Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori







More information about the Qt-creator-old mailing list