Hi there,
I'm having problems building the new x2goclient:
-----> snip <----- [oli@beteigeuze build (master)]$ qmake ../x2goclient.pro Project MESSAGE: if you want to build x2goplugin you should export X2GO_CLIENT_TARGET=plugin Project MESSAGE: building x2goclient with ldap and cups RCC: Error in '../resources.rcc': Cannot find file 'x2goclient_en.qm' RCC: Error in '../resources.rcc': Cannot find file 'x2goclient_de.qm' RCC: Error in '../resources.rcc': Cannot find file 'x2goclient_fr.qm' RCC: Error in '../resources.rcc': Cannot find file 'x2goclient_nb_no.qm' RCC: Error in '../resources.rcc': Cannot find file 'x2goclient_sv.qm' RCC: Error in '../resources.rcc': Cannot find file 'x2goclient_ru.qm' RCC: Error in '../resources.rcc': Cannot find file 'x2goclient_zh_tw.qm' -----> snip <-----
I don't know much about the qt way of internationalisation, but aren't the qm files actually the "compiled" ones and the ts files the sources?
Like it is with mo and po files? If yes, why is it searching for qm files?
Calling qmake like that is what I'm doing for years now and it worked till 3.99.0.6. I saw in the wiki, that there is now an installation instruction using "make && make install". But I had to patch the Makefile for that. Is there a majority of distros calling the tools lrelease-qt4 and qmake-qt4 or is it just Debian and its sibblings?
Oliver
Hi Oliver,
On Mi 29 Feb 2012 09:51:09 CET Oliver Burger wrote:
I'm having problems building the new x2goclient:
-----> snip <----- [oli@beteigeuze build (master)]$ qmake ../x2goclient.pro Project MESSAGE: if you want to build x2goplugin you should export
X2GO_CLIENT_TARGET=plugin Project MESSAGE: building x2goclient with ldap and cups RCC: Error in '../resources.rcc': Cannot find file 'x2goclient_en.qm' RCC: Error in '../resources.rcc': Cannot find file 'x2goclient_de.qm' RCC: Error in '../resources.rcc': Cannot find file 'x2goclient_fr.qm' RCC: Error in '../resources.rcc': Cannot find file 'x2goclient_nb_no.qm' RCC: Error in '../resources.rcc': Cannot find file 'x2goclient_sv.qm' RCC: Error in '../resources.rcc': Cannot find file 'x2goclient_ru.qm' RCC: Error in '../resources.rcc': Cannot find file 'x2goclient_zh_tw.qm' -----> snip <-----I don't know much about the qt way of internationalisation, but
aren't the qm files actually the "compiled" ones and the ts files
the sources?
The .qm files are created on the fly during compilation, the .ts files
are in Git. The x2goclient_LANG.qm files have been removed from Git,
recently.
Like it is with mo and po files? If yes, why is it searching for qm files?
.qm similar to .mo .ts similar to .po
Calling qmake like that is what I'm doing for years now and it
worked till 3.99.0.6. I saw in the wiki, that there is now an installation instruction
using "make && make install". But I had to patch the Makefile for that.
What did you patch? Send the patch to the mailing list, please.
Is there a majority of distros calling the tools lrelease-qt4 and
qmake-qt4 or is it just Debian and its sibblings?
Please run make && make install on the main Makefile (with your
patch). The main Makefile handles the qmake calls and also the
translation process.
Greets, Mike
--
DAS-NETZWERKTEAM mike gabriel, dorfstr. 27, 24245 barmissen fon: +49 (4302) 281418, fax: +49 (4302) 281419
GnuPG Key ID 0xB588399B mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xf...
Hi Mike, Am 29.02.2012 17:06, schrieb Mike Gabriel:
Is there a majority of distros calling the tools lrelease-qt4 and qmake-qt4 or is it just Debian and its sibblings?
Please run make && make install on the main Makefile (with your patch). The main Makefile handles the qmake calls and also the translation process.
Sorry, I thought it was Mageia specific. In Mageia the qt tools are called qmake instead of qmake-qt4 and lrelease instead of lrelease-qt4. Here is my patch: -----> snip <----- diff -ruN x2goclient_3.99.1.0.orig/config_linux_plugin.sh x2goclient_3.99.1.0/config_linux_plugin.sh --- x2goclient_3.99.1.0.orig/config_linux_plugin.sh 2012-02-22 14:50:58.000000000 +0100 +++ x2goclient_3.99.1.0/config_linux_plugin.sh 2012-02-29 09:03:36.394181499 +0100 @@ -2,4 +2,4 @@ make distclean -X2GO_CLIENT_TARGET=plugin qmake-qt4 +X2GO_CLIENT_TARGET=plugin qmake diff -ruN x2goclient_3.99.1.0.orig/config_linux.sh x2goclient_3.99.1.0/config_linux.sh --- x2goclient_3.99.1.0.orig/config_linux.sh 2012-02-22 14:50:58.000000000 +0100 +++ x2goclient_3.99.1.0/config_linux.sh 2012-02-29 09:03:56.190286552 +0100 @@ -1,4 +1,4 @@ #!/bin/bash make distclean -qmake-qt4 +qmake diff -ruN x2goclient_3.99.1.0.orig/Makefile x2goclient_3.99.1.0/Makefile --- x2goclient_3.99.1.0.orig/Makefile 2012-02-22 14:50:58.000000000 +0100 +++ x2goclient_3.99.1.0/Makefile 2012-02-29 08:58:56.372610802 +0100 @@ -28,13 +28,13 @@ build: build_client build_plugin build_man build_client: - lrelease-qt4 x2goclient.pro - mkdir -p $(CLIENT_DIR) && cd $(CLIENT_DIR) && qmake-qt4 ../x2goclient.pro + lrelease x2goclient.pro + mkdir -p $(CLIENT_DIR) && cd $(CLIENT_DIR) && qmake ../x2goclient.pro cd $(CLIENT_DIR) && $(MAKE) build_plugin: - lrelease-qt4 x2goclient.pro - mkdir -p $(PLUGIN_DIR) && cd $(PLUGIN_DIR) && X2GO_CLIENT_TARGET=plugin qmake-qt4 ../x2goclient.pro + lrelease x2goclient.pro + mkdir -p $(PLUGIN_DIR) && cd $(PLUGIN_DIR) && X2GO_CLIENT_TARGET=plugin qmake ../x2goclient.pro cd $(PLUGIN_DIR) && $(MAKE) build_man: -----> snip <-----