[Interest] qmake: mkspec linux-g++ not found

Thiago Macieira thiago.macieira at intel.com
Mon Mar 23 17:39:05 CET 2015


On Monday 23 March 2015 16:08:50 Jason H wrote:
> > You need to use the installed qmake (in /usr/local/Qt-5.4.1/bin), not the
> > one  in the build dir.
> 
> I was.
> 
> [ec2-user at PRODUCTION-WWW pdfReport]$ qmake
> Could not find qmake configuration file linux-g++.
> Error processing project file:
> /home/ec2-user/p4/server/pdfReport/pdfReport.pro [ec2-user at PRODUCTION-WWW
> pdfReport]$ which qmake
> /usr/local/Qt-5.4.1/bin/qmake
> 
> 
> Help?

It doesn't say which file it tried to find and couldn't find. Please run 
	qmake -query 
and see if it's pointing to the source dir or to the install target.

If it's the former, the installation is somehow botched. Please recompile 
qmake (just rerun configure) and run
	make install_qmake

PS: make sure there's no /usr/local/Qt-5.4.1/bin/qt.conf
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list