たてたてよこよこまるかいてちょん

組み込み関連の情報を共有するためのブログです

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
記事のLicense このブログの記事は特に断りのない限り、引用部分を除いて、以下の CC-BY 4.0でライセンスします。 https://creativecommons.org/licenses/by/4.0/deed.ja ただし、ブログ内にあるコードは、特に断りのない限り、CC-BY 4.0またはMITLicense で利用できるものとします。