Группа :: Система/Библиотеки
Пакет: qt4
Главная Изменения Спек Патчи Загрузить Bugs and FR
Патч: qt-4.0.1-alt-assistant-location.patch
--- qt-x11-opensource-src-4.0.1/tools/assistant/lib/qassistantclient.cpp~ 2005-10-21 17:36:52 +0400
+++ qt-x11-opensource-src-4.0.1/tools/assistant/lib/qassistantclient.cpp 2005-10-21 17:42:39 +0400
@@ -28,6 +28,8 @@
#include <qtimer.h>
#include <qfileinfo.h>
#include <qmap.h>
+#include <qlibraryinfo.h>
+#include <qdir.h>
class QAssistantClientPrivate
{
@@ -128,7 +130,8 @@ QAssistantClient::QAssistantClient( cons
: QObject( parent ), host ( "localhost" )
{
if ( path.isEmpty() )
- assistantCommand = "assistant";
+ assistantCommand = QLibraryInfo::location(QLibraryInfo::BinariesPath)
+ + QDir::separator() + QLatin1String("assistant");
else {
QFileInfo fi( path );
if ( fi.isDir() )