> > So that is possible. > > QtQuick3D for example just does: > > "QT = core gui qml quick 3d" > > > > and there is no check anywhere in that repo that checks if QML should > be built, so you get an error about missing qml and quick modules. > > > > I wouldn't mind fixing it, but I just missed how you can check for > this stuff (and a quick Google does not find it). > > > > contains(QT_CONFIG, qml):{ > # add qml stuff > } else { > # add other stuff > } >
Or to skip building if missing: requires(contains(QT_CONFIG, qml)) Incidentally, QT_CONFIG isn't documented at http://doc-snapshot.qt-project.org/5.0/qmake-variable-reference.html Or at http://qt-project.org/doc/qt-4.8/qmake-variable-reference.html This should probably be fixed? A number of examples use it. ________________________________ Subject to local law, communications with Accenture and its affiliates including telephone calls and emails (including content), may be monitored by our systems for the purposes of security and the assessment of internal compliance with Accenture policy. ______________________________________________________________________________________ www.accenture.com _______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development