diff options
author | Rong-En Fan <rafan@FreeBSD.org> | 2007-07-02 03:33:11 +0000 |
---|---|---|
committer | Rong-En Fan <rafan@FreeBSD.org> | 2007-07-02 03:33:11 +0000 |
commit | 675adc6746a70448b454f4c14accb3309951b126 (patch) | |
tree | e145efb08e1d2703b6742faa7cd815f8236846f1 /emulators/qtemu/files | |
parent | 726a07fa066b1bba3c8fc9913efb2d37d4306047 (diff) |
Notes
Diffstat (limited to 'emulators/qtemu/files')
-rw-r--r-- | emulators/qtemu/files/patch-helpwindow.cpp | 20 | ||||
-rw-r--r-- | emulators/qtemu/files/patch-main.cpp | 11 | ||||
-rw-r--r-- | emulators/qtemu/files/patch-qtemu.pro | 19 |
3 files changed, 50 insertions, 0 deletions
diff --git a/emulators/qtemu/files/patch-helpwindow.cpp b/emulators/qtemu/files/patch-helpwindow.cpp new file mode 100644 index 000000000000..a35138145efb --- /dev/null +++ b/emulators/qtemu/files/patch-helpwindow.cpp @@ -0,0 +1,20 @@ +--- ./helpwindow.cpp.orig Mon Mar 19 15:56:21 2007 ++++ ./helpwindow.cpp Tue Jun 12 13:23:44 2007 +@@ -72,7 +72,7 @@ + return testUrl; + + //check for case when qtemu executable is in bin/ (installed on linux) +- testUrl = QUrl(QCoreApplication::applicationDirPath()+"/../help/" + locale + "/main.htm"); ++ testUrl = QUrl(QCoreApplication::applicationDirPath()+"/../share/doc/qtemu/" + locale + "/main.htm"); + if (QFile::exists(testUrl.toString())) + return testUrl; + } +@@ -88,7 +88,7 @@ + return testUrl; + + //check for case when qtemu executable is in bin/ (installed on linux) +- testUrl = QUrl(QCoreApplication::applicationDirPath()+"/../help/main.htm"); ++ testUrl = QUrl(QCoreApplication::applicationDirPath()+"/../share/doc/qtemu/main.htm"); + if (QFile::exists(testUrl.toString())) + return testUrl; + diff --git a/emulators/qtemu/files/patch-main.cpp b/emulators/qtemu/files/patch-main.cpp new file mode 100644 index 000000000000..d887d5085a0b --- /dev/null +++ b/emulators/qtemu/files/patch-main.cpp @@ -0,0 +1,11 @@ +--- ./main.cpp.orig Mon Mar 19 15:56:21 2007 ++++ ./main.cpp Tue Jun 12 13:17:03 2007 +@@ -45,7 +45,7 @@ + translator.load(path); + else + { +- path = QCoreApplication::applicationDirPath()+"/../translations/qtemu_" + locale + ".qm"; ++ path = QCoreApplication::applicationDirPath()+"/../share/qtemu/translations/qtemu_" + locale + ".qm"; + if (QFile::exists(path)) + translator.load(path); + } diff --git a/emulators/qtemu/files/patch-qtemu.pro b/emulators/qtemu/files/patch-qtemu.pro new file mode 100644 index 000000000000..8f7aa525cabf --- /dev/null +++ b/emulators/qtemu/files/patch-qtemu.pro @@ -0,0 +1,19 @@ +--- ./qtemu.pro.orig Mon Mar 19 15:56:21 2007 ++++ ./qtemu.pro Tue Jun 12 13:17:03 2007 +@@ -21,10 +21,12 @@ + RC_FILE = qtemu.rc + } + TEMPLATE = app +-TRANSLATIONS = translations/template_qtemu.ts \ +- translations/qtemu_de.ts \ ++TRANSLATIONS = translations/qtemu_de.ts \ + translations/qtemu_tr.ts \ + translations/qtemu_ru.ts \ + translations/qtemu_cz.ts \ + translations/qtemu_es.ts +-CONFIG += debug_and_release ++CONFIG += release ++ ++system($$(LOCALBASE)/bin/lupdate-qt4 -verbose qtemu.pro) ++system($$(LOCALBASE)/bin/lrelease-qt4 -verbose qtemu.pro) +\ No newline at end of file |