Репозитории ALT
S: | 4.8.7-alt25 |
5.1: | 4.6.3-alt1.M51.1 |
4.1: | 4.4.3-alt1.M41.1 |
4.0: | 4.3.4-alt5.M40.1 |
3.0: | 4.0.1-alt1 |
+updates: | 4.0.1-alt2 |
+backports: | 4.2.3-alt7.1.M30 |
Группа :: Система/Библиотеки
Пакет: qt4
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: qt-4.0.1-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() )