Ask / Submit

Revision history [back]

click to hide/show revision 1
initial version

posted 2015-10-02 21:52:26 +0300

Localization

Hi, I am trying to get translations working for my app and I have .ts and .qm generated for finnish language. I tried by some instructions and listed the files to .pro file like this:

translations.path = /usr/share/harbour-sailseries/translations translations.files = ../translations/harbour-sailseries_fi.qm

INSTALLS += translations

But the SDK tells me this error during the build / rpm creation:

error: Installed (but unpackaged) file(s) found

Should I also define these files in some other file (spec/yaml?) to get them into rpm packet?

Also I tested that the translations are working when I copied them to /home/nemo/translations and used them from there in the app.

Thanks in advance for help :)

Localization

Hi, I am trying to get translations working for my app and I have .ts and .qm generated for finnish language. I tried by some instructions and listed the files to .pro file like this:

translations.path = /usr/share/harbour-sailseries/translations translations.files = ../translations/harbour-sailseries_fi.qm

INSTALLS += translations

But the SDK tells me this error during the build / rpm creation:

error: Installed (but unpackaged) file(s) found

Should I also define these files in some other file (spec/yaml?) to get them into rpm packet?

Also I tested that the translations are working when I copied them to /home/nemo/translations and used them from there in the app.

Thanks in advance for help :)

Localization

Hi, I am trying to get translations working for my app and I have .ts and .qm generated for finnish language. I tried by some instructions and listed the files to .pro file like this:

translations.path = /usr/share/harbour-sailseries/translations /usr/share/harbour-sailseries/translations

translations.files = ../translations/harbour-sailseries_fi.qm

INSTALLS += translations

But the SDK tells me this error during the build / rpm creation:

error: Installed (but unpackaged) file(s) found

Should I also define these files in some other file (spec/yaml?) to get them into rpm packet?

Also I tested that the translations are working when I copied them to /home/nemo/translations and used them from there in the app.

Thanks in advance for help :)