> Sent: Monday, March 23, 2015 at 11:08 AM > From: "Jason H" <jh...@gmx.com> > To: "Thiago Macieira" <thiago.macie...@intel.com> > Cc: interest@qt-project.org > Subject: Re: [Interest] qmake: mkspec linux-g++ not found > > > > > Sent: Saturday, March 21, 2015 at 2:23 PM > > From: "Thiago Macieira" <thiago.macie...@intel.com> > > To: interest@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@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@PRODUCTION-WWW pdfReport]$ which qmake > /usr/local/Qt-5.4.1/bin/qmake
Ok, so I got this figured out. Someone tell me if it is a bug or not. I did not specify --prefix, however it built and installed as --prefix=/usr/local/Qt-5.4.1 qmake however did not pick up the prefix that had been auto selected. After running configure ( and && make && make install) with a --prefix, qmake behaves correctly. Shouldn't qmake pick up the guessed prefix? _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest