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

Jason H jhihn at gmx.com
Mon Mar 23 16:08:50 CET 2015



> Sent: Saturday, March 21, 2015 at 2:23 PM
> From: "Thiago Macieira" <thiago.macieira at intel.com>
> To: interest at qt-project.org
> Subject: Re: [Interest] qmake: mkspec linux-g++ not found
>
> On Friday 20 March 2015 20:44:07 Jason H wrote:
> > I built Qt from sources, did a make install, then blew away the source
> > directory. I went into my project dir, did qmake and got that error.
> > I looked in /usr/local/Qt-5.4.1/mkspecs and there were the proper files
> > there.
> > 
> > Then I un-blew away the source dir (cautious me, I did a move) and it all
> > worked. There seems to be a dependency on /data/qt/src/qtbase/bin/qt.conf
> > 
> > How can I blow away the source dirs and still have it work?
> 
> 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?

Thanks!



More information about the Interest mailing list