fix evaluation of CONFIG() and contains()
fix evaluation of CONFIG() and contains()

cherry-picked from creator's b3ec859c80bd0656cfc48cfe6514ec4f631b8206

igor-sfdc/qt-wk,RLovelett/qt,radekp/qt,pruiz/wkhtmltopdf-qt,igor-sfdc/qt-wk,radekp/qt,pruiz/wkhtmltopdf-qt,radekp/qt,RLovelett/qt,pruiz/wkhtmltopdf-qt,KDE/qt,igor-sfdc/qt-wk,igor-sfdc/qt-wk,KDE/qt,radekp/qt,radekp/qt,igor-sfdc/qt-wk,RLovelett/qt,igor-sfdc/qt-wk,KDE/qt,RLovelett/qt,RLovelett/qt,RLovelett/qt,pruiz/wkhtmltopdf-qt,RLovelett/qt,radekp/qt,pruiz/wkhtmltopdf-qt,radekp/qt,pruiz/wkhtmltopdf-qt,pruiz/wkhtmltopdf-qt,radekp/qt,pruiz/wkhtmltopdf-qt,igor-sfdc/qt-wk,RLovelett/qt,RLovelett/qt,KDE/qt,pruiz/wkhtmltopdf-qt,RLovelett/qt,KDE/qt,KDE/qt,KDE/qt,RLovelett/qt,pruiz/wkhtmltopdf-qt,igor-sfdc/qt-wk,pruiz/wkhtmltopdf-qt,igor-sfdc/qt-wk,radekp/qt,igor-sfdc/qt-wk,radekp/qt,KDE/qt,igor-sfdc/qt-wk