Skip to content
Snippets Groups Projects
Commit b71be596 authored by Daniel Molkentin's avatar Daniel Molkentin
Browse files

Adjust qtlibspatcher to new pathnames, change purpose of qpatch

qpatch should not try to rename debug symbols, but modify the prl
files instead. This purely replaces forward-slashed pathes. The
pathes in the debugging symbols use backslashes and are not touched.

Reviewed-By: con
parent 2fba3888
No related branches found
No related tags found
No related merge requests found
bin/Qt3Supportd4.dll bin/qmake.exe
bin/QtCore4.dll
bin/QtCored4.dll bin/QtCored4.dll
bin/QtGuid4.dll %%
bin/QtHelpd4.dll mkspecs/default/qmake.conf
bin/QtMultimediad4.dll demos/shared/libdemo_shared.prl
bin/QtNetworkd4.dll lib/libQt3Support.prl
bin/QtOpenGLd4.dll lib/libQtAssistantClient.prl
bin/QtScriptd4.dll lib/libQtCLucene.prl
bin/QtScriptToolsd4.dll lib/libQtCore.prl
bin/QtSqld4.dll lib/libQtDBus.prl
bin/QtSvgd4.dll lib/libQtDesignerComponents.prl
bin/QtTestd4.dll lib/libQtDesigner.prl
bin/QtWebKitd4.dll lib/libQtGui.prl
bin/QtXmld4.dll lib/libQtHelp.prl
bin/QtXmlPatternsd4.dll lib/libQtMultimedia.prl
plugins/accessible/qtaccessiblecompatwidgetsd4.dll lib/libQtNetwork.prl
plugins/accessible/qtaccessiblewidgetsd4.dll lib/libQtOpenGL.prl
plugins/codecs/qcncodecsd4.dll lib/libQtScript.prl
plugins/codecs/qjpcodecsd4.dll lib/libQtScriptTools.prl
plugins/codecs/qkrcodecsd4.dll lib/libQtSql.prl
plugins/codecs/qtwcodecsd4.dll lib/libQtSvg.prl
plugins/iconengines/qsvgicond4.dll lib/libQtTest.prl
plugins/imageformats/qgifd4.dll lib/libQtUiTools.prl
plugins/imageformats/qjpegd4.dll lib/libQtWebKit.prl
plugins/imageformats/qmngd4.dll lib/libQtXmlPatterns.prl
plugins/imageformats/qsvgd4.dll lib/libQtXml.prl
plugins/imageformats/qtiffd4.dll
plugins/sqldrivers/qsqlited4.dll
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
#include <QtCore/QDebug> #include <QtCore/QDebug>
#ifdef Q_OS_WIN #ifdef Q_OS_WIN
# define QT_INSTALL_DIR "C:/qt-greenhouse/Trolltech/Code_less_create_more/Trolltech/Code_less_create_more/Troll/4.5.0/qt"; # define QT_INSTALL_DIR "C:/qt-greenhouse/Trolltech/Code_less_create_more/Trolltech/Code_less_create_more/Troll/4.6/qt";
const char * const oldInstallBase = QT_INSTALL_DIR; const char * const oldInstallBase = QT_INSTALL_DIR;
const char * const oldSourceBase = QT_INSTALL_DIR; const char * const oldSourceBase = QT_INSTALL_DIR;
...@@ -170,6 +170,7 @@ bool patchDebugLibrariesWithQtPath(const char *baseQtPath) ...@@ -170,6 +170,7 @@ bool patchDebugLibrariesWithQtPath(const char *baseQtPath)
{ "/bin/QtGuid4.dll" }, { "/bin/QtGuid4.dll" },
{ "/bin/QtHelpd4.dll" }, { "/bin/QtHelpd4.dll" },
{ "/bin/QtNetworkd4.dll" }, { "/bin/QtNetworkd4.dll" },
{ "/bin/QtNetworkd4.dll" },
{ "/bin/QtOpenGLd4.dll" }, { "/bin/QtOpenGLd4.dll" },
{ "/bin/QtScriptd4.dll" }, { "/bin/QtScriptd4.dll" },
{ "/bin/QtScriptToolsd4.dll" }, { "/bin/QtScriptToolsd4.dll" },
...@@ -179,20 +180,6 @@ bool patchDebugLibrariesWithQtPath(const char *baseQtPath) ...@@ -179,20 +180,6 @@ bool patchDebugLibrariesWithQtPath(const char *baseQtPath)
{ "/bin/QtWebKitd4.dll" }, { "/bin/QtWebKitd4.dll" },
{ "/bin/QtXmld4.dll" }, { "/bin/QtXmld4.dll" },
{ "/bin/QtXmlPatternsd4.dll" }, { "/bin/QtXmlPatternsd4.dll" },
{ "/lib/Qt3Supportd4.dll" },
{ "/lib/QtCored4.dll" },
{ "/lib/QtGuid4.dll" },
{ "/lib/QtHelpd4.dll" },
{ "/lib/QtNetworkd4.dll" },
{ "/lib/QtOpenGLd4.dll" },
{ "/lib/QtScriptd4.dll" },
{ "/lib/QtScriptToolsd4.dll" },
{ "/lib/QtSqld4.dll" },
{ "/lib/QtSvgd4.dll" },
{ "/lib/QtTestd4.dll" },
{ "/lib/QtWebKitd4.dll" },
{ "/lib/QtXmld4.dll" },
{ "/lib/QtXmlPatternsd4.dll" },
{ "/plugins/accessible/qtaccessiblecompatwidgetsd4.dll" }, { "/plugins/accessible/qtaccessiblecompatwidgetsd4.dll" },
{ "/plugins/accessible/qtaccessiblewidgetsd4.dll" }, { "/plugins/accessible/qtaccessiblewidgetsd4.dll" },
{ "/plugins/codecs/qcncodecsd4.dll" }, { "/plugins/codecs/qcncodecsd4.dll" },
...@@ -445,26 +432,27 @@ bool patchDebugLibrariesWithQtPath(const char *baseQtPath) ...@@ -445,26 +432,27 @@ bool patchDebugLibrariesWithQtPath(const char *baseQtPath)
{ "/examples/xmlpatterns/filetree/filetree" }, { "/examples/xmlpatterns/filetree/filetree" },
{ "/examples/xmlpatterns/qobjectxmlmodel/qobjectxmlmodel" }, { "/examples/xmlpatterns/qobjectxmlmodel/qobjectxmlmodel" },
{ "/examples/xmlpatterns/recipes/recipes" }, { "/examples/xmlpatterns/recipes/recipes" },
{ "/lib/libQt3Support.so.4.5.0" }, { "/lib/libQt3Support.so" },
{ "/lib/libQtAssistantClient.so.4.5.0" }, { "/lib/libQtAssistantClient.so" },
{ "/lib/libQtCLucene.so.4.5.0" }, { "/lib/libQtCLucene.so" },
{ "/lib/libQtCore.so.4.5.0" }, { "/lib/libQtCore.so" },
{ "/lib/libQtDBus.so.4.5.0" }, { "/lib/libQtDBus.so" },
{ "/lib/libQtDesigner.so.4.5.0" }, { "/lib/libQtDesigner.so" },
{ "/lib/libQtDesignerComponents.so.4.5.0" }, { "/lib/libQtDesignerComponents.so" },
{ "/lib/libQtGui.so.4.5.0" }, { "/lib/libQtGui.so" },
{ "/lib/libQtHelp.so.4.5.0" }, { "/lib/libQtHelp.so" },
{ "/lib/libQtNetwork.so.4.5.0" }, { "/lib/libQtMultimedia.so" },
{ "/lib/libQtOpenGL.so.4.5.0" }, { "/lib/libQtNetwork.so" },
{ "/lib/libQtScript.so.4.5.0" }, { "/lib/libQtOpenGL.so" },
{ "/lib/libQtScriptTools.so.4.5.0" }, { "/lib/libQtScript.so" },
{ "/lib/libQtSql.so.4.5.0" }, { "/lib/libQtScriptTools.so" },
{ "/lib/libQtSvg.so.4.5.0" }, { "/lib/libQtSql.so" },
{ "/lib/libQtTest.so.4.5.0" }, { "/lib/libQtSvg.so" },
{ "/lib/libQtTest.so" },
{ "/lib/libQtUiTools.a" }, { "/lib/libQtUiTools.a" },
{ "/lib/libQtWebKit.so.4.5.0" }, { "/lib/libQtWebKit.so" },
{ "/lib/libQtXml.so.4.5.0" }, { "/lib/libQtXml.so" },
{ "/lib/libQtXmlPatterns.so.4.5.0" }, { "/lib/libQtXmlPatterns.so" },
{ "/plugins/accessible/libqtaccessiblecompatwidgets.so" }, { "/plugins/accessible/libqtaccessiblecompatwidgets.so" },
{ "/plugins/accessible/libqtaccessiblewidgets.so" }, { "/plugins/accessible/libqtaccessiblewidgets.so" },
{ "/plugins/codecs/libqcncodecs.so" }, { "/plugins/codecs/libqcncodecs.so" },
...@@ -572,6 +560,7 @@ const char * const textFileFileNames[] = ...@@ -572,6 +560,7 @@ const char * const textFileFileNames[] =
"/lib/libQtDesigner.prl", "/lib/libQtDesigner.prl",
"/lib/libQtGui.prl", "/lib/libQtGui.prl",
"/lib/libQtHelp.prl", "/lib/libQtHelp.prl",
"/lib/libQtMultimedia.prl",
"/lib/libQtNetwork.prl", "/lib/libQtNetwork.prl",
"/lib/libQtOpenGL.prl", "/lib/libQtOpenGL.prl",
"/lib/libQtScript.prl", "/lib/libQtScript.prl",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment