qt4-embedded: add recipe for 4.7.0
[vuplus_openembedded] / recipes / qt4 / qt4-tools-native-4.7.0 / qt-config.patch
1 --- /tmp/qlibraryinfo.cpp       2008-08-02 17:16:41.000000000 +0200
2 +++ qt-embedded-linux-opensource-src-4.4.1/src/corelib/global/qlibraryinfo.cpp  2008-08-02 17:17:42.000000000 +0200
3 @@ -113,6 +113,8 @@
4  #ifdef QT_BUILD_QMAKE
5      if(!QFile::exists(qtconfig))
6          qtconfig = qmake_libraryInfoFile();
7 +    if (!QFile::exists(qtconfig))
8 +        qtconfig = QString::fromLocal8Bit(qgetenv("QT_CONF_PATH"));
9  #else
10      if (!QFile::exists(qtconfig) && QCoreApplication::instance()) {
11  #ifdef Q_OS_MAC