Our first approach was a .bat file ( i think that i still have it
somewhere) for lupdate (change that word with lrelease and you have it
working).
In fact, Trasto is a developer tool, but can be considered an external
tool too. That is, if you have another project, you should be able to
run Trasto on it to check the status of your translations and export
the result to HTML (right now) or other formats (in the future).
IMHO, a normal user under windows (and probably under linux too) will
grab the binary package and install it, including the binary
translation files (.qm). They will not need to run any script to have
HaiQ in their language. What happens with developers or people who
want to build their own HaiQ and have it in their own language? Well,
probably a script will be useful :)
Trasto is intended to be used by translators or people who want to
check the status of translations. Ok, it also allows you to run
lrelease or lupdate, but not as primary functionality.
So, what do everyone think about this?
in my eyes Trasto is meant for developers to update and check
translations. But an automatism or way to create the .qm files
during build/compile is missing currently.
As a first proposal I added two new Makefile targets to haiq.pro:
"make translations" runs lrelease on all ./translations/*.ts
"make clean_translations" removes all .qm files in ./translations/
(under Windows with VS200x of course: "nmake translations")
If this proposal is ok, you can leave it in haiq.pro - otherwise just
remove it. These targets aren't run on each build/compile - so the
current haiq.pro acts as usual - except the point that you can
use the new make targets, if you want.
I hope this proposal could be interesting - for more infos about
how it's implemented you can look here:
http://doc.trolltech.com/4.3/qmake-environment-reference.html#customizing-makefile-output
ciao,
Chris
Are you also experiencing problems with F4 (to go to next
error/warning after compiling)?
At least, i can't make that work under linux. I'm right now focused in
other stuff... but i will try to help you ASAP :)
Cheers,
Jose
> Hi,
> currently I'm missing these features in HaiQ, which sometimes prevent
> the usage of HaiQ - thus I sometimes must switch to my old IDE (FTE)
> - there's no status bar with infos to current column and line number
> - the (for refactoring absolutely essential) removed horizontal/vertical
> splitted editor windows
> - highlighting of functions/methods ( all strings ending with a bracket "(" )
> isn't available - provides a better readability
> Some not sooo important features but missing for the daily work:
> - colors of windows (especially the output window) aren't adjustable
> (I didn't found the source for the output window - if you tell me how
> to find it, I'll try to add settings for it)
> Current problems under Linux:
> - HaiQ reacts very slow for nearly all actions (opening menus,
> word completion, the whole gui is very slow) - it's probably not an
> issue of my machine: I have a Core 2 Duo 2.4 GHz
> and all my other Qt apps behave very different to HaiQ
> - the mainwindow sometimes doesn't restore its size and position
> correctly - in these cases it starts with a size of 200x20 pixels
> - the startup splash screen doesn't work under Linux
> - the source editor color setting for "operators" has no effect
> I'm trying to help fixing the issues and just need some help -
> for the moment I don't know soo much of the HaiQ framework,
> but I'm adaptive
> ciao,
> Chris
>> there's no status bar with infos to current column and line numberThis should not be difficult, and I will add this to my list of things to do when I get back into development>> the (for refactoring absolutely essential) removed horizontal/vertical splitted editor windowsSame, I will do this as well
>> highlighting of functions/methods ( all strings ending with a bracket "(" ) isn't available - provides a better readabilityI think you could do this in system/editor/sourceedit/cpphighlighter.cpp. In fact I borrowed this file from QDevelop, and at some point I took out that feature. You can perhaps figure out how to get it back in.>> colors of windows (especially the output window) aren't adjustable (I didn't found the source for the output window - if you tell me how to find it, I'll try to add settings for it)It's system/shared/haiqlogwindow.cpp
@Jose: Thanks for the search-bugfix ;-) Exactly in the moment you checked
in the fix I told a collegue that this fix will be just a matter of a few hours :-)
...I had to correct myself: it took only minutes ;-)