OSDN Git Service

Fixes: Also Patch QtCore dll in /lib on windows, specify correct path to patch for...
authorDaniel Molkentin <daniel.molkentin@nokia.com>
Thu, 5 Feb 2009 14:06:07 +0000 (15:06 +0100)
committerDaniel Molkentin <daniel.molkentin@nokia.com>
Thu, 5 Feb 2009 14:06:07 +0000 (15:06 +0100)
src/tools/qtlibspatcher/qtlibspatchermain.cpp

index 65ffe04..ad4e3ae 100644 (file)
@@ -42,7 +42,7 @@
 #include <QtCore/QDebug>
 
 #ifdef Q_OS_WIN
-#      define QT_INSTALL_DIR "C:/qt-greenhouse/Trolltech/Code_less_create_more/Trolltech/Code_less_create_more/Troll/4.4.3";
+#      define QT_INSTALL_DIR "C:/qt-greenhouse/Trolltech/Code_less_create_more/Trolltech/Code_less_create_more/Troll/4.4.3/qt";
 
        const char * const oldInstallBase = QT_INSTALL_DIR;
        const char * const oldSourceBase = QT_INSTALL_DIR;
@@ -108,7 +108,8 @@ bool patchBinariesWithQtPathes(const char *baseQtPath)
     #ifdef Q_OS_WIN
         "/bin/qmake.exe",
         "/bin/QtCore4.dll",
-        "/bin/QtCored4.dll"
+        "/bin/QtCored4.dll",
+        "/lib/QtCored4.dll"
     #else
         "/bin/qmake",
         "/lib/libQtCore.so",