なんだこれは

はてなダイアリーから移転しました。

KDEの umbrello を日本語にしたかったのでソースからインストールした (未解決)

Umbrello はUMLのツールでヘルプかどこかで言語が選択できる(Linux/Win)だが、macはできない。
Macportでインストールしたからだろうと、ソースからインストールしてみたがやはりできなかった。


とりあえず、やったことのメモ

cmakeがQtを見付けられなかった場合は、
CMAKE_PREFIX_PATH=/opt/local/libexec/qt4
などと設定すればいいらしい。

In order for find_package to be successful, Qt 5 must be found below the CMAKE_PREFIX_PATH, or the Qt5_DIR must be set in the CMake cache to the location of the Qt5WidgetsConfig.cmake file. The easiest way to use CMake is to set the CMAKE_PREFIX_PATH environment variable to the install prefix of Qt 5.

mkdir work
cd work
git clone git://anongit.kde.org/umbrello
cd umbrello/
mkdir build
cd build/
cmake -DCMAKE_INSTALL_PREFIX=$HOME/umbrello -DCMAKE_BUILD_TYPE=Debug -DCMAKE_PREFIX_PATH=/opt/local/libexec/qt4 ../
make
make install
export KDEDIRS=$HOME/umbrello:$KEDIRS
kbuildsycoca4

アンインストールはこうする。

make uninstall