[Qt-interest] qmake: how to check if library exists?

Scott Aron Bloom Scott.Bloom at onshorecs.com
Tue Sep 28 00:46:32 CEST 2010


!equals(QT_MAJOR_VERSION, 4) | !equals(QT_MINOR_VERSION, 5) | !equals(
QT_PATCH_VERSION, 3 ) {
   error(Affinegy's Build environment requires Qt 4.5.3 but Qt
$$[QT_VERSION] was detected.)
}

Will work for testing the version (in this case 4.5.3) of the qt library

-----Original Message-----
From: qt-interest-bounces at trolltech.com
[mailto:qt-interest-bounces at trolltech.com] On Behalf Of Rui Maciel
Sent: Monday, September 27, 2010 3:33 PM
To: qt-interest at trolltech.com
Subject: [Qt-interest] qmake: how to check if library exists?

Is there a way to set up qmake so that it tests if a specific version of
a specific library is 
present in a system and if not warn the user and kill the build process?


Thanks in advance,
Rui Maciel
_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest




More information about the Qt-interest-old mailing list